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.000986/0.0009859, allocations: 98.58 kB / 16.02 MB, free: 80 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.0008862/0.0008862, allocations: 185 kB / 16.92 MB, free: 6.773 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.444/1.444, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7274/0.7274, allocations: 123 MB / 415.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003567, allocations: 15.98 kB / 0.4933 GB, free: 13.95 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4739/0.4743, allocations: 79.27 MB / 0.5707 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2154/0.6897, allocations: 174.8 MB / 0.7415 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01057/0.7004, allocations: 7.759 MB / 0.749 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007541/0.7012, allocations: 15.88 kB / 0.7491 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008782/0.7021, allocations: 190.8 kB / 0.7492 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004039/0.7061, allocations: 1.144 MB / 0.7504 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002318/0.7085, allocations: 0.6703 MB / 0.751 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00198/0.7105, allocations: 1.536 MB / 0.7525 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008767/0.7114, allocations: 341.7 kB / 0.7528 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003644/0.715, allocations: 0.7478 MB / 0.7536 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.7161, allocations: 442.4 kB / 0.754 GB, free: 472 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.7162, allocations: 24 kB / 0.754 GB, free: 448 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002442/0.7187, allocations: 1.087 MB / 0.7551 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002633/0.7189, allocations: 143.4 kB / 0.7552 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005036/0.7195, allocations: 248.5 kB / 0.7554 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002162/0.7216, allocations: 0.9735 MB / 0.7564 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.7216, allocations: 4 kB / 0.7564 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7216, allocations: 0 / 0.7564 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.151e-05/0.7217, allocations: 0 / 0.7564 GB, free: 13.98 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.001444/0.7231, allocations: 0.7215 MB / 0.7571 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.7232, allocations: 8.031 kB / 0.7571 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.7242, allocations: 163.2 kB / 0.7573 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000565/0.7248, allocations: 379.4 kB / 0.7576 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.854e-05/0.7249, allocations: 33 kB / 0.7577 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.408e-05/0.7249, allocations: 36 kB / 0.7577 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007825/0.7257, allocations: 454.4 kB / 0.7581 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.7257, allocations: 4 kB / 0.7581 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/0.7258, allocations: 19.94 kB / 0.7582 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.7258, allocations: 8 kB / 0.7582 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000628/0.7264, allocations: 327.7 kB / 0.7585 GB, free: 11.74 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.002322/0.7288, allocations: 2.031 MB / 0.7605 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004394/0.7292, allocations: 238.5 kB / 0.7607 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/0.7295, allocations: 152.8 kB / 0.7608 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006652/0.7302, allocations: 319.2 kB / 0.7611 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.7302, allocations: 34.56 kB / 0.7612 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 2.254e-06/0.7302, allocations: 0 / 0.7612 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.001086/0.7313, allocations: 479.4 kB / 0.7616 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.7314, allocations: 55.41 kB / 0.7617 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004404/0.7318, allocations: 394 kB / 0.7621 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.7319, allocations: 29.7 kB / 0.7621 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.7321, allocations: 236.2 kB / 0.7623 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.08e-05/0.7322, allocations: 82.75 kB / 0.7624 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/0.7322, allocations: 29.7 kB / 0.7624 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.7324, allocations: 354.7 kB / 0.7628 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.7326, allocations: 119.9 kB / 0.7629 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/0.7329, allocations: 194.6 kB / 0.7631 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000528/0.7335, allocations: 322.7 kB / 0.7634 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.7335, allocations: 0 / 0.7634 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006598/0.7341, allocations: 380.8 kB / 0.7637 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.7342, allocations: 6.188 kB / 0.7637 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.7342, allocations: 4 kB / 0.7637 GB, free: 6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.7342, allocations: 4 kB / 0.7637 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.7345, allocations: 59.91 kB / 0.7638 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.7345, allocations: 7.984 kB / 0.7638 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/0.7348, allocations: 63.69 kB / 0.7639 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.7349, allocations: 8 kB / 0.7639 GB, free: 5.859 MB / 0.5919 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.0002217/0.7351, allocations: 165.7 kB / 0.764 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-05/0.7352, allocations: 43.53 kB / 0.7641 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007845/0.736, allocations: 381 kB / 0.7644 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.736, allocations: 4 kB / 0.7644 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.736, allocations: 0 / 0.7644 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.736, allocations: 3.984 kB / 0.7644 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.7375, allocations: 0.9526 MB / 0.7654 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.7375, allocations: 0 / 0.7654 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/0.7378, allocations: 47.92 kB / 0.7654 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.156e-06/0.7378, allocations: 7.938 kB / 0.7654 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/0.7378, allocations: 11.98 kB / 0.7654 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.7378, allocations: 0 / 0.7654 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.7378, allocations: 4 kB / 0.7654 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009783/0.7388, allocations: 0.641 MB / 0.7661 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.739, allocations: 152.4 kB / 0.7662 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.767e-05/0.739, allocations: 8 kB / 0.7662 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.7393, allocations: 28.05 kB / 0.7662 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/0.7394, allocations: 23.97 kB / 0.7663 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.7394, allocations: 7.938 kB / 0.7663 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002834/0.7397, allocations: 283.1 kB / 0.7665 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7397, allocations: 4 kB / 0.7665 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004729/0.7402, allocations: 111.8 kB / 0.7667 GB, free: 2.855 MB / 0.5919 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.0004409/0.7406, allocations: 175.7 kB / 0.7668 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006287/0.7413, allocations: 299.5 kB / 0.7671 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.7413, allocations: 0 / 0.7671 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002856/0.7416, allocations: 167.2 kB / 0.7673 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.7428, allocations: 210.1 kB / 0.7675 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.7443, allocations: 0.9765 MB / 0.7684 GB, free: 1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.7447, allocations: 0.8314 MB / 0.7692 GB, free: 144 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003126/0.745, allocations: 99.39 kB / 0.7693 GB, free: 44 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.354e-05/0.7451, allocations: 35.44 kB / 0.7694 GB, free: 8 kB / 0.5919 GB Notification: Performance of SimCode: time 2.51e-07/0.7451, allocations: 0 / 0.7694 GB, free: 8 kB / 0.5919 GB Notification: Performance of Templates: time 0.01418/0.7593, allocations: 7.193 MB / 0.7764 GB, free: 8.93 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)