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.8394/0.8394, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.001151/0.001151, allocations: 188.9 kB / 182.2 MB, free: 9.43 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.473/1.473, allocations: 221.5 MB / 436.4 MB, free: 13.25 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.001007/0.001007, allocations: 96.08 kB / 0.5074 GB, free: 10.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001757/0.001757, allocations: 282.4 kB / 0.5889 GB, free: 54.63 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.63e-05/1.632e-05, allocations: 4 kB / 0.6765 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.454/0.4541, allocations: 82.78 MB / 0.7574 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.471/4.925, allocations: 1.827 GB / 2.584 GB, free: 233.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/4.925, allocations: 83.83 kB / 2.584 GB, free: 233.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9643/5.89, allocations: 296.9 MB / 2.874 GB, free: 193.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.164e-06/5.89, allocations: 0 / 2.874 GB, free: 193.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.565e-05/5.89, allocations: 11.19 kB / 2.874 GB, free: 193.2 MB / 0.698 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.001738/5.892, allocations: 0.6393 MB / 2.875 GB, free: 192.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.304e-05/5.892, allocations: 13.38 kB / 2.875 GB, free: 192.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005337/5.892, allocations: 65.66 kB / 2.875 GB, free: 192.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007115/5.893, allocations: 320.9 kB / 2.875 GB, free: 192.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/5.893, allocations: 12.41 kB / 2.875 GB, free: 192.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.565e-05/5.893, allocations: 14.56 kB / 2.875 GB, free: 192.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003441/5.893, allocations: 143.1 kB / 2.876 GB, free: 192.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004313/5.894, allocations: 261.2 kB / 2.876 GB, free: 192.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/5.894, allocations: 5.906 kB / 2.876 GB, free: 192.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/5.894, allocations: 0 / 2.876 GB, free: 192.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/5.894, allocations: 7.5 kB / 2.876 GB, free: 192.4 MB / 0.698 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.001491/5.895, allocations: 1.446 MB / 2.877 GB, free: 191.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/5.896, allocations: 91.38 kB / 2.877 GB, free: 191.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.176e-05/5.896, allocations: 69.92 kB / 2.877 GB, free: 191.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004936/5.896, allocations: 301.2 kB / 2.878 GB, free: 191 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/5.896, allocations: 34.03 kB / 2.878 GB, free: 190.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.724e-06/5.896, allocations: 2.75 kB / 2.878 GB, free: 190.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0006293/5.897, allocations: 197.4 kB / 2.878 GB, free: 190.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/5.897, allocations: 54.28 kB / 2.878 GB, free: 190.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/5.897, allocations: 188.8 kB / 2.878 GB, free: 190.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/5.897, allocations: 25.7 kB / 2.878 GB, free: 190.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/5.897, allocations: 198.1 kB / 2.878 GB, free: 190.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/5.897, allocations: 44.88 kB / 2.878 GB, free: 190.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/5.897, allocations: 0 / 2.878 GB, free: 190.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.553e-05/5.897, allocations: 329.4 kB / 2.879 GB, free: 190.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.412e-05/5.898, allocations: 35.81 kB / 2.879 GB, free: 190.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/5.898, allocations: 108.8 kB / 2.879 GB, free: 190.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/5.898, allocations: 82.28 kB / 2.879 GB, free: 190.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/5.898, allocations: 3.938 kB / 2.879 GB, free: 190.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003533/5.898, allocations: 195.6 kB / 2.879 GB, free: 190.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/5.898, allocations: 11.25 kB / 2.879 GB, free: 190.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/5.898, allocations: 0 / 2.879 GB, free: 190.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/5.898, allocations: 3.969 kB / 2.879 GB, free: 190.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/5.898, allocations: 38.38 kB / 2.879 GB, free: 190.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/5.899, allocations: 3.25 kB / 2.879 GB, free: 190.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/5.899, allocations: 25.97 kB / 2.879 GB, free: 190.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-05/5.899, allocations: 17.56 kB / 2.879 GB, free: 190.1 MB / 0.698 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 () * 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 8.909e-05/5.899, allocations: 107.9 kB / 2.879 GB, free: 190 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.896e-05/5.899, allocations: 19.47 kB / 2.879 GB, free: 190 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000381/5.899, allocations: 196.4 kB / 2.88 GB, free: 190 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/5.899, allocations: 0 / 2.88 GB, free: 190 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/5.899, allocations: 0 / 2.88 GB, free: 190 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/5.899, allocations: 0 / 2.88 GB, free: 190 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008618/5.9, allocations: 0.6141 MB / 2.88 GB, free: 189.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/5.9, allocations: 3.938 kB / 2.88 GB, free: 189.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/5.9, allocations: 32.89 kB / 2.88 GB, free: 189.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.882e-06/5.9, allocations: 3.969 kB / 2.88 GB, free: 189.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/5.9, allocations: 4.125 kB / 2.88 GB, free: 189.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/5.9, allocations: 14.66 kB / 2.88 GB, free: 189.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/5.9, allocations: 3.281 kB / 2.88 GB, free: 189.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004432/5.901, allocations: 405.4 kB / 2.881 GB, free: 189.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/5.901, allocations: 112.6 kB / 2.881 GB, free: 189.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/5.901, allocations: 7.922 kB / 2.881 GB, free: 189.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/5.901, allocations: 14.47 kB / 2.881 GB, free: 189.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/5.901, allocations: 16.02 kB / 2.881 GB, free: 189.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/5.901, allocations: 6.281 kB / 2.881 GB, free: 189.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001224/5.901, allocations: 149.9 kB / 2.881 GB, free: 189.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.4e-07/5.901, allocations: 0 / 2.881 GB, free: 189.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007102/5.902, allocations: 151.7 kB / 2.881 GB, free: 189.1 MB / 0.698 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 () * 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.002048/5.904, allocations: 1.346 MB / 2.882 GB, free: 188.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002282/5.904, allocations: 118 kB / 2.882 GB, free: 188.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/5.904, allocations: 0 / 2.882 GB, free: 188.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.041e-05/5.905, allocations: 64.22 kB / 2.882 GB, free: 188.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005653/5.905, allocations: 81.59 kB / 2.883 GB, free: 188.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00063/5.906, allocations: 356.6 kB / 2.883 GB, free: 188.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/5.906, allocations: 0.7888 MB / 2.884 GB, free: 187.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001835/5.906, allocations: 52.66 kB / 2.884 GB, free: 187.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.02e-05/5.906, allocations: 19.19 kB / 2.884 GB, free: 187.9 MB / 0.698 GB Notification: Performance of SimCode: time 2.81e-07/5.906, allocations: 0 / 2.884 GB, free: 187.9 MB / 0.698 GB Notification: Performance of Templates: time 0.018/5.924, allocations: 10.11 MB / 2.894 GB, free: 186.2 MB / 0.698 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)