Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_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.002023/0.002024, allocations: 95.88 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002036/0.002036, allocations: 176.8 kB / 16.57 MB, free: 6.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.283/2.283, allocations: 223.2 MB / 240.5 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.232/1.232, allocations: 113.7 MB / 405.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006913/0.0006916, allocations: 8 kB / 493 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3522, allocations: 77.12 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 1.142/1.494, allocations: 161.8 MB / 0.7147 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02973/1.524, allocations: 12.17 MB / 0.7266 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002689/1.527, allocations: 27.81 kB / 0.7266 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003332/1.53, allocations: 497.7 kB / 0.7271 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.009551/1.54, allocations: 1.558 MB / 0.7286 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005929/1.546, allocations: 0.9461 MB / 0.7295 GB, free: 9.129 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006337/1.552, allocations: 1.477 MB / 0.731 GB, free: 7.648 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003493/1.556, allocations: 0.8267 MB / 0.7318 GB, free: 6.812 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006153/1.562, allocations: 1.106 MB / 0.7329 GB, free: 5.703 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002747/1.565, allocations: 0.6189 MB / 0.7335 GB, free: 5.082 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003731/1.565, allocations: 48 kB / 0.7335 GB, free: 5.035 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003636/1.569, allocations: 0.5421 MB / 0.734 GB, free: 4.492 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0009776/1.57, allocations: 411 kB / 0.7344 GB, free: 4.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000898/1.571, allocations: 257.1 kB / 0.7347 GB, free: 3.832 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003494/1.574, allocations: 1.308 MB / 0.7359 GB, free: 2.527 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.829e-06/1.574, allocations: 0 / 0.7359 GB, free: 2.527 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.389e-06/1.574, allocations: 3.938 kB / 0.736 GB, free: 2.523 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.825e-05/1.574, allocations: 0 / 0.736 GB, free: 2.523 MB / 0.545 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.004058/1.578, allocations: 1.235 MB / 0.7372 GB, free: 1.234 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.324e-05/1.578, allocations: 8.031 kB / 0.7372 GB, free: 1.227 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004069/1.579, allocations: 151.5 kB / 0.7373 GB, free: 1.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002465/1.581, allocations: 254.3 kB / 0.7376 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002908/1.584, allocations: 0.742 MB / 0.7383 GB, free: 40 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002103/1.584, allocations: 74.08 kB / 0.7383 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002325/1.585, allocations: 92 kB / 0.7384 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003117/1.588, allocations: 1.169 MB / 0.7396 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.312e-05/1.588, allocations: 0 / 0.7396 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/1.588, allocations: 39.95 kB / 0.7396 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-05/1.588, allocations: 34 kB / 0.7396 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002484/1.591, allocations: 0.9093 MB / 0.7405 GB, free: 13.66 MB / 0.5606 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.01183/1.602, allocations: 5.743 MB / 0.7461 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/1.604, allocations: 0.5781 MB / 0.7467 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006928/1.605, allocations: 141.5 kB / 0.7468 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.621e-05/1.605, allocations: 50.92 kB / 0.7469 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=51): time 6.792e-06/1.605, allocations: 0 / 0.7469 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of matching and sorting (n=51): time 0.003275/1.608, allocations: 0.8221 MB / 0.7477 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/1.608, allocations: 81.55 kB / 0.7478 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001969/1.61, allocations: 0.7547 MB / 0.7485 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001719/1.611, allocations: 37.7 kB / 0.7485 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007561/1.611, allocations: 0.4989 MB / 0.749 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004019/1.612, allocations: 185.4 kB / 0.7492 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.358e-05/1.612, allocations: 12 kB / 0.7492 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0003114/1.612, allocations: 337.9 kB / 0.7495 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000679/1.613, allocations: 257.8 kB / 0.7498 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/1.614, allocations: 0.5692 MB / 0.7503 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009395/1.615, allocations: 360.6 kB / 0.7507 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.375e-05/1.615, allocations: 4 kB / 0.7507 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002656/1.618, allocations: 0.8622 MB / 0.7515 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.486e-05/1.618, allocations: 8 kB / 0.7515 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.34e-05/1.618, allocations: 13.25 kB / 0.7516 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.875e-05/1.618, allocations: 12 kB / 0.7516 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/1.619, allocations: 163.7 kB / 0.7517 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-05/1.619, allocations: 15.94 kB / 0.7517 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/1.621, allocations: 155 kB / 0.7519 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/1.621, allocations: 35.94 kB / 0.7519 GB, free: 1.293 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001051/1.622, allocations: 337.4 kB / 0.7522 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003973/1.622, allocations: 82.97 kB / 0.7523 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/1.624, allocations: 0.6378 MB / 0.7529 GB, free: 236 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/1.624, allocations: 8 kB / 0.753 GB, free: 228 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/1.625, allocations: 4 kB / 0.753 GB, free: 224 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001355/1.626, allocations: 0.5289 MB / 0.7535 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005543/1.631, allocations: 1.773 MB / 0.7552 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/1.632, allocations: 4 kB / 0.7552 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000905/1.632, allocations: 107.9 kB / 0.7553 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.43e-05/1.632, allocations: 4 kB / 0.7553 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.457e-05/1.633, allocations: 19.95 kB / 0.7553 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.891e-05/1.633, allocations: 7.938 kB / 0.7553 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/1.633, allocations: 4 kB / 0.7553 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002699/1.635, allocations: 1.133 MB / 0.7564 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009776/1.636, allocations: 235.9 kB / 0.7567 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/1.637, allocations: 16 kB / 0.7567 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/1.638, allocations: 72.44 kB / 0.7568 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/1.638, allocations: 31.92 kB / 0.7568 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.479e-05/1.638, allocations: 19.98 kB / 0.7568 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001429/1.639, allocations: 0.5107 MB / 0.7573 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.9e-07/1.639, allocations: 0 / 0.7573 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002135/1.641, allocations: 303.4 kB / 0.7576 GB, free: 11.27 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004405/1.646, allocations: 2.336 MB / 0.7599 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001945/1.648, allocations: 0.62 MB / 0.7605 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/1.648, allocations: 8 kB / 0.7605 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000701/1.649, allocations: 275.7 kB / 0.7608 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003861/1.653, allocations: 429 kB / 0.7612 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0183/1.671, allocations: 10.79 MB / 0.7717 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/1.672, allocations: 1.142 MB / 0.7728 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001803/1.674, allocations: 279.2 kB / 0.7731 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008703/1.675, allocations: 371.3 kB / 0.7734 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of SimCode: time 1.924e-06/1.675, allocations: 0 / 0.7734 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08606/1.761, allocations: 23.32 MB / 0.7962 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003658/1.762, allocations: 207 kB / 0.7964 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.222/5.983, allocations: 0 / 0.7964 GB, free: 3.473 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) Environment - environmentSimulation: