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.7723/0.7723, allocations: 128.7 MB / 143.7 MB, free: 2.32 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.001353/0.001353, allocations: 182.3 kB / 173.7 MB, free: 6.109 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.003/2.003, allocations: 205.4 MB / 409 MB, free: 10.49 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.001104/0.001104, allocations: 96.91 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004431/0.0004431, allocations: 10.34 kB / 0.5604 GB, free: 97.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1789, allocations: 76.78 MB / 0.6354 GB, free: 30.44 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.444/5.623, allocations: 2.16 GB / 2.795 GB, free: 216.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/5.624, allocations: 100.7 kB / 2.796 GB, free: 216.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.162/7.785, allocations: 0.6584 GB / 3.454 GB, free: 39.36 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.545e-06/7.786, allocations: 0 / 3.454 GB, free: 39.36 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001351/7.786, allocations: 28 kB / 3.454 GB, free: 39.33 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.00491/7.791, allocations: 1.592 MB / 3.455 GB, free: 37.68 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/7.791, allocations: 8.031 kB / 3.455 GB, free: 37.67 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006015/7.791, allocations: 160.4 kB / 3.456 GB, free: 37.51 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001885/7.793, allocations: 262.2 kB / 3.456 GB, free: 37.25 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002429/7.796, allocations: 0.847 MB / 3.457 GB, free: 36.36 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.093e-05/7.796, allocations: 78.03 kB / 3.457 GB, free: 36.28 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003371/7.796, allocations: 111.9 kB / 3.457 GB, free: 36.17 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002465/7.799, allocations: 1.249 MB / 3.458 GB, free: 34.83 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.586e-05/7.799, allocations: 3.938 kB / 3.458 GB, free: 34.82 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001474/7.799, allocations: 48 kB / 3.458 GB, free: 34.78 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.932e-05/7.799, allocations: 38 kB / 3.458 GB, free: 34.74 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/7.8, allocations: 0.9835 MB / 3.459 GB, free: 33.76 MB / 0.6511 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.006867/7.807, allocations: 6.083 MB / 3.465 GB, free: 27.19 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007538/7.808, allocations: 0.5816 MB / 3.466 GB, free: 26.59 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004214/7.809, allocations: 210.6 kB / 3.466 GB, free: 26.34 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/7.809, allocations: 47 kB / 3.466 GB, free: 26.29 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=52): time 2.705e-06/7.809, allocations: 0 / 3.466 GB, free: 26.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.001552/7.81, allocations: 0.7908 MB / 3.467 GB, free: 25.49 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/7.81, allocations: 85.5 kB / 3.467 GB, free: 25.39 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/7.811, allocations: 0.7153 MB / 3.467 GB, free: 24.67 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/7.811, allocations: 41.7 kB / 3.468 GB, free: 24.62 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003432/7.812, allocations: 0.5531 MB / 3.468 GB, free: 24.06 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/7.812, allocations: 189.4 kB / 3.468 GB, free: 23.87 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/7.812, allocations: 16 kB / 3.468 GB, free: 23.86 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.063e-05/7.812, allocations: 334 kB / 3.469 GB, free: 23.52 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000398/7.813, allocations: 277.8 kB / 3.469 GB, free: 23.25 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005425/7.813, allocations: 0.617 MB / 3.469 GB, free: 22.48 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000549/7.814, allocations: 424.2 kB / 3.47 GB, free: 22.06 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/7.814, allocations: 4 kB / 3.47 GB, free: 22.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001496/7.815, allocations: 0.9724 MB / 3.471 GB, free: 21.07 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.915e-05/7.815, allocations: 37.7 kB / 3.471 GB, free: 21.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/7.815, allocations: 12.09 kB / 3.471 GB, free: 21.01 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.456e-05/7.815, allocations: 16 kB / 3.471 GB, free: 21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006315/7.816, allocations: 179.7 kB / 3.471 GB, free: 20.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.481e-05/7.816, allocations: 23.92 kB / 3.471 GB, free: 20.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/7.817, allocations: 166.7 kB / 3.471 GB, free: 20.63 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/7.817, allocations: 40 kB / 3.471 GB, free: 20.59 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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.0006686/7.818, allocations: 357.4 kB / 3.472 GB, free: 20.23 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002518/7.818, allocations: 86.97 kB / 3.472 GB, free: 20.15 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000972/7.819, allocations: 0.6027 MB / 3.472 GB, free: 19.54 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/7.819, allocations: 8 kB / 3.472 GB, free: 19.53 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/7.819, allocations: 4 kB / 3.472 GB, free: 19.52 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005683/7.82, allocations: 0.5094 MB / 3.473 GB, free: 19 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00292/7.823, allocations: 1.685 MB / 3.474 GB, free: 17.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/7.823, allocations: 0 / 3.474 GB, free: 17.24 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005614/7.823, allocations: 124 kB / 3.475 GB, free: 17.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.234e-05/7.823, allocations: 4 kB / 3.475 GB, free: 17.12 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.402e-05/7.824, allocations: 19.95 kB / 3.475 GB, free: 17.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/7.824, allocations: 4 kB / 3.475 GB, free: 17.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/7.824, allocations: 0 / 3.475 GB, free: 17.09 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/7.825, allocations: 1.195 MB / 3.476 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006038/7.825, allocations: 247.8 kB / 3.476 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/7.826, allocations: 19.95 kB / 3.476 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009305/7.827, allocations: 59.94 kB / 3.476 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.527e-05/7.827, allocations: 36.03 kB / 3.476 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.979e-05/7.827, allocations: 31.98 kB / 3.476 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007263/7.827, allocations: 0.5497 MB / 3.477 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.21e-07/7.828, allocations: 0 / 3.477 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002047/7.83, allocations: 0.5148 MB / 3.477 GB, free: 14.36 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 () * Number of clocked 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.004401/7.834, allocations: 3.986 MB / 3.481 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001198/7.835, allocations: 0.7062 MB / 3.482 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/7.835, allocations: 4.062 kB / 3.482 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000332/7.836, allocations: 271.7 kB / 3.482 GB, free: 9.262 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/7.838, allocations: 488.6 kB / 3.482 GB, free: 8.797 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007246/7.845, allocations: 9.24 MB / 3.491 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/7.847, allocations: 1.185 MB / 3.493 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001319/7.848, allocations: 275.7 kB / 3.493 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007036/7.849, allocations: 379.3 kB / 3.493 GB, free: 13.45 MB / 0.6667 GB Notification: Performance of SimCode: time 1.573e-06/7.849, allocations: 0 / 3.493 GB, free: 13.45 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5585/8.407, allocations: 53.48 MB / 3.545 GB, free: 94.98 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002826/8.408, allocations: 218 kB / 3.546 GB, free: 94.74 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.998/12.41, allocations: 0 / 3.546 GB, free: 94.74 MB / 0.6667 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)