Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8035/0.8035, allocations: 143.4 MB / 158.3 MB, free: 5.648 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 175.2 kB / 191.5 MB, free: 5.676 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.2 MB / 447.7 MB, free: 4.824 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009626/0.0009625, allocations: 88.34 kB / 0.5188 GB, free: 1.195 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001716/0.001716, allocations: 267 kB / 0.6005 GB, free: 48.79 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.0004749, allocations: 17.5 kB / 0.6929 GB, free: 59.41 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1735, allocations: 82.8 MB / 0.7737 GB, free: 13.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.235/4.408, allocations: 1.828 GB / 2.601 GB, free: 250 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003672/4.409, allocations: 96.2 kB / 2.602 GB, free: 249.9 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.941/5.35, allocations: 300.8 MB / 2.895 GB, free: 190.4 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.266e-06/5.35, allocations: 0 / 2.895 GB, free: 190.4 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.12e-05/5.35, allocations: 16.5 kB / 2.895 GB, free: 190.4 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001281/5.351, allocations: 0.693 MB / 2.896 GB, free: 190 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/5.351, allocations: 8.812 kB / 2.896 GB, free: 190 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003149/5.351, allocations: 63.09 kB / 2.896 GB, free: 189.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/5.352, allocations: 326.8 kB / 2.896 GB, free: 189.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/5.352, allocations: 23.22 kB / 2.896 GB, free: 189.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/5.352, allocations: 29.11 kB / 2.896 GB, free: 189.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004798/5.352, allocations: 314.8 kB / 2.897 GB, free: 189.6 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/5.353, allocations: 0 / 2.897 GB, free: 189.6 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.998e-05/5.353, allocations: 10.44 kB / 2.897 GB, free: 189.6 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/5.353, allocations: 6.062 kB / 2.897 GB, free: 189.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003631/5.353, allocations: 203.6 kB / 2.897 GB, free: 189.6 MB / 0.7136 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.00128/5.354, allocations: 1.527 MB / 2.898 GB, free: 188.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/5.354, allocations: 119.5 kB / 2.899 GB, free: 188.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004366/5.355, allocations: 297.1 kB / 2.899 GB, free: 188.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/5.355, allocations: 40.47 kB / 2.899 GB, free: 188.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 2.776e-06/5.355, allocations: 0 / 2.899 GB, free: 188.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0006531/5.356, allocations: 270.3 kB / 2.899 GB, free: 188.1 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/5.356, allocations: 54.41 kB / 2.899 GB, free: 188.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/5.356, allocations: 281.7 kB / 2.899 GB, free: 188 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/5.356, allocations: 27.3 kB / 2.899 GB, free: 187.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/5.356, allocations: 183.1 kB / 2.9 GB, free: 187.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/5.356, allocations: 51.05 kB / 2.9 GB, free: 187.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.265e-06/5.356, allocations: 3.625 kB / 2.9 GB, free: 187.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.185e-05/5.356, allocations: 335.7 kB / 2.9 GB, free: 187.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/5.356, allocations: 64.83 kB / 2.9 GB, free: 187.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/5.356, allocations: 117.7 kB / 2.9 GB, free: 187.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/5.357, allocations: 74.75 kB / 2.9 GB, free: 187.4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/5.357, allocations: 0 / 2.9 GB, free: 187.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003652/5.357, allocations: 229.2 kB / 2.9 GB, free: 187.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/5.357, allocations: 7.656 kB / 2.9 GB, free: 187.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/5.357, allocations: 0 / 2.9 GB, free: 187.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/5.357, allocations: 3.438 kB / 2.9 GB, free: 187.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/5.357, allocations: 33.89 kB / 2.9 GB, free: 187.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/5.357, allocations: 7.078 kB / 2.9 GB, free: 187.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/5.357, allocations: 40.27 kB / 2.901 GB, free: 187.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/5.358, allocations: 11.08 kB / 2.901 GB, free: 187.4 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.000127/5.358, allocations: 156.3 kB / 2.901 GB, free: 187.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/5.358, allocations: 32.75 kB / 2.901 GB, free: 187.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003948/5.358, allocations: 211.6 kB / 2.901 GB, free: 187.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/5.358, allocations: 0 / 2.901 GB, free: 187.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/5.358, allocations: 0 / 2.901 GB, free: 187.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/5.358, allocations: 3.438 kB / 2.901 GB, free: 187.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008217/5.359, allocations: 0.6732 MB / 2.902 GB, free: 186.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/5.359, allocations: 7.281 kB / 2.902 GB, free: 186.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/5.359, allocations: 32.31 kB / 2.902 GB, free: 186.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/5.359, allocations: 3.469 kB / 2.902 GB, free: 186.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/5.359, allocations: 10.03 kB / 2.902 GB, free: 186.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/5.359, allocations: 3.594 kB / 2.902 GB, free: 186.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/5.359, allocations: 3 kB / 2.902 GB, free: 186.8 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/5.36, allocations: 414.1 kB / 2.902 GB, free: 186.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.95e-05/5.36, allocations: 128.9 kB / 2.902 GB, free: 186.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/5.36, allocations: 2 kB / 2.902 GB, free: 186.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/5.36, allocations: 24.69 kB / 2.902 GB, free: 186.4 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/5.36, allocations: 8.328 kB / 2.902 GB, free: 186.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/5.36, allocations: 10.47 kB / 2.902 GB, free: 186.4 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00017/5.36, allocations: 219.2 kB / 2.902 GB, free: 186.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/5.36, allocations: 5.562 kB / 2.902 GB, free: 186.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008583/5.361, allocations: 186.5 kB / 2.903 GB, free: 186.3 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (13): * Single equations (assignments): 13 * 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.001584/5.363, allocations: 1.19 MB / 2.904 GB, free: 186 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004089/5.363, allocations: 162.1 kB / 2.904 GB, free: 186 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/5.363, allocations: 0 / 2.904 GB, free: 186 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/5.363, allocations: 91.66 kB / 2.904 GB, free: 186 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006933/5.364, allocations: 137.6 kB / 2.904 GB, free: 186 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008855/5.365, allocations: 0.6225 MB / 2.905 GB, free: 185.6 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/5.365, allocations: 0.7914 MB / 2.906 GB, free: 184.9 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001825/5.365, allocations: 61.94 kB / 2.906 GB, free: 184.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.603e-05/5.365, allocations: 22.78 kB / 2.906 GB, free: 184.9 MB / 0.7136 GB Notification: Performance of SimCode: time 3.6e-07/5.365, allocations: 0 / 2.906 GB, free: 184.9 MB / 0.7136 GB Notification: Performance of Templates: time 0.02544/5.391, allocations: 19.35 MB / 2.924 GB, free: 183.9 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)