Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7424/0.7424, allocations: 127.4 MB / 134.9 MB, free: 3.73 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 180.9 kB / 164.7 MB, free: 6.539 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.2 MB / 399.5 MB, free: 5.871 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009303/0.0009307, allocations: 92.12 kB / 476.7 MB, free: 8.602 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.351e-05/2.355e-05, allocations: 4 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1466, allocations: 76.76 MB / 0.6216 GB, free: 15.58 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.061/5.208, allocations: 2.16 GB / 2.781 GB, free: 71.31 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/5.208, allocations: 94.05 kB / 2.781 GB, free: 71.22 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.435/7.643, allocations: 0.6501 GB / 3.431 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.643e-06/7.643, allocations: 0 / 3.431 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.881e-05/7.643, allocations: 33.84 kB / 3.432 GB, free: 103.3 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003302/7.646, allocations: 1.449 MB / 3.433 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.547e-05/7.647, allocations: 10.5 kB / 3.433 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00151/7.648, allocations: 254.2 kB / 3.433 GB, free: 102.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001571/7.65, allocations: 0.8335 MB / 3.434 GB, free: 102.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/7.65, allocations: 34.06 kB / 3.434 GB, free: 102.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/7.65, allocations: 67.59 kB / 3.434 GB, free: 102.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00143/7.651, allocations: 0.8859 MB / 3.435 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/7.653, allocations: 1.087 MB / 3.436 GB, free: 102 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/7.653, allocations: 7.25 kB / 3.436 GB, free: 102 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.67e-05/7.653, allocations: 3.938 kB / 3.436 GB, free: 102 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.23e-05/7.653, allocations: 39.06 kB / 3.436 GB, free: 102 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or 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.005489/7.658, allocations: 5.86 MB / 3.442 GB, free: 98.26 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006616/7.659, allocations: 0.5585 MB / 3.442 GB, free: 98.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/7.66, allocations: 286.7 kB / 3.443 GB, free: 98.18 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003973/7.66, allocations: 220.3 kB / 3.443 GB, free: 98 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/7.66, allocations: 38.97 kB / 3.443 GB, free: 97.96 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=52): time 3.066e-06/7.66, allocations: 4.109 kB / 3.443 GB, free: 97.96 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.001207/7.661, allocations: 0.5793 MB / 3.443 GB, free: 97.88 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/7.661, allocations: 81.33 kB / 3.443 GB, free: 97.78 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000624/7.662, allocations: 0.5608 MB / 3.444 GB, free: 97.66 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.329e-05/7.662, allocations: 29.17 kB / 3.444 GB, free: 97.62 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002822/7.662, allocations: 0.5565 MB / 3.445 GB, free: 97.36 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/7.662, allocations: 187.7 kB / 3.445 GB, free: 97.24 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/7.662, allocations: 0 / 3.445 GB, free: 97.24 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001266/7.663, allocations: 383.7 kB / 3.445 GB, free: 96.93 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/7.663, allocations: 246.6 kB / 3.445 GB, free: 96.92 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004758/7.663, allocations: 0.5878 MB / 3.446 GB, free: 96.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005647/7.664, allocations: 393.4 kB / 3.446 GB, free: 96.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/7.664, allocations: 0 / 3.446 GB, free: 96.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001221/7.665, allocations: 0.8619 MB / 3.447 GB, free: 96.41 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.298e-05/7.665, allocations: 36.94 kB / 3.447 GB, free: 96.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/7.665, allocations: 11.5 kB / 3.447 GB, free: 96.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.859e-05/7.665, allocations: 14.5 kB / 3.447 GB, free: 96.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000606/7.666, allocations: 181.5 kB / 3.447 GB, free: 96.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.9e-05/7.666, allocations: 17 kB / 3.447 GB, free: 96.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/7.667, allocations: 125.2 kB / 3.448 GB, free: 96.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.048e-05/7.667, allocations: 35.91 kB / 3.448 GB, free: 96.34 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 1 * 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.0001855/7.667, allocations: 137.8 kB / 3.448 GB, free: 96.22 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008374/7.668, allocations: 0.5634 MB / 3.448 GB, free: 96.13 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/7.668, allocations: 82.28 kB / 3.448 GB, free: 96.09 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009797/7.669, allocations: 0.5819 MB / 3.449 GB, free: 96.04 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/7.669, allocations: 7.219 kB / 3.449 GB, free: 96.04 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/7.669, allocations: 2.844 kB / 3.449 GB, free: 96.04 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006638/7.67, allocations: 0.4962 MB / 3.449 GB, free: 95.96 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002558/7.673, allocations: 1.549 MB / 3.451 GB, free: 95.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/7.673, allocations: 0 / 3.451 GB, free: 95.63 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005209/7.673, allocations: 115.4 kB / 3.451 GB, free: 95.63 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/7.673, allocations: 3.844 kB / 3.451 GB, free: 95.63 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.873e-05/7.673, allocations: 10.75 kB / 3.451 GB, free: 95.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/7.673, allocations: 5.031 kB / 3.451 GB, free: 95.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/7.673, allocations: 3.938 kB / 3.451 GB, free: 95.63 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/7.674, allocations: 1.166 MB / 3.452 GB, free: 95.23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003823/7.675, allocations: 230.2 kB / 3.452 GB, free: 95.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/7.675, allocations: 3.969 kB / 3.452 GB, free: 95.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006664/7.676, allocations: 70.56 kB / 3.452 GB, free: 95.08 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/7.676, allocations: 36.48 kB / 3.453 GB, free: 95.08 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.096e-05/7.676, allocations: 21.83 kB / 3.453 GB, free: 95.08 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004323/7.676, allocations: 424.5 kB / 3.453 GB, free: 94.99 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/7.676, allocations: 0 / 3.453 GB, free: 94.99 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001465/7.678, allocations: 459.7 kB / 3.453 GB, free: 94.93 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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.00412/7.682, allocations: 4.171 MB / 3.457 GB, free: 93.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001032/7.683, allocations: 0.6553 MB / 3.458 GB, free: 93.03 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/7.683, allocations: 0 / 3.458 GB, free: 93.03 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002785/7.683, allocations: 260 kB / 3.458 GB, free: 93.03 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/7.685, allocations: 381.2 kB / 3.459 GB, free: 93.02 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003424/7.689, allocations: 1.812 MB / 3.46 GB, free: 92.53 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005655/7.689, allocations: 1.172 MB / 3.462 GB, free: 91.83 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000895/7.69, allocations: 255.1 kB / 3.462 GB, free: 91.81 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004433/7.691, allocations: 379.9 kB / 3.462 GB, free: 91.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.232e-06/7.691, allocations: 6.062 kB / 3.462 GB, free: 91.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06374/7.754, allocations: 36.2 MB / 3.498 GB, free: 84.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/7.755, allocations: 178.1 kB / 3.498 GB, free: 84.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.229/10.98, allocations: 0 / 3.498 GB, free: 84.1 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TraceSubstances.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)