Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.609/2.609, allocations: 287.5 MB / 302.4 MB, free: 8.254 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.001418/0.001418, allocations: 192.3 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.272/2.272, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.001316/0.001315, allocations: 88.91 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004942/0.0004943, allocations: 17.8 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.218, allocations: 115.3 MB / 0.9783 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.9761/1.194, allocations: 177.5 MB / 1.152 GB, free: 9.184 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02809/1.222, allocations: 13.28 MB / 1.165 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/1.224, allocations: 28.25 kB / 1.165 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00212/1.226, allocations: 345.6 kB / 1.165 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.00659/1.233, allocations: 1.377 MB / 1.166 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003464/1.236, allocations: 0.6672 MB / 1.167 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00597/1.242, allocations: 3.036 MB / 1.17 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002032/1.244, allocations: 0.8111 MB / 1.171 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004371/1.249, allocations: 1.208 MB / 1.172 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002698/1.252, allocations: 0.8835 MB / 1.173 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0003557/1.252, allocations: 47.31 kB / 1.173 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003181/1.255, allocations: 0.5748 MB / 1.173 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001003/1.256, allocations: 443.2 kB / 1.174 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0007673/1.257, allocations: 251.6 kB / 1.174 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003196/1.26, allocations: 1.351 MB / 1.175 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/1.26, allocations: 1 kB / 1.175 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.336e-06/1.26, allocations: 0 / 1.175 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.992e-05/1.26, allocations: 0 / 1.175 GB, free: 8.492 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.003649/1.264, allocations: 1.239 MB / 1.177 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/1.264, allocations: 9.594 kB / 1.177 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002184/1.266, allocations: 250.8 kB / 1.177 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002751/1.269, allocations: 0.8234 MB / 1.178 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.264e-05/1.269, allocations: 68.38 kB / 1.178 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002394/1.269, allocations: 93.97 kB / 1.178 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002877/1.272, allocations: 1.167 MB / 1.179 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.016e-05/1.272, allocations: 3.938 kB / 1.179 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/1.273, allocations: 42.88 kB / 1.179 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.596e-05/1.273, allocations: 36.77 kB / 1.179 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002278/1.275, allocations: 0.8918 MB / 1.18 GB, free: 5.488 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.009614/1.285, allocations: 5.746 MB / 1.186 GB, free: 260 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/1.286, allocations: 0.5606 MB / 1.186 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007177/1.287, allocations: 333.2 kB / 1.186 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009901/1.288, allocations: 324.2 kB / 1.187 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/1.288, allocations: 37.62 kB / 1.187 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=51): time 6.201e-06/1.288, allocations: 0 / 1.187 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=51): time 0.002532/1.29, allocations: 0.8257 MB / 1.188 GB, free: 15 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.8e-05/1.291, allocations: 93.39 kB / 1.188 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/1.292, allocations: 0.7358 MB / 1.188 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001459/1.292, allocations: 38.27 kB / 1.188 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005693/1.293, allocations: 0.5057 MB / 1.189 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002909/1.293, allocations: 182 kB / 1.189 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.428e-05/1.293, allocations: 15.22 kB / 1.189 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001851/1.293, allocations: 333.5 kB / 1.189 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006671/1.294, allocations: 248.4 kB / 1.19 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/1.295, allocations: 0.5779 MB / 1.19 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000873/1.296, allocations: 361.2 kB / 1.191 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/1.296, allocations: 6.938 kB / 1.191 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002218/1.298, allocations: 0.8656 MB / 1.191 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/1.298, allocations: 10.12 kB / 1.191 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/1.298, allocations: 8.281 kB / 1.191 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.323e-05/1.298, allocations: 13.03 kB / 1.191 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/1.299, allocations: 159.7 kB / 1.192 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.741e-05/1.299, allocations: 15.06 kB / 1.192 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/1.301, allocations: 144.5 kB / 1.192 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/1.301, allocations: 38.38 kB / 1.192 GB, free: 12.06 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.0007883/1.302, allocations: 330.3 kB / 1.192 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002676/1.302, allocations: 88.55 kB / 1.192 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/1.304, allocations: 0.6354 MB / 1.193 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/1.304, allocations: 5.594 kB / 1.193 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.304, allocations: 2.656 kB / 1.193 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001177/1.305, allocations: 0.5251 MB / 1.193 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004364/1.31, allocations: 1.77 MB / 1.195 GB, free: 9.867 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/1.31, allocations: 2.5 kB / 1.195 GB, free: 9.867 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/1.311, allocations: 114.5 kB / 1.195 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/1.311, allocations: 3.312 kB / 1.195 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.847e-05/1.311, allocations: 15.56 kB / 1.195 GB, free: 9.836 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.177e-05/1.311, allocations: 11.03 kB / 1.195 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.311, allocations: 2.906 kB / 1.195 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002417/1.313, allocations: 1.082 MB / 1.196 GB, free: 9.164 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000814/1.314, allocations: 232 kB / 1.196 GB, free: 8.969 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/1.314, allocations: 17.17 kB / 1.196 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/1.315, allocations: 58.8 kB / 1.197 GB, free: 8.934 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/1.316, allocations: 39.62 kB / 1.197 GB, free: 8.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.563e-05/1.316, allocations: 22.02 kB / 1.197 GB, free: 8.902 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001031/1.317, allocations: 0.5029 MB / 1.197 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.91e-07/1.317, allocations: 3.938 kB / 1.197 GB, free: 8.609 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00147/1.318, allocations: 300.7 kB / 1.197 GB, free: 8.551 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.0006722/1.319, allocations: 203.1 kB / 1.198 GB, free: 8.406 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001683/1.321, allocations: 0.6245 MB / 1.198 GB, free: 8.121 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.321, allocations: 2.562 kB / 1.198 GB, free: 8.121 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006225/1.321, allocations: 272 kB / 1.198 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004036/1.325, allocations: 444.4 kB / 1.199 GB, free: 7.785 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005247/1.331, allocations: 2.386 MB / 1.201 GB, free: 6.141 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009871/1.332, allocations: 1.121 MB / 1.202 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001609/1.333, allocations: 284.4 kB / 1.203 GB, free: 5.113 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003237/1.334, allocations: 77.89 kB / 1.203 GB, free: 5.098 MB / 0.7292 GB Notification: Performance of SimCode: time 1.072e-06/1.334, allocations: 0 / 1.203 GB, free: 5.098 MB / 0.7292 GB Notification: Performance of Templates: time 0.05069/1.384, allocations: 14.85 MB / 1.217 GB, free: 6.605 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)