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.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: 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8628/0.8628, allocations: 127.4 MB / 134.9 MB, free: 3.477 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.001023/0.001023, allocations: 182 kB / 164.6 MB, free: 11.62 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.54/1.54, allocations: 205.2 MB / 399.5 MB, free: 13.48 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.000961/0.000961, allocations: 95.89 kB / 476.7 MB, free: 1.445 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.289e-05/2.32e-05, allocations: 5.562 kB / 0.5466 GB, free: 95.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1768, allocations: 76.77 MB / 0.6215 GB, free: 43.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.123/5.3, allocations: 2.137 GB / 2.758 GB, free: 43.71 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/5.3, allocations: 88.47 kB / 2.758 GB, free: 43.62 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.053/6.353, allocations: 292.3 MB / 3.044 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.144e-06/6.353, allocations: 0 / 3.044 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.735e-05/6.353, allocations: 12.19 kB / 3.044 GB, free: 15.8 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.00195/6.355, allocations: 0.6501 MB / 3.044 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/6.355, allocations: 16.02 kB / 3.044 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006061/6.356, allocations: 67.45 kB / 3.044 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009113/6.357, allocations: 326 kB / 3.045 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.346e-05/6.357, allocations: 8 kB / 3.045 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/6.357, allocations: 19.98 kB / 3.045 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000575/6.358, allocations: 169.1 kB / 3.045 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005446/6.358, allocations: 195.8 kB / 3.045 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/6.358, allocations: 0 / 3.045 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.415e-05/6.358, allocations: 0 / 3.045 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/6.358, allocations: 15.95 kB / 3.045 GB, free: 14.25 MB / 0.6511 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.001848/6.36, allocations: 0.8868 MB / 3.046 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005369/6.361, allocations: 178.7 kB / 3.046 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/6.361, allocations: 84.77 kB / 3.046 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007369/6.362, allocations: 299.3 kB / 3.046 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/6.362, allocations: 34.56 kB / 3.046 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.675e-06/6.362, allocations: 0 / 3.046 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.001163/6.363, allocations: 250.5 kB / 3.047 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/6.363, allocations: 51.41 kB / 3.047 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/6.363, allocations: 180.5 kB / 3.047 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/6.363, allocations: 29.7 kB / 3.047 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/6.363, allocations: 180.1 kB / 3.047 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.993e-05/6.364, allocations: 63.05 kB / 3.047 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.341e-05/6.364, allocations: 3.938 kB / 3.047 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.939e-05/6.364, allocations: 330.8 kB / 3.048 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/6.364, allocations: 51.98 kB / 3.048 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/6.364, allocations: 88.55 kB / 3.048 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004749/6.364, allocations: 113.2 kB / 3.048 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/6.365, allocations: 4 kB / 3.048 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007128/6.365, allocations: 234.1 kB / 3.048 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/6.365, allocations: 12.77 kB / 3.048 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/6.365, allocations: 0 / 3.048 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/6.365, allocations: 3.953 kB / 3.048 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/6.366, allocations: 39.92 kB / 3.048 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/6.366, allocations: 0 / 3.048 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/6.366, allocations: 23.98 kB / 3.048 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.301e-05/6.366, allocations: 11.98 kB / 3.048 GB, free: 10.94 MB / 0.6511 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 () * 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.000102/6.366, allocations: 101 kB / 3.048 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.746e-05/6.366, allocations: 23.72 kB / 3.048 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008727/6.367, allocations: 257.7 kB / 3.048 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/6.367, allocations: 4 kB / 3.048 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/6.367, allocations: 7.953 kB / 3.048 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/6.367, allocations: 0 / 3.048 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/6.369, allocations: 0.6754 MB / 3.049 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/6.369, allocations: 8.188 kB / 3.049 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003391/6.369, allocations: 43.86 kB / 3.049 GB, free: 9.754 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/6.369, allocations: 4 kB / 3.049 GB, free: 9.75 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/6.369, allocations: 4 kB / 3.049 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/6.369, allocations: 4 kB / 3.049 GB, free: 9.742 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/6.369, allocations: 0 / 3.049 GB, free: 9.742 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/6.371, allocations: 0.517 MB / 3.05 GB, free: 9.156 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.736e-05/6.371, allocations: 104.7 kB / 3.05 GB, free: 9.035 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.735e-05/6.371, allocations: 4 kB / 3.05 GB, free: 9.031 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003071/6.371, allocations: 15.98 kB / 3.05 GB, free: 9.016 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.084e-05/6.371, allocations: 20.05 kB / 3.05 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/6.371, allocations: 4 kB / 3.05 GB, free: 8.992 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001382/6.371, allocations: 144.5 kB / 3.05 GB, free: 8.855 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.61e-07/6.371, allocations: 0 / 3.05 GB, free: 8.855 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009645/6.372, allocations: 163.6 kB / 3.05 GB, free: 8.695 MB / 0.6511 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 () * 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.002467/6.375, allocations: 1.368 MB / 3.051 GB, free: 7.281 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004164/6.375, allocations: 143.9 kB / 3.052 GB, free: 7.141 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/6.375, allocations: 4 kB / 3.052 GB, free: 7.137 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001867/6.375, allocations: 87.84 kB / 3.052 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008115/6.376, allocations: 74.45 kB / 3.052 GB, free: 6.98 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/6.377, allocations: 479.8 kB / 3.052 GB, free: 6.469 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/6.378, allocations: 0.795 MB / 3.053 GB, free: 5.648 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002961/6.378, allocations: 42.06 kB / 3.053 GB, free: 5.609 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.487e-05/6.378, allocations: 27.44 kB / 3.053 GB, free: 5.582 MB / 0.6511 GB Notification: Performance of SimCode: time 1.864e-06/6.378, allocations: 0 / 3.053 GB, free: 5.582 MB / 0.6511 GB Notification: Performance of Templates: time 0.4217/6.8, allocations: 10.35 MB / 3.063 GB, free: 158.6 MB / 0.6511 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)