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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.061/3.061, allocations: 287.5 MB / 302.4 MB, free: 8.375 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.001577/0.001576, allocations: 188.5 kB / 371 MB, free: 10.88 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.276/2.276, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.001023/0.001022, allocations: 106.5 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004869/0.0004871, allocations: 12.66 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2221, allocations: 115.3 MB / 0.9785 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.9792/1.201, allocations: 177.5 MB / 1.152 GB, free: 9.18 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02822/1.23, allocations: 13.27 MB / 1.165 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001667/1.231, allocations: 27.25 kB / 1.165 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00204/1.233, allocations: 350.4 kB / 1.165 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.006403/1.24, allocations: 1.373 MB / 1.166 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003523/1.243, allocations: 0.6651 MB / 1.167 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.006054/1.25, allocations: 3.052 MB / 1.17 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002135/1.252, allocations: 0.805 MB / 1.171 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004552/1.256, allocations: 1.197 MB / 1.172 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002787/1.259, allocations: 0.8833 MB / 1.173 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0004054/1.26, allocations: 47.81 kB / 1.173 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003489/1.263, allocations: 0.5707 MB / 1.174 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001177/1.264, allocations: 443.3 kB / 1.174 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0008082/1.265, allocations: 255.7 kB / 1.174 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003393/1.269, allocations: 1.359 MB / 1.176 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/1.269, allocations: 0 / 1.176 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.307e-06/1.269, allocations: 0 / 1.176 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.965e-05/1.269, allocations: 0 / 1.176 GB, free: 8.371 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.003802/1.273, allocations: 1.238 MB / 1.177 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/1.273, allocations: 9.094 kB / 1.177 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004735/1.273, allocations: 150.2 kB / 1.177 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002183/1.275, allocations: 248 kB / 1.177 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002972/1.278, allocations: 0.8216 MB / 1.178 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.773e-05/1.279, allocations: 75.52 kB / 1.178 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002522/1.279, allocations: 94.53 kB / 1.178 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003243/1.282, allocations: 1.163 MB / 1.179 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.463e-05/1.282, allocations: 6.875 kB / 1.179 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002018/1.282, allocations: 39.52 kB / 1.179 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.947e-05/1.282, allocations: 36.88 kB / 1.179 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002827/1.285, allocations: 0.9019 MB / 1.18 GB, free: 5.246 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.01023/1.296, allocations: 5.738 MB / 1.186 GB, free: 20 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/1.297, allocations: 0.563 MB / 1.186 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007265/1.298, allocations: 332.2 kB / 1.187 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009632/1.299, allocations: 331.9 kB / 1.187 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.006e-05/1.299, allocations: 38.06 kB / 1.187 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=51): time 2.946e-06/1.299, allocations: 0 / 1.187 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of matching and sorting (n=51): time 0.002684/1.302, allocations: 0.8172 MB / 1.188 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.619e-05/1.302, allocations: 83.33 kB / 1.188 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/1.303, allocations: 0.7413 MB / 1.189 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002007/1.303, allocations: 47.11 kB / 1.189 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005535/1.304, allocations: 0.5018 MB / 1.189 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002803/1.304, allocations: 185.9 kB / 1.189 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.585e-05/1.304, allocations: 15.19 kB / 1.189 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.305, allocations: 333.6 kB / 1.19 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000657/1.305, allocations: 248 kB / 1.19 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/1.306, allocations: 0.5857 MB / 1.19 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008556/1.307, allocations: 349.6 kB / 1.191 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/1.307, allocations: 0 / 1.191 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002233/1.309, allocations: 0.8634 MB / 1.192 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/1.31, allocations: 9 kB / 1.192 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/1.31, allocations: 7.812 kB / 1.192 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.166e-05/1.31, allocations: 11.06 kB / 1.192 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/1.311, allocations: 162 kB / 1.192 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-05/1.311, allocations: 14.81 kB / 1.192 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/1.312, allocations: 144.8 kB / 1.192 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.412e-05/1.313, allocations: 35.19 kB / 1.192 GB, free: 11.83 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.0007398/1.313, allocations: 332.7 kB / 1.192 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002509/1.314, allocations: 94.05 kB / 1.192 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/1.315, allocations: 0.6241 MB / 1.193 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/1.315, allocations: 9.125 kB / 1.193 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/1.315, allocations: 2.906 kB / 1.193 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001166/1.317, allocations: 0.5255 MB / 1.194 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004334/1.321, allocations: 1.762 MB / 1.195 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/1.321, allocations: 4.031 kB / 1.195 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/1.322, allocations: 117.7 kB / 1.195 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.515e-05/1.322, allocations: 5.719 kB / 1.195 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.605e-05/1.322, allocations: 21.62 kB / 1.195 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.235e-06/1.322, allocations: 5.094 kB / 1.195 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/1.322, allocations: 7.984 kB / 1.195 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002395/1.324, allocations: 1.082 MB / 1.196 GB, free: 8.934 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007052/1.325, allocations: 236.1 kB / 1.197 GB, free: 8.734 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/1.325, allocations: 13.5 kB / 1.197 GB, free: 8.727 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/1.326, allocations: 60.72 kB / 1.197 GB, free: 8.699 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/1.327, allocations: 36.48 kB / 1.197 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.086e-05/1.327, allocations: 21.02 kB / 1.197 GB, free: 8.672 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001016/1.328, allocations: 0.5076 MB / 1.197 GB, free: 8.379 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.71e-07/1.328, allocations: 0 / 1.197 GB, free: 8.379 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001314/1.329, allocations: 303.2 kB / 1.198 GB, free: 8.316 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.003071/1.332, allocations: 1.726 MB / 1.199 GB, free: 7.066 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001585/1.334, allocations: 0.6217 MB / 1.2 GB, free: 6.781 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.334, allocations: 0 / 1.2 GB, free: 6.781 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006531/1.334, allocations: 280.3 kB / 1.2 GB, free: 6.656 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003755/1.338, allocations: 445.8 kB / 1.201 GB, free: 6.438 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/1.352, allocations: 5.674 MB / 1.206 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/1.353, allocations: 1.126 MB / 1.207 GB, free: 332 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001722/1.354, allocations: 279.2 kB / 1.208 GB, free: 48 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009351/1.355, allocations: 363.4 kB / 1.208 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of SimCode: time 1.042e-06/1.355, allocations: 0 / 1.208 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09564/1.451, allocations: 23.31 MB / 1.231 GB, free: 8.68 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003434/1.451, allocations: 220.5 kB / 1.231 GB, free: 8.441 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.442/4.893, allocations: 0 / 1.231 GB, free: 8.441 MB / 0.7605 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)