Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.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.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.672/0.672, allocations: 117.9 MB / 133.9 MB, free: 4.547 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.001026/0.001026, allocations: 183.3 kB / 161.7 MB, free: 2.777 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.4 MB / 394.8 MB, free: 20.93 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.0008376/0.0008377, allocations: 98.12 kB / 470.1 MB, free: 12.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006419/0.000642, allocations: 16 kB / 0.5423 GB, free: 6.875 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4783/0.479, allocations: 74.54 MB / 0.6151 GB, free: 54.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.511/4.991, allocations: 2.136 GB / 2.751 GB, free: 248.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003752/4.991, allocations: 94.84 kB / 2.752 GB, free: 248.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.9097/5.901, allocations: 295.6 MB / 3.04 GB, free: 165.5 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.945e-06/5.901, allocations: 2.516 kB / 3.04 GB, free: 165.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.1e-05/5.901, allocations: 9.234 kB / 3.04 GB, free: 165.5 MB / 0.6355 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.001871/5.903, allocations: 0.6952 MB / 3.041 GB, free: 165.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/5.903, allocations: 14.25 kB / 3.041 GB, free: 165.1 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004393/5.903, allocations: 58.84 kB / 3.041 GB, free: 165.1 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007363/5.904, allocations: 343.6 kB / 3.041 GB, free: 164.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/5.904, allocations: 15.66 kB / 3.041 GB, free: 164.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.085e-05/5.904, allocations: 38.06 kB / 3.041 GB, free: 164.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000542/5.905, allocations: 256 kB / 3.042 GB, free: 164.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/5.905, allocations: 7.594 kB / 3.042 GB, free: 164.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/5.905, allocations: 13.31 kB / 3.042 GB, free: 164.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/5.905, allocations: 7.938 kB / 3.042 GB, free: 164.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004257/5.905, allocations: 217.2 kB / 3.042 GB, free: 164.8 MB / 0.6355 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.001444/5.907, allocations: 0.9778 MB / 3.043 GB, free: 164.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/5.907, allocations: 200.6 kB / 3.043 GB, free: 164.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/5.907, allocations: 107.2 kB / 3.043 GB, free: 164.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004663/5.908, allocations: 298 kB / 3.043 GB, free: 164 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/5.908, allocations: 36.94 kB / 3.043 GB, free: 163.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.244e-06/5.908, allocations: 3.312 kB / 3.043 GB, free: 163.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0008217/5.909, allocations: 322.1 kB / 3.044 GB, free: 163.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/5.909, allocations: 58.44 kB / 3.044 GB, free: 163.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/5.909, allocations: 292 kB / 3.044 GB, free: 163.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/5.909, allocations: 29.14 kB / 3.044 GB, free: 163.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/5.909, allocations: 179.1 kB / 3.044 GB, free: 163.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.881e-05/5.909, allocations: 60.78 kB / 3.044 GB, free: 163.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.919e-06/5.909, allocations: 3.625 kB / 3.044 GB, free: 163.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001146/5.909, allocations: 346.1 kB / 3.045 GB, free: 163.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/5.909, allocations: 73.22 kB / 3.045 GB, free: 163.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/5.91, allocations: 105.5 kB / 3.045 GB, free: 163.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003309/5.91, allocations: 174.4 kB / 3.045 GB, free: 163.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/5.91, allocations: 0 / 3.045 GB, free: 163.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004347/5.91, allocations: 238.3 kB / 3.045 GB, free: 163.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/5.91, allocations: 3.562 kB / 3.045 GB, free: 163.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/5.911, allocations: 3.188 kB / 3.045 GB, free: 163.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/5.911, allocations: 2.781 kB / 3.045 GB, free: 163.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/5.911, allocations: 38.88 kB / 3.045 GB, free: 163.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/5.911, allocations: 3.875 kB / 3.045 GB, free: 163.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/5.911, allocations: 43.28 kB / 3.045 GB, free: 163.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/5.911, allocations: 7.188 kB / 3.045 GB, free: 163.2 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (20): * Single equations (assignments): 20 * 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.0001908/5.911, allocations: 153.7 kB / 3.045 GB, free: 163.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-05/5.911, allocations: 26.53 kB / 3.045 GB, free: 163 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005393/5.912, allocations: 258 kB / 3.046 GB, free: 163 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/5.912, allocations: 3.594 kB / 3.046 GB, free: 163 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/5.912, allocations: 0 / 3.046 GB, free: 163 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/5.912, allocations: 2.844 kB / 3.046 GB, free: 163 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/5.913, allocations: 0.7274 MB / 3.046 GB, free: 162.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/5.913, allocations: 3.938 kB / 3.046 GB, free: 162.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/5.913, allocations: 44.02 kB / 3.046 GB, free: 162.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/5.913, allocations: 3.812 kB / 3.046 GB, free: 162.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/5.913, allocations: 11.72 kB / 3.046 GB, free: 162.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/5.913, allocations: 7.062 kB / 3.046 GB, free: 162.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/5.913, allocations: 10.25 kB / 3.046 GB, free: 162.6 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006515/5.914, allocations: 472.4 kB / 3.047 GB, free: 162.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.724e-05/5.914, allocations: 112.2 kB / 3.047 GB, free: 162.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/5.914, allocations: 6.906 kB / 3.047 GB, free: 162.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/5.914, allocations: 20.27 kB / 3.047 GB, free: 162.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.282e-05/5.914, allocations: 20.16 kB / 3.047 GB, free: 162.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/5.914, allocations: 10.31 kB / 3.047 GB, free: 162.3 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001839/5.915, allocations: 223 kB / 3.047 GB, free: 162.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/5.915, allocations: 0 / 3.047 GB, free: 162.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009306/5.916, allocations: 184.8 kB / 3.047 GB, free: 162.2 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (senH_flow.h_out,senH.h_out) * 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 (18): * Single equations (assignments): 18 * 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.002337/5.918, allocations: 1.212 MB / 3.049 GB, free: 161.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005216/5.918, allocations: 186.8 kB / 3.049 GB, free: 161.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/5.918, allocations: 2.516 kB / 3.049 GB, free: 161.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001941/5.919, allocations: 102.1 kB / 3.049 GB, free: 161.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009347/5.92, allocations: 151.4 kB / 3.049 GB, free: 161.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/5.921, allocations: 0.7774 MB / 3.05 GB, free: 161.6 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/5.921, allocations: 0.7807 MB / 3.051 GB, free: 160.9 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002441/5.921, allocations: 63.11 kB / 3.051 GB, free: 160.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.484e-05/5.921, allocations: 26.38 kB / 3.051 GB, free: 160.8 MB / 0.6355 GB Notification: Performance of SimCode: time 3.51e-07/5.921, allocations: 0 / 3.051 GB, free: 160.8 MB / 0.6355 GB Notification: Performance of Templates: time 0.02821/5.95, allocations: 19.74 MB / 3.07 GB, free: 160.2 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)