Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004706/0.004707, allocations: 99.16 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 197 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.389/2.389, allocations: 469.8 MB / 0.7425 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 67.84 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5831/0.5848, allocations: 159.1 MB / 1.22 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1875/0.7723, allocations: 195.1 MB / 1.411 GB, free: 14.24 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01549/0.7878, allocations: 14.32 MB / 1.425 GB, free: 15.88 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005184/0.7884, allocations: 43.75 kB / 1.425 GB, free: 15.84 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.7895, allocations: 0.489 MB / 1.425 GB, free: 15.35 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003373/0.7929, allocations: 1.896 MB / 1.427 GB, free: 13.45 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.7946, allocations: 0.8625 MB / 1.428 GB, free: 12.59 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002447/0.7971, allocations: 2.569 MB / 1.43 GB, free: 10.01 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.7983, allocations: 1.111 MB / 1.432 GB, free: 8.871 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003047/0.8014, allocations: 1.6 MB / 1.433 GB, free: 7.285 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.8025, allocations: 0.9165 MB / 1.434 GB, free: 6.367 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.8027, allocations: 108 kB / 1.434 GB, free: 6.262 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/0.8043, allocations: 1.095 MB / 1.435 GB, free: 5.164 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004496/0.8048, allocations: 0.4988 MB / 1.436 GB, free: 4.664 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005926/0.8054, allocations: 0.6416 MB / 1.436 GB, free: 4.02 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001975/0.8074, allocations: 1.912 MB / 1.438 GB, free: 2.102 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.8074, allocations: 3.984 kB / 1.438 GB, free: 2.098 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.092e-06/0.8074, allocations: 0 / 1.438 GB, free: 2.098 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.8074, allocations: 0 / 1.438 GB, free: 2.098 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.00191/0.8093, allocations: 1.486 MB / 1.44 GB, free: 0.5586 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.8094, allocations: 15.97 kB / 1.44 GB, free: 0.543 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001492/0.8095, allocations: 139.6 kB / 1.44 GB, free: 408 kB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.8107, allocations: 263 kB / 1.44 GB, free: 144 kB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.8118, allocations: 0.7967 MB / 1.441 GB, free: 15.3 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.511e-05/0.8119, allocations: 70 kB / 1.441 GB, free: 15.23 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.812, allocations: 96 kB / 1.441 GB, free: 15.14 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.8136, allocations: 1.169 MB / 1.442 GB, free: 13.89 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.8136, allocations: 7.938 kB / 1.442 GB, free: 13.89 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.159e-05/0.8137, allocations: 47.92 kB / 1.442 GB, free: 13.84 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.084e-05/0.8138, allocations: 34 kB / 1.442 GB, free: 13.81 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.8151, allocations: 0.9015 MB / 1.443 GB, free: 12.9 MB / 1.17 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00505/0.8201, allocations: 5.76 MB / 1.449 GB, free: 6.691 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007801/0.8209, allocations: 0.5403 MB / 1.449 GB, free: 6.141 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004174/0.8213, allocations: 326.5 kB / 1.449 GB, free: 5.816 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005249/0.8219, allocations: 307.7 kB / 1.45 GB, free: 5.461 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.8219, allocations: 38.98 kB / 1.45 GB, free: 5.414 MB / 1.17 GB Notification: Performance of pre-optimization done (n=49): time 1.643e-06/0.8219, allocations: 4 kB / 1.45 GB, free: 5.41 MB / 1.17 GB Notification: Performance of matching and sorting (n=49): time 0.00132/0.8232, allocations: 0.8031 MB / 1.451 GB, free: 4.602 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.8233, allocations: 55.84 kB / 1.451 GB, free: 4.535 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008267/0.8241, allocations: 0.7432 MB / 1.451 GB, free: 3.785 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.452e-05/0.8242, allocations: 41.64 kB / 1.451 GB, free: 3.738 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003619/0.8245, allocations: 0.5234 MB / 1.452 GB, free: 3.207 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.8247, allocations: 186.4 kB / 1.452 GB, free: 3.023 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.8249, allocations: 138.6 kB / 1.452 GB, free: 2.883 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.825, allocations: 345.9 kB / 1.453 GB, free: 2.539 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003518/0.8254, allocations: 245.9 kB / 1.453 GB, free: 2.297 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000599/0.826, allocations: 0.5546 MB / 1.453 GB, free: 1.605 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009382/0.8269, allocations: 0.7917 MB / 1.454 GB, free: 0.707 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.8269, allocations: 4 kB / 1.454 GB, free: 0.7031 MB / 1.17 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001166/0.8281, allocations: 0.8586 MB / 1.455 GB, free: 15.84 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.8281, allocations: 8 kB / 1.455 GB, free: 15.83 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.8282, allocations: 8 kB / 1.455 GB, free: 15.82 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.8282, allocations: 12 kB / 1.455 GB, free: 15.81 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004914/0.8287, allocations: 151.8 kB / 1.455 GB, free: 15.66 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.8287, allocations: 15.98 kB / 1.455 GB, free: 15.65 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005775/0.8293, allocations: 99.75 kB / 1.455 GB, free: 15.55 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.236e-05/0.8293, allocations: 35.98 kB / 1.455 GB, free: 15.52 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00036/0.8297, allocations: 333.4 kB / 1.456 GB, free: 15.18 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.8298, allocations: 91.44 kB / 1.456 GB, free: 15.09 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009154/0.8308, allocations: 0.6179 MB / 1.456 GB, free: 14.46 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.8308, allocations: 4 kB / 1.456 GB, free: 14.46 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.8308, allocations: 4 kB / 1.456 GB, free: 14.45 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006802/0.8315, allocations: 0.5249 MB / 1.457 GB, free: 13.92 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.8336, allocations: 1.675 MB / 1.458 GB, free: 12.16 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.8336, allocations: 0 / 1.458 GB, free: 12.16 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004687/0.8341, allocations: 107.9 kB / 1.459 GB, free: 12.06 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.8341, allocations: 4 kB / 1.459 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.8341, allocations: 12 kB / 1.459 GB, free: 12.04 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.615e-06/0.8341, allocations: 11.94 kB / 1.459 GB, free: 12.03 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.8341, allocations: 4 kB / 1.459 GB, free: 12.03 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.8354, allocations: 1.024 MB / 1.46 GB, free: 10.96 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/0.8356, allocations: 224.5 kB / 1.46 GB, free: 10.73 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.526e-05/0.8357, allocations: 16 kB / 1.46 GB, free: 10.71 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004015/0.8361, allocations: 15.98 kB / 1.46 GB, free: 10.7 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/0.8362, allocations: 35.73 kB / 1.46 GB, free: 10.66 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.459e-05/0.8363, allocations: 20 kB / 1.46 GB, free: 10.64 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005628/0.8368, allocations: 0.5107 MB / 1.46 GB, free: 10.14 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8368, allocations: 0 / 1.46 GB, free: 10.14 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00067/0.8375, allocations: 307.4 kB / 1.461 GB, free: 9.832 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001832/0.8394, allocations: 1.679 MB / 1.462 GB, free: 8.117 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.000847/0.8402, allocations: 0.6045 MB / 1.463 GB, free: 7.516 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.8402, allocations: 0 / 1.463 GB, free: 7.516 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003474/0.8406, allocations: 283.5 kB / 1.463 GB, free: 7.238 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/0.8423, allocations: 449.7 kB / 1.464 GB, free: 6.809 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008192/0.8505, allocations: 7.22 MB / 1.471 GB, free: 15.2 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006804/0.8512, allocations: 1.122 MB / 1.472 GB, free: 14.05 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0006162/0.8518, allocations: 267 kB / 1.472 GB, free: 13.79 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004435/0.8522, allocations: 359.3 kB / 1.472 GB, free: 13.43 MB / 1.201 GB Notification: Performance of SimCode: time 2.31e-07/0.8522, allocations: 0 / 1.472 GB, free: 13.43 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.118/2.97, allocations: 23.1 MB / 1.495 GB, free: 6.691 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.22/19.19, allocations: 0.5938 kB / 1.495 GB, free: 6.691 MB / 1.217 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)