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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 182.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.518/0.518, allocations: 91.98 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.751/1.751, allocations: 223.1 MB / 354.3 MB, free: 12.24 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001251, allocations: 100.2 kB / 427.3 MB, free: 3.918 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004145/0.0004145, allocations: 8 kB / 0.4983 GB, free: 42.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.1994, allocations: 72.3 MB / 0.5689 GB, free: 1.863 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.524/5.723, allocations: 1.926 GB / 2.495 GB, free: 205.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/5.724, allocations: 94.52 kB / 2.495 GB, free: 205.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.334/8.058, allocations: 0.6669 GB / 3.162 GB, free: 87.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.985e-06/8.058, allocations: 0.9062 kB / 3.162 GB, free: 87.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001209/8.058, allocations: 30.62 kB / 3.162 GB, free: 87.66 MB / 0.6198 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.004974/8.063, allocations: 1.471 MB / 3.164 GB, free: 87.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.605e-05/8.063, allocations: 10.38 kB / 3.164 GB, free: 87.21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003769/8.063, allocations: 143.9 kB / 3.164 GB, free: 87.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002319/8.066, allocations: 252.8 kB / 3.164 GB, free: 87.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004763/8.071, allocations: 1.124 MB / 3.165 GB, free: 86.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/8.071, allocations: 70.38 kB / 3.165 GB, free: 86.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002611/8.071, allocations: 98.52 kB / 3.165 GB, free: 86.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00282/8.074, allocations: 1.116 MB / 3.166 GB, free: 86.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.849e-05/8.074, allocations: 5.875 kB / 3.166 GB, free: 86.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/8.074, allocations: 46.19 kB / 3.166 GB, free: 86.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-05/8.074, allocations: 36.36 kB / 3.166 GB, free: 86.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002555/8.077, allocations: 0.8469 MB / 3.167 GB, free: 86.61 MB / 0.6198 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.008668/8.085, allocations: 5.696 MB / 3.173 GB, free: 82.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/8.087, allocations: 0.5386 MB / 3.173 GB, free: 82.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000746/8.087, allocations: 311.6 kB / 3.174 GB, free: 82.63 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/8.088, allocations: 38.5 kB / 3.174 GB, free: 82.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=49): time 3.036e-06/8.088, allocations: 0 / 3.174 GB, free: 82.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49): time 0.002467/8.09, allocations: 0.785 MB / 3.174 GB, free: 82.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/8.09, allocations: 67.17 kB / 3.174 GB, free: 82.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/8.091, allocations: 0.6587 MB / 3.175 GB, free: 82.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.563e-05/8.091, allocations: 36.23 kB / 3.175 GB, free: 82.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004087/8.092, allocations: 0.5017 MB / 3.176 GB, free: 82.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/8.092, allocations: 175.3 kB / 3.176 GB, free: 82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/8.092, allocations: 14.69 kB / 3.176 GB, free: 82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.356e-05/8.092, allocations: 335.4 kB / 3.176 GB, free: 81.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005723/8.093, allocations: 237.5 kB / 3.176 GB, free: 81.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008601/8.094, allocations: 0.5747 MB / 3.177 GB, free: 81.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008157/8.094, allocations: 349.6 kB / 3.177 GB, free: 81.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/8.094, allocations: 2.375 kB / 3.177 GB, free: 81.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002073/8.097, allocations: 0.841 MB / 3.178 GB, free: 81.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/8.097, allocations: 9.844 kB / 3.178 GB, free: 81.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/8.097, allocations: 9.062 kB / 3.178 GB, free: 81.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.934e-05/8.097, allocations: 14.5 kB / 3.178 GB, free: 81.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009106/8.098, allocations: 149 kB / 3.178 GB, free: 81.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-05/8.098, allocations: 19.81 kB / 3.178 GB, free: 81.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/8.099, allocations: 148.6 kB / 3.178 GB, free: 81.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.863e-05/8.099, allocations: 36.95 kB / 3.178 GB, free: 81.18 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * 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.0007136/8.1, allocations: 337.8 kB / 3.179 GB, free: 81.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/8.1, allocations: 86.03 kB / 3.179 GB, free: 81.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001458/8.102, allocations: 0.6068 MB / 3.179 GB, free: 80.97 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/8.102, allocations: 12.91 kB / 3.179 GB, free: 80.97 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/8.102, allocations: 0 / 3.179 GB, free: 80.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001081/8.103, allocations: 0.5141 MB / 3.18 GB, free: 80.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00401/8.107, allocations: 1.656 MB / 3.182 GB, free: 80.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/8.107, allocations: 2.953 kB / 3.182 GB, free: 80.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000987/8.108, allocations: 109.5 kB / 3.182 GB, free: 80.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.999e-05/8.108, allocations: 7.453 kB / 3.182 GB, free: 80.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-05/8.108, allocations: 15.41 kB / 3.182 GB, free: 80.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.217e-05/8.108, allocations: 3.719 kB / 3.182 GB, free: 80.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/8.108, allocations: 2.75 kB / 3.182 GB, free: 80.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/8.11, allocations: 1.084 MB / 3.183 GB, free: 80.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006939/8.111, allocations: 228.8 kB / 3.183 GB, free: 80.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000235/8.111, allocations: 13.14 kB / 3.183 GB, free: 80.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/8.112, allocations: 65.97 kB / 3.183 GB, free: 80.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/8.113, allocations: 36.17 kB / 3.183 GB, free: 80.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-05/8.113, allocations: 17.95 kB / 3.183 GB, free: 80.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001198/8.114, allocations: 0.5069 MB / 3.184 GB, free: 79.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.81e-07/8.114, allocations: 0 / 3.184 GB, free: 79.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003041/8.117, allocations: 484.1 kB / 3.184 GB, free: 79.91 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (49): * Single equations (assignments): 49 * 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.007771/8.125, allocations: 3.907 MB / 3.188 GB, free: 78.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002118/8.127, allocations: 0.5986 MB / 3.188 GB, free: 78.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/8.127, allocations: 0 / 3.188 GB, free: 78.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009007/8.128, allocations: 269 kB / 3.189 GB, free: 78.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004225/8.132, allocations: 429.1 kB / 3.189 GB, free: 78.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01877/8.151, allocations: 10.89 MB / 3.2 GB, free: 70.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/8.152, allocations: 1.14 MB / 3.201 GB, free: 70.17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002022/8.154, allocations: 272.3 kB / 3.201 GB, free: 70.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008167/8.155, allocations: 365.5 kB / 3.201 GB, free: 70.15 MB / 0.6198 GB Notification: Performance of SimCode: time 1.162e-06/8.155, allocations: 0 / 3.201 GB, free: 70.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1193/8.274, allocations: 51.37 MB / 3.252 GB, free: 68.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/8.275, allocations: 218.3 kB / 3.252 GB, free: 68.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.746/12.02, allocations: 7.438 kB / 3.252 GB, free: 68.66 MB / 0.6198 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)