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.000884/0.0008844, allocations: 93.19 kB / 16.02 MB, free: 84 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.0009591/0.0009593, allocations: 172.8 kB / 16.91 MB, free: 6.684 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.431/1.431, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7072/0.7072, allocations: 115.4 MB / 407.4 MB, free: 2.801 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003053/0.0003053, allocations: 8 kB / 495.7 MB, free: 6.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1447, allocations: 77.51 MB / 0.5598 GB, free: 9.168 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.514/0.6588, allocations: 174.8 MB / 0.7305 GB, free: 8.148 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01005/0.6689, allocations: 7.763 MB / 0.7381 GB, free: 372 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007193/0.6696, allocations: 19.88 kB / 0.7381 GB, free: 352 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007691/0.6704, allocations: 186.8 kB / 0.7383 GB, free: 164 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003545/0.674, allocations: 1.144 MB / 0.7394 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002214/0.6763, allocations: 0.6725 MB / 0.7401 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002363/0.6786, allocations: 1.532 MB / 0.7416 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000859/0.6795, allocations: 349.8 kB / 0.7419 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003385/0.6829, allocations: 0.7543 MB / 0.7426 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.6841, allocations: 442.4 kB / 0.743 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.6842, allocations: 24 kB / 0.7431 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002615/0.6868, allocations: 1.083 MB / 0.7441 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002714/0.6871, allocations: 147.5 kB / 0.7443 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004776/0.6876, allocations: 252.5 kB / 0.7445 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00202/0.6896, allocations: 0.9697 MB / 0.7455 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.6896, allocations: 3.938 kB / 0.7455 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.304e-06/0.6896, allocations: 3.938 kB / 0.7455 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.8e-05/0.6897, allocations: 0 / 0.7455 GB, free: 8.797 MB / 0.5606 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.001511/0.6912, allocations: 0.7216 MB / 0.7462 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.6913, allocations: 8.031 kB / 0.7462 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.6924, allocations: 159.1 kB / 0.7463 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006343/0.693, allocations: 379.4 kB / 0.7467 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.608e-05/0.6931, allocations: 29 kB / 0.7467 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.852e-05/0.6931, allocations: 36 kB / 0.7468 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000786/0.6939, allocations: 458.4 kB / 0.7472 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.694, allocations: 0 / 0.7472 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.122e-05/0.694, allocations: 19.94 kB / 0.7472 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.694, allocations: 12 kB / 0.7472 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006194/0.6946, allocations: 331.7 kB / 0.7475 GB, free: 6.559 MB / 0.5606 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.002345/0.697, allocations: 2.019 MB / 0.7495 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000421/0.6974, allocations: 245.9 kB / 0.7497 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.6977, allocations: 156.8 kB / 0.7499 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006611/0.6984, allocations: 319.2 kB / 0.7502 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.6984, allocations: 42.56 kB / 0.7502 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/0.6984, allocations: 0 / 0.7502 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24): time 0.001103/0.6996, allocations: 473.2 kB / 0.7507 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.6996, allocations: 51.41 kB / 0.7507 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004512/0.7001, allocations: 398 kB / 0.7511 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/0.7001, allocations: 33.64 kB / 0.7512 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.7003, allocations: 232.2 kB / 0.7514 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.242e-05/0.7004, allocations: 74.77 kB / 0.7514 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.473e-05/0.7005, allocations: 29.7 kB / 0.7515 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.7006, allocations: 358.7 kB / 0.7518 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/0.7009, allocations: 119.9 kB / 0.7519 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003123/0.7012, allocations: 186.8 kB / 0.7521 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005473/0.7018, allocations: 321.5 kB / 0.7524 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.7018, allocations: 0 / 0.7524 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007402/0.7026, allocations: 380.7 kB / 0.7528 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.7026, allocations: 4 kB / 0.7528 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.7026, allocations: 4 kB / 0.7528 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.7026, allocations: 4 kB / 0.7528 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.7029, allocations: 59.91 kB / 0.7528 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.7029, allocations: 224 / 0.7528 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003319/0.7033, allocations: 61.02 kB / 0.7529 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/0.7033, allocations: 12 kB / 0.7529 GB, free: 0.6992 MB / 0.5606 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.0001919/0.7035, allocations: 169.6 kB / 0.7531 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.084e-05/0.7036, allocations: 43.44 kB / 0.7531 GB, free: 492 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007694/0.7044, allocations: 379.4 kB / 0.7535 GB, free: 104 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.912e-06/0.7044, allocations: 4 kB / 0.7535 GB, free: 100 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.7044, allocations: 0 / 0.7535 GB, free: 100 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.7044, allocations: 3.984 kB / 0.7535 GB, free: 96 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.7061, allocations: 0.9565 MB / 0.7544 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.7061, allocations: 0 / 0.7544 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.7064, allocations: 51.92 kB / 0.7545 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.7064, allocations: 7.938 kB / 0.7545 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.7064, allocations: 11.98 kB / 0.7545 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.7064, allocations: 0 / 0.7545 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7064, allocations: 8.219 kB / 0.7545 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.7076, allocations: 0.6341 MB / 0.7551 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.7078, allocations: 152.5 kB / 0.7553 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.894e-05/0.7078, allocations: 8.062 kB / 0.7553 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/0.7081, allocations: 23.97 kB / 0.7553 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.692e-05/0.7082, allocations: 27.86 kB / 0.7553 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.7082, allocations: 12 kB / 0.7553 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002942/0.7085, allocations: 279.1 kB / 0.7556 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7085, allocations: 0 / 0.7556 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000603/0.7091, allocations: 115.7 kB / 0.7557 GB, free: 13.69 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.0003973/0.7095, allocations: 169.8 kB / 0.7559 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007097/0.7102, allocations: 295.6 kB / 0.7562 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.7103, allocations: 0 / 0.7562 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002871/0.7106, allocations: 160.7 kB / 0.7563 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.7118, allocations: 212.8 kB / 0.7565 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.7134, allocations: 0.9919 MB / 0.7575 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/0.7139, allocations: 0.8236 MB / 0.7583 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004095/0.7143, allocations: 99.41 kB / 0.7584 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.7144, allocations: 31.44 kB / 0.7584 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/0.7144, allocations: 0 / 0.7584 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of Templates: time 0.0141/0.7285, allocations: 7.203 MB / 0.7654 GB, free: 3.785 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)