Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.813/1.813, allocations: 288.4 MB / 303.4 MB, free: 8.082 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001178/0.001179, allocations: 180.5 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.776/1.776, allocations: 205.4 MB / 0.6307 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008508/0.0008507, allocations: 82.41 kB / 0.7441 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005823/0.0005823, allocations: 11.75 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2321, allocations: 115.3 MB / 0.9796 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.6397/0.8718, allocations: 177.5 MB / 1.153 GB, free: 9.059 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01861/0.8905, allocations: 13.26 MB / 1.166 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001843/0.8924, allocations: 27.97 kB / 1.166 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001717/0.8941, allocations: 345.5 kB / 1.166 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.005395/0.8995, allocations: 1.373 MB / 1.168 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002451/0.902, allocations: 0.6588 MB / 1.168 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.004496/0.9065, allocations: 3.044 MB / 1.171 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.9081, allocations: 0.8059 MB / 1.172 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003378/0.9114, allocations: 1.209 MB / 1.173 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001821/0.9133, allocations: 0.884 MB / 1.174 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.9134, allocations: 52.12 kB / 1.174 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002/0.9155, allocations: 0.5654 MB / 1.175 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0005538/0.916, allocations: 445.2 kB / 1.175 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0004241/0.9165, allocations: 254 kB / 1.175 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001819/0.9183, allocations: 1.355 MB / 1.177 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.9183, allocations: 0 / 1.177 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9183, allocations: 0.8438 kB / 1.177 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.565e-05/0.9183, allocations: 0 / 1.177 GB, free: 7.57 MB / 0.7136 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.002161/0.9205, allocations: 1.236 MB / 1.178 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.9206, allocations: 10.88 kB / 1.178 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.9219, allocations: 248.4 kB / 1.178 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/0.9235, allocations: 0.821 MB / 1.179 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.386e-05/0.9235, allocations: 68.88 kB / 1.179 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.9237, allocations: 96.94 kB / 1.179 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/0.9254, allocations: 1.167 MB / 1.18 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.9255, allocations: 3.938 kB / 1.18 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.553e-05/0.9256, allocations: 38.81 kB / 1.18 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.275e-05/0.9256, allocations: 36.09 kB / 1.18 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.9269, allocations: 0.8996 MB / 1.181 GB, free: 4.562 MB / 0.7136 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.005896/0.9328, allocations: 5.741 MB / 1.187 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009309/0.9338, allocations: 0.5568 MB / 1.187 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004479/0.9343, allocations: 335.4 kB / 1.188 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006029/0.9349, allocations: 322 kB / 1.188 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.9349, allocations: 44.05 kB / 1.188 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=51): time 2.244e-06/0.9349, allocations: 0 / 1.188 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=51): time 0.001475/0.9364, allocations: 0.8263 MB / 1.189 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.9365, allocations: 83.64 kB / 1.189 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008545/0.9373, allocations: 0.7337 MB / 1.19 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.556e-05/0.9374, allocations: 40.55 kB / 1.19 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003823/0.9378, allocations: 0.5048 MB / 1.19 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.938, allocations: 190 kB / 1.19 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.938, allocations: 15.31 kB / 1.19 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.9381, allocations: 334 kB / 1.191 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003672/0.9385, allocations: 254.8 kB / 1.191 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006848/0.9392, allocations: 0.5779 MB / 1.191 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005501/0.9398, allocations: 358.4 kB / 1.192 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/0.9398, allocations: 6.875 kB / 1.192 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001344/0.9411, allocations: 0.8567 MB / 1.193 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.9412, allocations: 8.781 kB / 1.193 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.9412, allocations: 9.656 kB / 1.193 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.9412, allocations: 11.69 kB / 1.193 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006404/0.9419, allocations: 162.2 kB / 1.193 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.9419, allocations: 18.81 kB / 1.193 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009968/0.9429, allocations: 148.5 kB / 1.193 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.846e-05/0.943, allocations: 35.19 kB / 1.193 GB, free: 11.14 MB / 0.7292 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.0004942/0.9435, allocations: 332.9 kB / 1.193 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.9436, allocations: 94.05 kB / 1.193 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.9446, allocations: 0.6243 MB / 1.194 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.9447, allocations: 5.844 kB / 1.194 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.9447, allocations: 0 / 1.194 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007173/0.9454, allocations: 0.5273 MB / 1.195 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00264/0.948, allocations: 1.772 MB / 1.196 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.9481, allocations: 5.094 kB / 1.196 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005339/0.9486, allocations: 107.6 kB / 1.196 GB, free: 8.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/0.9486, allocations: 9.984 kB / 1.196 GB, free: 8.926 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.52e-05/0.9487, allocations: 20.03 kB / 1.196 GB, free: 8.914 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.9487, allocations: 3.312 kB / 1.196 GB, free: 8.914 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.9487, allocations: 6.469 kB / 1.196 GB, free: 8.91 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.9501, allocations: 1.075 MB / 1.197 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004139/0.9505, allocations: 232.1 kB / 1.198 GB, free: 8.055 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.9506, allocations: 16.61 kB / 1.198 GB, free: 8.043 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005738/0.9512, allocations: 57.8 kB / 1.198 GB, free: 8.02 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.9513, allocations: 39.38 kB / 1.198 GB, free: 7.996 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.254e-05/0.9513, allocations: 26.02 kB / 1.198 GB, free: 7.984 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006706/0.952, allocations: 0.5033 MB / 1.198 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.994e-06/0.952, allocations: 0 / 1.198 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009754/0.953, allocations: 304.9 kB / 1.199 GB, free: 7.633 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],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.0004958/0.9535, allocations: 212 kB / 1.199 GB, free: 7.484 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009677/0.9545, allocations: 0.622 MB / 1.199 GB, free: 7.203 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.9545, allocations: 3.25 kB / 1.199 GB, free: 7.203 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003534/0.9549, allocations: 274.4 kB / 1.2 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/0.9569, allocations: 439.8 kB / 1.2 GB, free: 6.871 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003313/0.9603, allocations: 2.393 MB / 1.202 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007078/0.961, allocations: 1.119 MB / 1.204 GB, free: 4.32 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0009793/0.962, allocations: 276.8 kB / 1.204 GB, free: 4.199 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.9622, allocations: 76.8 kB / 1.204 GB, free: 4.156 MB / 0.7292 GB Notification: Performance of SimCode: time 4.81e-07/0.9622, allocations: 0 / 1.204 GB, free: 4.156 MB / 0.7292 GB Notification: Performance of Templates: time 0.0257/0.9879, allocations: 14.87 MB / 1.218 GB, free: 5.496 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)