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.6974/0.6974, allocations: 127.3 MB / 139.8 MB, free: 15.47 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 183.6 kB / 169.7 MB, free: 1.719 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.564/1.564, allocations: 205.1 MB / 404.5 MB, free: 1.641 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.0009181/0.000918, allocations: 95.62 kB / 481.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.106e-05/3.108e-05, allocations: 7.984 kB / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1466, allocations: 76.76 MB / 0.6283 GB, free: 9.914 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.052/5.199, allocations: 2.16 GB / 2.788 GB, free: 167.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/5.199, allocations: 91.94 kB / 2.788 GB, free: 167.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.121/7.32, allocations: 0.6577 GB / 3.446 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.883e-06/7.32, allocations: 0 / 3.446 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.793e-05/7.321, allocations: 35.98 kB / 3.446 GB, free: 12.03 MB / 0.6667 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.003102/7.324, allocations: 1.44 MB / 3.447 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/7.324, allocations: 12.03 kB / 3.447 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002159/7.324, allocations: 156.4 kB / 3.448 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001409/7.325, allocations: 258.2 kB / 3.448 GB, free: 10.11 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001727/7.327, allocations: 0.8509 MB / 3.449 GB, free: 9.211 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.206e-05/7.327, allocations: 78.03 kB / 3.449 GB, free: 9.133 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/7.327, allocations: 108 kB / 3.449 GB, free: 9.027 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002105/7.329, allocations: 1.234 MB / 3.45 GB, free: 7.703 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/7.329, allocations: 4 kB / 3.45 GB, free: 7.699 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/7.33, allocations: 51.95 kB / 3.45 GB, free: 7.648 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.128e-05/7.33, allocations: 34 kB / 3.45 GB, free: 7.617 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/7.331, allocations: 0.9642 MB / 3.451 GB, free: 6.652 MB / 0.6667 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.006675/7.338, allocations: 6.072 MB / 3.457 GB, free: 88 kB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4674/7.805, allocations: 0.5662 MB / 3.458 GB, free: 99.65 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000566/7.806, allocations: 307 kB / 3.458 GB, free: 99.64 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004787/7.806, allocations: 221.3 kB / 3.458 GB, free: 99.45 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/7.807, allocations: 41.03 kB / 3.458 GB, free: 99.41 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=52): time 3.426e-06/7.807, allocations: 0 / 3.458 GB, free: 99.41 MB / 0.6667 GB Notification: Performance of matching and sorting (n=52): time 0.001706/7.808, allocations: 0.5889 MB / 3.459 GB, free: 99.37 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/7.808, allocations: 85.14 kB / 3.459 GB, free: 99.28 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/7.81, allocations: 0.7105 MB / 3.459 GB, free: 99.16 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001039/7.81, allocations: 39.17 kB / 3.46 GB, free: 99.13 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000449/7.81, allocations: 0.5503 MB / 3.46 GB, free: 98.95 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/7.81, allocations: 187 kB / 3.46 GB, free: 98.86 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-05/7.81, allocations: 16.34 kB / 3.46 GB, free: 98.86 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001045/7.811, allocations: 342.2 kB / 3.461 GB, free: 98.55 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005751/7.811, allocations: 269.2 kB / 3.461 GB, free: 98.55 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008031/7.812, allocations: 0.6113 MB / 3.461 GB, free: 98.14 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006734/7.813, allocations: 413.3 kB / 3.462 GB, free: 98.1 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/7.813, allocations: 4.562 kB / 3.462 GB, free: 98.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001765/7.814, allocations: 0.9642 MB / 3.463 GB, free: 97.98 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.533e-05/7.814, allocations: 39.31 kB / 3.463 GB, free: 97.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/7.814, allocations: 12.34 kB / 3.463 GB, free: 97.95 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.66e-05/7.815, allocations: 14.69 kB / 3.463 GB, free: 97.95 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007169/7.815, allocations: 181.7 kB / 3.463 GB, free: 97.95 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.997e-05/7.815, allocations: 26.83 kB / 3.463 GB, free: 97.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/7.816, allocations: 160.7 kB / 3.463 GB, free: 97.92 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.391e-05/7.817, allocations: 37.91 kB / 3.463 GB, free: 97.92 MB / 0.6667 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 (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.0001868/7.817, allocations: 156.1 kB / 3.463 GB, free: 97.81 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/7.817, allocations: 99.64 kB / 3.463 GB, free: 97.76 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/7.818, allocations: 0.6012 MB / 3.464 GB, free: 97.7 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/7.818, allocations: 5.266 kB / 3.464 GB, free: 97.7 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/7.818, allocations: 1.25 kB / 3.464 GB, free: 97.7 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007494/7.819, allocations: 0.4968 MB / 3.465 GB, free: 97.63 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002717/7.822, allocations: 1.678 MB / 3.466 GB, free: 97.28 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/7.822, allocations: 6.906 kB / 3.466 GB, free: 97.28 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005091/7.822, allocations: 115.7 kB / 3.466 GB, free: 97.28 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/7.822, allocations: 6.281 kB / 3.466 GB, free: 97.28 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/7.822, allocations: 16.47 kB / 3.466 GB, free: 97.28 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/7.822, allocations: 2.969 kB / 3.466 GB, free: 97.28 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/7.822, allocations: 2.344 kB / 3.466 GB, free: 97.28 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/7.823, allocations: 1.18 MB / 3.467 GB, free: 96.87 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003949/7.824, allocations: 248.1 kB / 3.468 GB, free: 96.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/7.824, allocations: 19.28 kB / 3.468 GB, free: 96.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006883/7.825, allocations: 70.5 kB / 3.468 GB, free: 96.73 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.409e-05/7.825, allocations: 29.97 kB / 3.468 GB, free: 96.73 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.76e-05/7.825, allocations: 26.19 kB / 3.468 GB, free: 96.73 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000703/7.826, allocations: 0.5433 MB / 3.468 GB, free: 96.63 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.8e-07/7.826, allocations: 0 / 3.468 GB, free: 96.63 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002362/7.828, allocations: 0.5152 MB / 3.469 GB, free: 96.61 MB / 0.6667 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.005877/7.834, allocations: 3.97 MB / 3.473 GB, free: 94.81 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00168/7.835, allocations: 0.705 MB / 3.473 GB, free: 94.73 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/7.836, allocations: 1.469 kB / 3.473 GB, free: 94.73 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000442/7.836, allocations: 269.5 kB / 3.474 GB, free: 94.73 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002813/7.839, allocations: 475.9 kB / 3.474 GB, free: 94.72 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005132/7.844, allocations: 1.887 MB / 3.476 GB, free: 94.25 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00088/7.845, allocations: 1.172 MB / 3.477 GB, free: 93.55 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.00136/7.846, allocations: 278.7 kB / 3.477 GB, free: 93.54 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006784/7.847, allocations: 384.7 kB / 3.478 GB, free: 93.53 MB / 0.6667 GB Notification: Performance of SimCode: time 2.585e-06/7.847, allocations: 0 / 3.478 GB, free: 93.53 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1002/7.947, allocations: 58.76 MB / 3.535 GB, free: 92.21 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/7.947, allocations: 197.4 kB / 3.535 GB, free: 91.99 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.095/12.04, allocations: 4 kB / 3.535 GB, free: 91.98 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)