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.001/0.001, allocations: 106.4 kB / 17.03 MB, free: 5.656 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.0009838/0.0009838, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.252/1.252, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7115/0.7115, allocations: 115.1 MB / 406.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001146, allocations: 63.91 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3365, allocations: 76.14 MB / 0.5576 GB, free: 36.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1837/0.5203, allocations: 179.4 MB / 0.7327 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008766/0.5291, allocations: 7.83 MB / 0.7404 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005614/0.5297, allocations: 19.88 kB / 0.7404 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007427/0.5305, allocations: 246.2 kB / 0.7406 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003183/0.5337, allocations: 1.221 MB / 0.7418 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001707/0.5354, allocations: 0.7336 MB / 0.7425 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001236/0.5367, allocations: 1.08 MB / 0.7436 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006208/0.5373, allocations: 405.4 kB / 0.744 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002367/0.5397, allocations: 0.8368 MB / 0.7448 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006511/0.5403, allocations: 438.5 kB / 0.7452 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.008e-05/0.5404, allocations: 36 kB / 0.7453 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001776/0.5422, allocations: 0.9431 MB / 0.7462 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.5424, allocations: 163.5 kB / 0.7463 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002692/0.5427, allocations: 246.8 kB / 0.7466 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.5441, allocations: 0.9465 MB / 0.7475 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.5441, allocations: 0 / 0.7475 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5441, allocations: 0 / 0.7475 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.5441, allocations: 4 kB / 0.7475 GB, free: 1.469 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.001127/0.5452, allocations: 0.7987 MB / 0.7483 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.5453, allocations: 12.03 kB / 0.7483 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009056/0.5462, allocations: 155.2 kB / 0.7484 GB, free: 468 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005892/0.5468, allocations: 395.5 kB / 0.7488 GB, free: 32 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.5468, allocations: 29 kB / 0.7488 GB, free: 0 / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2423/0.7891, allocations: 33.89 kB / 0.7489 GB, free: 177.9 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.7902, allocations: 447.2 kB / 0.7493 GB, free: 177.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.7903, allocations: 3.875 kB / 0.7493 GB, free: 177.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.105e-05/0.7903, allocations: 20.56 kB / 0.7493 GB, free: 177.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.7903, allocations: 8.875 kB / 0.7493 GB, free: 177.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007574/0.7911, allocations: 321.8 kB / 0.7496 GB, free: 177.6 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.002521/0.7936, allocations: 2.015 MB / 0.7516 GB, free: 176 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004892/0.7941, allocations: 239.4 kB / 0.7518 GB, free: 175.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/0.7944, allocations: 150.5 kB / 0.752 GB, free: 175.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005851/0.795, allocations: 309.2 kB / 0.7523 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.7951, allocations: 36.34 kB / 0.7523 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=24): time 2.455e-06/0.7951, allocations: 0 / 0.7523 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24): time 0.001133/0.7962, allocations: 459.2 kB / 0.7527 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.7963, allocations: 54.91 kB / 0.7528 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004621/0.7967, allocations: 401.1 kB / 0.7532 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.7968, allocations: 27.48 kB / 0.7532 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.7969, allocations: 226.8 kB / 0.7534 GB, free: 174.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.936e-05/0.797, allocations: 88.2 kB / 0.7535 GB, free: 174.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.747e-05/0.7971, allocations: 54.94 kB / 0.7536 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.457e-05/0.7972, allocations: 352.9 kB / 0.7539 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.7974, allocations: 113.4 kB / 0.754 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.7977, allocations: 177.1 kB / 0.7542 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005162/0.7982, allocations: 310.5 kB / 0.7545 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.7983, allocations: 1.828 kB / 0.7545 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007066/0.799, allocations: 370.4 kB / 0.7548 GB, free: 174 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.799, allocations: 7.812 kB / 0.7548 GB, free: 174 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.799, allocations: 6.797 kB / 0.7548 GB, free: 174 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.7991, allocations: 7.219 kB / 0.7548 GB, free: 174 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.7993, allocations: 56.22 kB / 0.7549 GB, free: 174 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.7994, allocations: 7.516 kB / 0.7549 GB, free: 174 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.7996, allocations: 36.42 kB / 0.7549 GB, free: 174 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.126e-05/0.7997, allocations: 16.23 kB / 0.755 GB, free: 174 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.000159/0.7999, allocations: 163.7 kB / 0.7551 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.875e-05/0.7999, allocations: 39.56 kB / 0.7551 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007334/0.8007, allocations: 375 kB / 0.7555 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.8007, allocations: 6.891 kB / 0.7555 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.8007, allocations: 0.9375 kB / 0.7555 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.8007, allocations: 2.141 kB / 0.7555 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.8022, allocations: 0.9368 MB / 0.7564 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.8022, allocations: 1.688 kB / 0.7564 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002636/0.8025, allocations: 53.2 kB / 0.7565 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.8025, allocations: 4 kB / 0.7565 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.8025, allocations: 8.891 kB / 0.7565 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.8025, allocations: 3.062 kB / 0.7565 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.8025, allocations: 3.297 kB / 0.7565 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008575/0.8034, allocations: 0.632 MB / 0.7571 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.8036, allocations: 147.7 kB / 0.7573 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.292e-05/0.8036, allocations: 10.17 kB / 0.7573 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.8038, allocations: 7.484 kB / 0.7573 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-05/0.8039, allocations: 25.25 kB / 0.7573 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.8039, allocations: 16.3 kB / 0.7573 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002746/0.8042, allocations: 279.9 kB / 0.7576 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8042, allocations: 0 / 0.7576 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004482/0.8047, allocations: 113.4 kB / 0.7577 GB, free: 172.5 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.0003905/0.8051, allocations: 169.6 kB / 0.7579 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005583/0.8056, allocations: 286.8 kB / 0.7581 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.8056, allocations: 3.469 kB / 0.7581 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002572/0.8059, allocations: 151.5 kB / 0.7583 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.8069, allocations: 218.8 kB / 0.7585 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.8081, allocations: 0.8093 MB / 0.7593 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.8084, allocations: 0.8254 MB / 0.7601 GB, free: 171 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002778/0.8087, allocations: 99.77 kB / 0.7602 GB, free: 171 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.973e-05/0.8088, allocations: 37.92 kB / 0.7602 GB, free: 171 MB / 0.5762 GB Notification: Performance of SimCode: time 3.91e-07/0.8088, allocations: 0 / 0.7602 GB, free: 171 MB / 0.5762 GB Notification: Performance of Templates: time 0.01628/0.8251, allocations: 7.605 MB / 0.7676 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)