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.001457/0.001457, allocations: 111.2 kB / 17.03 MB, free: 5.77 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: 195 kB / 17.98 MB, free: 5.008 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.652/1.652, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7093/0.7093, allocations: 115.1 MB / 406.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 72.11 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3292, allocations: 76.14 MB / 0.5576 GB, free: 36.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1762/0.5055, allocations: 179.4 MB / 0.7327 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008785/0.5143, allocations: 7.826 MB / 0.7404 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005081/0.5149, allocations: 23.88 kB / 0.7404 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006445/0.5155, allocations: 250.1 kB / 0.7406 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002691/0.5182, allocations: 1.221 MB / 0.7418 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.5199, allocations: 0.7296 MB / 0.7426 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001158/0.521, allocations: 1.08 MB / 0.7436 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000526/0.5216, allocations: 401.4 kB / 0.744 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002021/0.5236, allocations: 0.8381 MB / 0.7448 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005587/0.5242, allocations: 442.4 kB / 0.7452 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.768e-05/0.5242, allocations: 36 kB / 0.7453 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001545/0.5258, allocations: 0.9471 MB / 0.7462 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.526, allocations: 163.5 kB / 0.7463 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002416/0.5262, allocations: 246.8 kB / 0.7466 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.5274, allocations: 0.9465 MB / 0.7475 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.5274, allocations: 0 / 0.7475 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.273e-06/0.5274, allocations: 0 / 0.7475 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.5274, allocations: 0 / 0.7475 GB, free: 1.449 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.001045/0.5285, allocations: 0.7949 MB / 0.7483 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.5285, allocations: 16.03 kB / 0.7483 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000909/0.5294, allocations: 151.2 kB / 0.7484 GB, free: 452 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005983/0.53, allocations: 399.4 kB / 0.7488 GB, free: 12 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2203/0.7504, allocations: 32.67 kB / 0.7489 GB, free: 177.9 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.7506, allocations: 36.78 kB / 0.7489 GB, free: 177.9 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008202/0.7514, allocations: 445.3 kB / 0.7493 GB, free: 177.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.7514, allocations: 4.5 kB / 0.7493 GB, free: 177.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/0.7514, allocations: 21.06 kB / 0.7493 GB, free: 177.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.7515, allocations: 10.39 kB / 0.7493 GB, free: 177.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006535/0.7521, allocations: 317.3 kB / 0.7497 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.002074/0.7542, allocations: 2.012 MB / 0.7516 GB, free: 176 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003982/0.7546, allocations: 243.1 kB / 0.7518 GB, free: 175.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/0.7549, allocations: 146.5 kB / 0.752 GB, free: 175.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000534/0.7554, allocations: 305.9 kB / 0.7523 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.437e-05/0.7554, allocations: 37.66 kB / 0.7523 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=24): time 1.553e-06/0.7555, allocations: 0 / 0.7523 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24): time 0.001005/0.7565, allocations: 456.1 kB / 0.7528 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.173e-05/0.7565, allocations: 59.28 kB / 0.7528 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003798/0.7569, allocations: 401.4 kB / 0.7532 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.7569, allocations: 26.95 kB / 0.7532 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.757, allocations: 229.9 kB / 0.7534 GB, free: 174.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.355e-05/0.7571, allocations: 83.88 kB / 0.7535 GB, free: 174.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.287e-05/0.7572, allocations: 59.22 kB / 0.7536 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.676e-05/0.7573, allocations: 350.1 kB / 0.7539 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.7575, allocations: 112.5 kB / 0.754 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/0.7578, allocations: 178.3 kB / 0.7542 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005062/0.7583, allocations: 312.5 kB / 0.7545 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.7583, allocations: 0.875 kB / 0.7545 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006361/0.759, allocations: 364.7 kB / 0.7548 GB, free: 174 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.759, allocations: 10.28 kB / 0.7548 GB, free: 174 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.759, allocations: 6.594 kB / 0.7548 GB, free: 174 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.759, allocations: 3.812 kB / 0.7548 GB, free: 174 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/0.7593, allocations: 60.77 kB / 0.7549 GB, free: 174 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.7593, allocations: 4.562 kB / 0.7549 GB, free: 174 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.7596, allocations: 38.34 kB / 0.7549 GB, free: 174 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.922e-05/0.7596, allocations: 18.05 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.0001532/0.7598, allocations: 163.2 kB / 0.7551 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-05/0.7599, allocations: 39.81 kB / 0.7552 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007488/0.7606, allocations: 377.4 kB / 0.7555 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.7606, allocations: 3.641 kB / 0.7555 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.7606, allocations: 0.8438 kB / 0.7555 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.7607, allocations: 2.125 kB / 0.7555 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.7622, allocations: 0.9427 MB / 0.7564 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.7622, allocations: 1.25 kB / 0.7564 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002657/0.7625, allocations: 44.55 kB / 0.7565 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.7625, allocations: 6.016 kB / 0.7565 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.7625, allocations: 7.906 kB / 0.7565 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.7625, allocations: 7.875 kB / 0.7565 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.7625, allocations: 2.75 kB / 0.7565 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00088/0.7634, allocations: 0.6277 MB / 0.7571 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/0.7636, allocations: 145.5 kB / 0.7573 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.841e-05/0.7637, allocations: 11.92 kB / 0.7573 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.7639, allocations: 11.55 kB / 0.7573 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.357e-05/0.764, allocations: 21.05 kB / 0.7573 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.764, allocations: 13.47 kB / 0.7573 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002594/0.7643, allocations: 279.2 kB / 0.7576 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7643, allocations: 0 / 0.7576 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004489/0.7647, allocations: 116.8 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.0003334/0.7651, allocations: 165.2 kB / 0.7579 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005459/0.7656, allocations: 286.7 kB / 0.7581 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7656, allocations: 0.5 kB / 0.7581 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002576/0.7659, allocations: 150.4 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.001011/0.7669, allocations: 230.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.001186/0.7681, allocations: 0.7983 MB / 0.7593 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.7684, allocations: 0.8308 MB / 0.7601 GB, free: 171 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002791/0.7687, allocations: 100.3 kB / 0.7602 GB, free: 171 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.275e-05/0.7688, allocations: 34.92 kB / 0.7602 GB, free: 171 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.7688, allocations: 0 / 0.7602 GB, free: 171 MB / 0.5762 GB Notification: Performance of Templates: time 0.0141/0.7829, allocations: 7.619 MB / 0.7677 GB, free: 170.5 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)