Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 106.8 kB / 16.41 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7654/0.7654, allocations: 122.9 MB / 414.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 70.83 kB / 0.5685 GB, free: 28.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1794, allocations: 77.93 MB / 0.6446 GB, free: 8.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6289/0.8084, allocations: 179.4 MB / 0.8198 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01138/0.8198, allocations: 7.842 MB / 0.8274 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.8214, allocations: 19.97 kB / 0.8275 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009453/0.8224, allocations: 249.2 kB / 0.8277 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004492/0.8269, allocations: 1.223 MB / 0.8289 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002283/0.8292, allocations: 0.7344 MB / 0.8296 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001804/0.8311, allocations: 1.075 MB / 0.8307 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006873/0.8318, allocations: 410.5 kB / 0.831 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002921/0.8347, allocations: 0.8282 MB / 0.8319 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007812/0.8355, allocations: 435.4 kB / 0.8323 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.664e-05/0.8356, allocations: 35.16 kB / 0.8323 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002445/0.838, allocations: 0.9477 MB / 0.8332 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001936/0.8382, allocations: 163.2 kB / 0.8334 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003248/0.8385, allocations: 246.8 kB / 0.8336 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001868/0.8404, allocations: 0.9388 MB / 0.8345 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.8404, allocations: 0 / 0.8345 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8405, allocations: 0 / 0.8345 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.8405, allocations: 0 / 0.8345 GB, free: 3.719 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001397/0.8419, allocations: 0.8226 MB / 0.8353 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.241e-05/0.8419, allocations: 14.19 kB / 0.8354 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009904/0.8429, allocations: 153.6 kB / 0.8355 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006681/0.8436, allocations: 400.1 kB / 0.8359 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.07e-05/0.8437, allocations: 35.34 kB / 0.8359 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.736e-05/0.8438, allocations: 37.31 kB / 0.836 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008372/0.8446, allocations: 450.1 kB / 0.8364 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.8446, allocations: 0 / 0.8364 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.259e-05/0.8447, allocations: 21.25 kB / 0.8364 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.8447, allocations: 11.72 kB / 0.8364 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006556/0.8454, allocations: 322.7 kB / 0.8367 GB, free: 2.113 MB / 0.5919 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.00254/0.8479, allocations: 2.02 MB / 0.8387 GB, free: 288 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004254/0.8484, allocations: 229.1 kB / 0.8389 GB, free: 160 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/0.8487, allocations: 148.7 kB / 0.8391 GB, free: 84 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006581/0.8493, allocations: 311.2 kB / 0.8393 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.8494, allocations: 33.22 kB / 0.8394 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.653e-06/0.8494, allocations: 0 / 0.8394 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.001105/0.8505, allocations: 465.5 kB / 0.8398 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.8506, allocations: 62.14 kB / 0.8399 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004511/0.851, allocations: 389.6 kB / 0.8403 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/0.8511, allocations: 31.52 kB / 0.8403 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.8513, allocations: 239.5 kB / 0.8405 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.703e-05/0.8513, allocations: 81.73 kB / 0.8406 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.8515, allocations: 62.33 kB / 0.8407 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.8516, allocations: 357.3 kB / 0.841 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.8519, allocations: 111.3 kB / 0.8411 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/0.8522, allocations: 186.3 kB / 0.8413 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005248/0.8527, allocations: 313.9 kB / 0.8416 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.8528, allocations: 0 / 0.8416 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006407/0.8534, allocations: 363.5 kB / 0.8419 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.8534, allocations: 4.844 kB / 0.8419 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.8534, allocations: 2.219 kB / 0.8419 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.8535, allocations: 3.125 kB / 0.8419 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.8537, allocations: 65.25 kB / 0.842 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.8538, allocations: 2.75 kB / 0.842 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.854, allocations: 43.84 kB / 0.842 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.113e-05/0.8541, allocations: 18.09 kB / 0.8421 GB, free: 13.84 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001914/0.8543, allocations: 170.9 kB / 0.8422 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.737e-05/0.8543, allocations: 40.62 kB / 0.8423 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007101/0.8551, allocations: 368.1 kB / 0.8426 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.8551, allocations: 2.438 kB / 0.8426 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.8551, allocations: 0 / 0.8426 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.8551, allocations: 0 / 0.8426 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.8565, allocations: 0.9325 MB / 0.8435 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.8565, allocations: 6.875 kB / 0.8435 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.8567, allocations: 51 kB / 0.8436 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.513e-06/0.8567, allocations: 4.469 kB / 0.8436 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.8568, allocations: 6.875 kB / 0.8436 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.8568, allocations: 2.438 kB / 0.8436 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.8568, allocations: 6.734 kB / 0.8436 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000891/0.8577, allocations: 0.6395 MB / 0.8442 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.8579, allocations: 151.2 kB / 0.8444 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.558e-05/0.8579, allocations: 12.73 kB / 0.8444 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.8581, allocations: 9.344 kB / 0.8444 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.585e-05/0.8582, allocations: 26.03 kB / 0.8444 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.8582, allocations: 9.031 kB / 0.8444 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002653/0.8585, allocations: 283.5 kB / 0.8447 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8585, allocations: 0 / 0.8447 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004847/0.859, allocations: 108.2 kB / 0.8448 GB, free: 11.91 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004393/0.8594, allocations: 175.8 kB / 0.845 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006075/0.86, allocations: 289.2 kB / 0.8452 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.8601, allocations: 2.031 kB / 0.8452 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002592/0.8603, allocations: 149.3 kB / 0.8454 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.8614, allocations: 219.1 kB / 0.8456 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.8628, allocations: 0.816 MB / 0.8464 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.8632, allocations: 0.8277 MB / 0.8472 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003053/0.8635, allocations: 101.1 kB / 0.8473 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.975e-05/0.8636, allocations: 36.66 kB / 0.8473 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.8637, allocations: 3.938 kB / 0.8473 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of Templates: time 0.01396/0.8776, allocations: 7.667 MB / 0.8548 GB, free: 3.973 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)