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 2.74/2.74, allocations: 287.3 MB / 302.3 MB, free: 8.336 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.001658/0.001658, allocations: 188.2 kB / 370.8 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.175/2.175, allocations: 205.4 MB / 0.6295 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.001134/0.001135, allocations: 97.06 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006496/0.0006495, allocations: 17.25 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2357, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.9984/1.234, allocations: 161.8 MB / 1.136 GB, free: 15.47 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02552/1.26, allocations: 12.15 MB / 1.148 GB, free: 10.91 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00175/1.262, allocations: 26.28 kB / 1.148 GB, free: 10.9 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002875/1.264, allocations: 0.4983 MB / 1.149 GB, free: 10.57 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008122/1.273, allocations: 1.526 MB / 1.15 GB, free: 9.336 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005211/1.278, allocations: 0.9549 MB / 1.151 GB, free: 8.664 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004418/1.282, allocations: 1.465 MB / 1.152 GB, free: 7.723 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002327/1.285, allocations: 0.831 MB / 1.153 GB, free: 7.242 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004535/1.289, allocations: 1.105 MB / 1.154 GB, free: 6.535 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002235/1.292, allocations: 0.6222 MB / 1.155 GB, free: 6.18 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004178/1.292, allocations: 48.78 kB / 1.155 GB, free: 6.18 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003129/1.295, allocations: 0.5335 MB / 1.156 GB, free: 5.965 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001111/1.296, allocations: 405 kB / 1.156 GB, free: 5.734 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008662/1.297, allocations: 259.2 kB / 1.156 GB, free: 5.594 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003502/1.301, allocations: 1.303 MB / 1.157 GB, free: 4.742 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/1.301, allocations: 0 / 1.157 GB, free: 4.742 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.915e-06/1.301, allocations: 0 / 1.157 GB, free: 4.742 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.876e-05/1.301, allocations: 4 kB / 1.157 GB, free: 4.738 MB / 0.698 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.004123/1.305, allocations: 1.228 MB / 1.159 GB, free: 3.781 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/1.305, allocations: 18.06 kB / 1.159 GB, free: 3.773 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005458/1.306, allocations: 146 kB / 1.159 GB, free: 3.656 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002428/1.308, allocations: 259.2 kB / 1.159 GB, free: 3.535 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002992/1.311, allocations: 0.7474 MB / 1.16 GB, free: 2.969 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/1.311, allocations: 69.06 kB / 1.16 GB, free: 2.938 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003484/1.312, allocations: 96.66 kB / 1.16 GB, free: 2.906 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003432/1.315, allocations: 1.156 MB / 1.161 GB, free: 2.137 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.817e-05/1.315, allocations: 1.594 kB / 1.161 GB, free: 2.137 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001517/1.315, allocations: 41.25 kB / 1.161 GB, free: 2.105 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.271e-05/1.315, allocations: 36.7 kB / 1.161 GB, free: 2.098 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002953/1.318, allocations: 0.9007 MB / 1.162 GB, free: 1.656 MB / 0.698 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.01139/1.33, allocations: 5.729 MB / 1.168 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/1.332, allocations: 0.5854 MB / 1.168 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006764/1.332, allocations: 144.3 kB / 1.168 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.213e-05/1.332, allocations: 42.28 kB / 1.168 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=51): time 2.825e-06/1.332, allocations: 0 / 1.168 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=51): time 0.003002/1.335, allocations: 0.8226 MB / 1.169 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.421e-05/1.336, allocations: 91.25 kB / 1.169 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/1.337, allocations: 0.739 MB / 1.17 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002037/1.338, allocations: 43.11 kB / 1.17 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005889/1.338, allocations: 0.5006 MB / 1.171 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003829/1.339, allocations: 184.5 kB / 1.171 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.385e-05/1.339, allocations: 14.94 kB / 1.171 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001913/1.339, allocations: 337.8 kB / 1.171 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007224/1.34, allocations: 251.6 kB / 1.171 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/1.341, allocations: 0.5734 MB / 1.172 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009803/1.342, allocations: 351.8 kB / 1.172 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/1.342, allocations: 10.38 kB / 1.172 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00244/1.344, allocations: 0.858 MB / 1.173 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/1.344, allocations: 10.03 kB / 1.173 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/1.344, allocations: 7.469 kB / 1.173 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.337e-05/1.344, allocations: 13.12 kB / 1.173 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/1.346, allocations: 153.8 kB / 1.173 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.269e-05/1.346, allocations: 20.8 kB / 1.173 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/1.348, allocations: 136.4 kB / 1.173 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/1.348, allocations: 40.48 kB / 1.173 GB, free: 8.594 MB / 0.7136 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.0009132/1.349, allocations: 331 kB / 1.174 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000345/1.349, allocations: 94.8 kB / 1.174 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/1.351, allocations: 0.6362 MB / 1.174 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/1.351, allocations: 4.531 kB / 1.174 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/1.351, allocations: 0 / 1.174 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001253/1.352, allocations: 0.5193 MB / 1.175 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004839/1.357, allocations: 1.767 MB / 1.177 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/1.357, allocations: 2.562 kB / 1.177 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/1.358, allocations: 122.7 kB / 1.177 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-05/1.358, allocations: 2.625 kB / 1.177 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.933e-05/1.358, allocations: 19.89 kB / 1.177 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.188e-06/1.358, allocations: 6.906 kB / 1.177 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.358, allocations: 2.281 kB / 1.177 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002593/1.361, allocations: 1.179 MB / 1.178 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008093/1.362, allocations: 221.6 kB / 1.178 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000226/1.362, allocations: 19.39 kB / 1.178 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/1.363, allocations: 68.03 kB / 1.178 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/1.364, allocations: 38.23 kB / 1.178 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.567e-05/1.364, allocations: 21.36 kB / 1.178 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001089/1.365, allocations: 0.5055 MB / 1.179 GB, free: 5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.91e-07/1.365, allocations: 2.812 kB / 1.179 GB, free: 5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001732/1.367, allocations: 297.9 kB / 1.179 GB, free: 4.941 MB / 0.7136 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.005761/1.372, allocations: 2.368 MB / 1.181 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002588/1.375, allocations: 0.6174 MB / 1.182 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/1.375, allocations: 0 / 1.182 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006926/1.376, allocations: 277.7 kB / 1.182 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003953/1.38, allocations: 430.6 kB / 1.183 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0185/1.398, allocations: 10.75 MB / 1.193 GB, free: 9.551 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/1.399, allocations: 1.136 MB / 1.194 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001714/1.401, allocations: 280.3 kB / 1.195 GB, free: 8.508 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/1.402, allocations: 370 kB / 1.195 GB, free: 8.207 MB / 0.7292 GB Notification: Performance of SimCode: time 1.303e-06/1.402, allocations: 0 / 1.195 GB, free: 8.207 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08096/1.483, allocations: 23.3 MB / 1.218 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003934/1.484, allocations: 218.9 kB / 1.218 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.649/5.132, allocations: 0 / 1.218 GB, free: 2.938 MB / 0.7448 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)