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.001467/0.001467, allocations: 107.6 kB / 16.52 MB, free: 6.703 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.001691/0.001691, allocations: 199.1 kB / 17.44 MB, free: 6.066 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.387/1.387, allocations: 222.9 MB / 241.1 MB, free: 15.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7302/0.7302, allocations: 115.3 MB / 406.6 MB, free: 6.43 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 59.91 kB / 493.6 MB, free: 0.8555 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4165/0.418, allocations: 76.18 MB / 0.5564 GB, free: 36.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2003/0.6183, allocations: 177.2 MB / 0.7294 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01049/0.6289, allocations: 7.854 MB / 0.7371 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008351/0.6297, allocations: 19.88 kB / 0.7371 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009486/0.6308, allocations: 186.8 kB / 0.7372 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003804/0.6346, allocations: 1.144 MB / 0.7384 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002137/0.6368, allocations: 0.6689 MB / 0.739 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001899/0.6387, allocations: 1.536 MB / 0.7405 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007661/0.6394, allocations: 354.2 kB / 0.7409 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003288/0.6427, allocations: 0.7624 MB / 0.7416 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000947/0.6437, allocations: 458.4 kB / 0.742 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.6438, allocations: 28 kB / 0.7421 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002419/0.6463, allocations: 1.087 MB / 0.7431 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002618/0.6465, allocations: 151.5 kB / 0.7433 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004615/0.647, allocations: 238.7 kB / 0.7435 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.6484, allocations: 0.6588 MB / 0.7441 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.6484, allocations: 0 / 0.7441 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6484, allocations: 0 / 0.7441 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.045e-05/0.6484, allocations: 0 / 0.7441 GB, free: 3.871 MB / 0.5762 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.001734/0.6502, allocations: 0.8027 MB / 0.7449 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.6502, allocations: 11.97 kB / 0.7449 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.6514, allocations: 163.1 kB / 0.7451 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006375/0.652, allocations: 371.5 kB / 0.7454 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.6521, allocations: 29 kB / 0.7455 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.635e-05/0.6521, allocations: 36 kB / 0.7455 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008069/0.653, allocations: 458.3 kB / 0.7459 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.653, allocations: 0 / 0.7459 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.08e-05/0.653, allocations: 19.94 kB / 0.746 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.6531, allocations: 8 kB / 0.746 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006736/0.6537, allocations: 319.7 kB / 0.7463 GB, free: 1.566 MB / 0.5762 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.3676/1.021, allocations: 2.01 MB / 0.7482 GB, free: 176.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005589/1.022, allocations: 237 kB / 0.7485 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003164/1.022, allocations: 149.9 kB / 0.7486 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006186/1.023, allocations: 309.9 kB / 0.7489 GB, free: 175.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/1.023, allocations: 40.31 kB / 0.7489 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=24): time 1.964e-06/1.023, allocations: 0 / 0.7489 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24): time 0.001246/1.024, allocations: 452.5 kB / 0.7494 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/1.024, allocations: 53.72 kB / 0.7494 GB, free: 175.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005226/1.025, allocations: 395.7 kB / 0.7498 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/1.025, allocations: 31.58 kB / 0.7498 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/1.025, allocations: 231.9 kB / 0.7501 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.121e-05/1.025, allocations: 87.03 kB / 0.7501 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/1.025, allocations: 54.89 kB / 0.7502 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.269e-05/1.025, allocations: 357.7 kB / 0.7505 GB, free: 174.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/1.025, allocations: 113.7 kB / 0.7506 GB, free: 174.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/1.026, allocations: 181.1 kB / 0.7508 GB, free: 174.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005626/1.026, allocations: 309.7 kB / 0.7511 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/1.026, allocations: 0.5312 kB / 0.7511 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000667/1.027, allocations: 364.6 kB / 0.7515 GB, free: 174.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/1.027, allocations: 5.125 kB / 0.7515 GB, free: 174.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.027, allocations: 7.453 kB / 0.7515 GB, free: 174.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/1.027, allocations: 4.234 kB / 0.7515 GB, free: 174.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/1.027, allocations: 56.7 kB / 0.7515 GB, free: 174.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/1.027, allocations: 8.203 kB / 0.7515 GB, free: 174.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003287/1.028, allocations: 55.03 kB / 0.7516 GB, free: 174.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-05/1.028, allocations: 16.75 kB / 0.7516 GB, free: 174.3 MB / 0.5762 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.0001744/1.028, allocations: 170.3 kB / 0.7518 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.532e-05/1.028, allocations: 40.66 kB / 0.7518 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007424/1.029, allocations: 370 kB / 0.7522 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.029, allocations: 3.812 kB / 0.7522 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.029, allocations: 0 / 0.7522 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.029, allocations: 1.031 kB / 0.7522 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/1.03, allocations: 0.934 MB / 0.7531 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/1.03, allocations: 1.719 kB / 0.7531 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/1.031, allocations: 50.98 kB / 0.7531 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/1.031, allocations: 5.344 kB / 0.7531 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/1.031, allocations: 5.281 kB / 0.7531 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/1.031, allocations: 6.531 kB / 0.7531 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/1.031, allocations: 11 kB / 0.7532 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/1.032, allocations: 0.6194 MB / 0.7538 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/1.032, allocations: 155.9 kB / 0.7539 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.109e-05/1.032, allocations: 11.88 kB / 0.7539 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/1.032, allocations: 19.11 kB / 0.7539 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.365e-05/1.032, allocations: 24.73 kB / 0.754 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/1.032, allocations: 12.69 kB / 0.754 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003909/1.033, allocations: 282.8 kB / 0.7542 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.033, allocations: 0.5938 kB / 0.7542 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005274/1.033, allocations: 114.2 kB / 0.7543 GB, free: 172.7 MB / 0.5762 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.0004553/1.034, allocations: 167.7 kB / 0.7545 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006368/1.035, allocations: 287.2 kB / 0.7548 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.035, allocations: 0 / 0.7548 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002924/1.035, allocations: 154.3 kB / 0.7549 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/1.036, allocations: 214.6 kB / 0.7551 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/1.037, allocations: 0.9808 MB / 0.7561 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/1.038, allocations: 0.8271 MB / 0.7569 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/1.038, allocations: 37.22 kB / 0.7569 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/1.038, allocations: 4.188 kB / 0.7569 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.01587/1.054, allocations: 6.801 MB / 0.7636 GB, free: 170.6 MB / 0.5762 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)