Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json 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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009575/0.0009576, allocations: 96.66 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 174.8 kB / 16.57 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 223.2 MB / 240.5 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6858/0.6858, allocations: 113.8 MB / 405.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002913, allocations: 8 kB / 493 MB, free: 8.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1358, allocations: 77.15 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4225/0.5584, allocations: 140.3 MB / 0.6939 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006024/0.5644, allocations: 5.243 MB / 0.699 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003987/0.5649, allocations: 15.94 kB / 0.699 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006905/0.5656, allocations: 191.1 kB / 0.6992 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001479/0.5671, allocations: 0.5647 MB / 0.6997 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000998/0.5681, allocations: 358.1 kB / 0.7001 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005794/0.5687, allocations: 424.1 kB / 0.7005 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003875/0.5691, allocations: 229.2 kB / 0.7007 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009155/0.57, allocations: 430.7 kB / 0.7011 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002903/0.5703, allocations: 199.3 kB / 0.7013 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.5703, allocations: 12 kB / 0.7013 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004846/0.5708, allocations: 199.7 kB / 0.7015 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.5709, allocations: 87.72 kB / 0.7016 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.35e-05/0.571, allocations: 85.52 kB / 0.7017 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003551/0.5714, allocations: 307.6 kB / 0.702 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.5714, allocations: 4 kB / 0.702 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5714, allocations: 4 kB / 0.702 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.5714, allocations: 0 / 0.702 GB, free: 5.301 MB / 0.5137 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.0007756/0.5722, allocations: 0.5656 MB / 0.7025 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.5722, allocations: 12.03 kB / 0.7025 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003016/0.5725, allocations: 55.58 kB / 0.7026 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.5729, allocations: 305.4 kB / 0.7029 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.573, allocations: 20.56 kB / 0.7029 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.573, allocations: 24 kB / 0.7029 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004979/0.5735, allocations: 319.7 kB / 0.7032 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.5736, allocations: 3.984 kB / 0.7032 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.5736, allocations: 12 kB / 0.7032 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.5736, allocations: 4 kB / 0.7033 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004084/0.574, allocations: 213.5 kB / 0.7035 GB, free: 3.672 MB / 0.5137 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.001419/0.5754, allocations: 1.542 MB / 0.705 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.5757, allocations: 118.5 kB / 0.7051 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004041/0.5761, allocations: 137 kB / 0.7052 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.5761, allocations: 40.25 kB / 0.7052 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.5762, allocations: 0 / 0.7052 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13): time 0.0007432/0.5769, allocations: 281.3 kB / 0.7055 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.5769, allocations: 59.3 kB / 0.7056 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/0.5772, allocations: 312.5 kB / 0.7059 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.5773, allocations: 29.7 kB / 0.7059 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.5774, allocations: 184 kB / 0.7061 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.5774, allocations: 43.36 kB / 0.7061 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.717e-06/0.5775, allocations: 4 kB / 0.7061 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.5776, allocations: 342.8 kB / 0.7064 GB, free: 396 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.5777, allocations: 59.95 kB / 0.7065 GB, free: 336 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.5779, allocations: 117.1 kB / 0.7066 GB, free: 200 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.5781, allocations: 75.91 kB / 0.7067 GB, free: 124 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5781, allocations: 4 kB / 0.7067 GB, free: 120 kB / 0.5137 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004244/0.5785, allocations: 227.1 kB / 0.7069 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.5786, allocations: 4 kB / 0.7069 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.5786, allocations: 0 / 0.7069 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.5786, allocations: 4 kB / 0.7069 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.5788, allocations: 39.92 kB / 0.707 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.5788, allocations: 7.984 kB / 0.707 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.579, allocations: 43.8 kB / 0.707 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.5791, allocations: 11.98 kB / 0.707 GB, free: 15.78 MB / 0.5294 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.0001356/0.5792, allocations: 151.7 kB / 0.7072 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.73e-05/0.5792, allocations: 27.62 kB / 0.7072 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004516/0.5797, allocations: 221.3 kB / 0.7074 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.5797, allocations: 4 kB / 0.7074 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5797, allocations: 0 / 0.7074 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.5797, allocations: 3.938 kB / 0.7074 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009872/0.5807, allocations: 0.6951 MB / 0.7081 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.5807, allocations: 8.219 kB / 0.7081 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.5809, allocations: 27.98 kB / 0.7081 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-06/0.5809, allocations: 7.953 kB / 0.7081 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.5809, allocations: 3.984 kB / 0.7081 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.199e-06/0.5809, allocations: 7.938 kB / 0.7081 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.5809, allocations: 4 kB / 0.7081 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004676/0.5814, allocations: 433 kB / 0.7086 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.5815, allocations: 116.7 kB / 0.7087 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.987e-05/0.5816, allocations: 12 kB / 0.7087 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.5818, allocations: 15.98 kB / 0.7087 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.5818, allocations: 15.98 kB / 0.7087 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.5818, allocations: 4 kB / 0.7087 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001915/0.582, allocations: 223 kB / 0.7089 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.582, allocations: 4 kB / 0.7089 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003729/0.5824, allocations: 67.84 kB / 0.709 GB, free: 13.57 MB / 0.5294 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.0003628/0.5828, allocations: 166.2 kB / 0.7091 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003939/0.5832, allocations: 160.8 kB / 0.7093 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5832, allocations: 320 / 0.7093 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.5834, allocations: 91.83 kB / 0.7094 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007452/0.5842, allocations: 148.3 kB / 0.7095 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008202/0.585, allocations: 0.6363 MB / 0.7102 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.5853, allocations: 0.7836 MB / 0.7109 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00021/0.5855, allocations: 63.94 kB / 0.711 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.647e-05/0.5856, allocations: 23.44 kB / 0.711 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of SimCode: time 3.3e-07/0.5856, allocations: 0 / 0.711 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of Templates: time 0.008896/0.5945, allocations: 4.682 MB / 0.7156 GB, free: 6.855 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)