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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 186.6 kB / 16.63 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4564/0.4564, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 349.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 103.2 kB / 420 MB, free: 8.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001078, allocations: 51.92 kB / 0.4891 GB, free: 7.703 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.4177, allocations: 70.07 MB / 0.5575 GB, free: 44.81 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.545/0.9628, allocations: 177.1 MB / 0.7305 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.007991/0.9709, allocations: 7.859 MB / 0.7382 GB, free: 1.355 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007291/0.9716, allocations: 19.78 kB / 0.7382 GB, free: 1.355 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0007125/0.9724, allocations: 186.1 kB / 0.7384 GB, free: 1.352 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002949/0.9754, allocations: 1.149 MB / 0.7395 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.9773, allocations: 0.6675 MB / 0.7401 GB, free: 1.262 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002081/0.9793, allocations: 1.552 MB / 0.7416 GB, free: 1.262 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005624/0.9799, allocations: 340 kB / 0.742 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002924/0.9829, allocations: 0.7712 MB / 0.7427 GB, free: 1.203 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006817/0.9835, allocations: 456.2 kB / 0.7432 GB, free: 1.199 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 6.401e-05/0.9836, allocations: 27.12 kB / 0.7432 GB, free: 1.199 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002147/0.9858, allocations: 1.083 MB / 0.7442 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.000182/0.986, allocations: 154.7 kB / 0.7444 GB, free: 1.184 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003007/0.9863, allocations: 235 kB / 0.7446 GB, free: 1.184 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001572/0.9878, allocations: 0.9764 MB / 0.7456 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.9879, allocations: 4 kB / 0.7456 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.056e-06/0.9879, allocations: 2.859 kB / 0.7456 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.9879, allocations: 1.203 kB / 0.7456 GB, free: 1.121 MB / 0.5105 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.001203/0.9891, allocations: 0.7983 MB / 0.7464 GB, free: 16.58 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.9891, allocations: 10.94 kB / 0.7464 GB, free: 16.58 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008642/0.99, allocations: 151.1 kB / 0.7465 GB, free: 16.55 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005713/0.9906, allocations: 375.2 kB / 0.7469 GB, free: 16.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.9906, allocations: 35.03 kB / 0.7469 GB, free: 16.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.762e-05/0.9907, allocations: 34.75 kB / 0.7469 GB, free: 16.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006359/0.9913, allocations: 446.7 kB / 0.7474 GB, free: 16.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.9914, allocations: 4.203 kB / 0.7474 GB, free: 16.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.9914, allocations: 21.95 kB / 0.7474 GB, free: 16.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.9914, allocations: 8.438 kB / 0.7474 GB, free: 16.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005537/0.992, allocations: 322.2 kB / 0.7477 GB, free: 16.19 MB / 0.5261 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.002006/0.994, allocations: 2.017 MB / 0.7497 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000362/0.9944, allocations: 238.1 kB / 0.7499 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.9946, allocations: 148.8 kB / 0.75 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005478/0.9952, allocations: 306.6 kB / 0.7503 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.9952, allocations: 39.22 kB / 0.7504 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=24): time 1.483e-06/0.9952, allocations: 0 / 0.7504 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24): time 0.000937/0.9962, allocations: 447 kB / 0.7508 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.9962, allocations: 61.44 kB / 0.7509 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003731/0.9966, allocations: 404 kB / 0.7512 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.9966, allocations: 31.52 kB / 0.7513 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.9968, allocations: 222.4 kB / 0.7515 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.573e-05/0.9968, allocations: 90.55 kB / 0.7516 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.826e-05/0.9969, allocations: 51.22 kB / 0.7516 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.9971, allocations: 352 kB / 0.752 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.9973, allocations: 118.1 kB / 0.7521 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.9976, allocations: 187.7 kB / 0.7522 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004593/0.9981, allocations: 311.1 kB / 0.7525 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.9981, allocations: 3.312 kB / 0.7525 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005964/0.9987, allocations: 365.3 kB / 0.7529 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.9987, allocations: 4.719 kB / 0.7529 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.9987, allocations: 3.219 kB / 0.7529 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.9987, allocations: 2.812 kB / 0.7529 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/0.999, allocations: 64.28 kB / 0.753 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.999, allocations: 5.031 kB / 0.753 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.9993, allocations: 60.7 kB / 0.753 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/0.9993, allocations: 13.52 kB / 0.753 GB, free: 13.45 MB / 0.5261 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.0001683/0.9995, allocations: 166.8 kB / 0.7532 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.248e-05/0.9996, allocations: 38.16 kB / 0.7532 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006776/1, allocations: 370 kB / 0.7536 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/1, allocations: 6.406 kB / 0.7536 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1, allocations: 0 / 0.7536 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1, allocations: 0 / 0.7536 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/1.002, allocations: 0.9403 MB / 0.7545 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/1.002, allocations: 4 kB / 0.7545 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/1.002, allocations: 49.48 kB / 0.7546 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/1.002, allocations: 2.75 kB / 0.7546 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/1.002, allocations: 8.125 kB / 0.7546 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/1.002, allocations: 10.28 kB / 0.7546 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.002, allocations: 3.406 kB / 0.7546 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005009/1.007, allocations: 2.538 MB / 0.7571 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/1.007, allocations: 149.5 kB / 0.7572 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.488e-05/1.007, allocations: 13.52 kB / 0.7572 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/1.007, allocations: 26.94 kB / 0.7572 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.044e-05/1.007, allocations: 17.42 kB / 0.7573 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/1.007, allocations: 12.03 kB / 0.7573 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002909/1.008, allocations: 283.3 kB / 0.7575 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/1.008, allocations: 4 kB / 0.7576 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000653/1.008, allocations: 152.2 kB / 0.7577 GB, free: 11.52 MB / 0.5261 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.0004369/1.009, allocations: 175.6 kB / 0.7579 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005248/1.009, allocations: 282 kB / 0.7581 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.009, allocations: 0 / 0.7581 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002452/1.01, allocations: 151.5 kB / 0.7583 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/1.011, allocations: 212.1 kB / 0.7585 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/1.012, allocations: 1.141 MB / 0.7596 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/1.013, allocations: 0.8361 MB / 0.7604 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003144/1.013, allocations: 97.2 kB / 0.7605 GB, free: 9.965 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.929e-05/1.013, allocations: 35 kB / 0.7605 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of SimCode: time 3.7e-07/1.013, allocations: 0 / 0.7605 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of Templates: time 0.01349/1.027, allocations: 7.453 MB / 0.7678 GB, free: 8.539 MB / 0.5261 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)