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.001301/0.001301, allocations: 105.9 kB / 15.99 MB, free: 6.348 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.001068/0.001069, allocations: 195.2 kB / 16.91 MB, free: 6.191 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.353/1.353, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7642/0.7642, allocations: 122.9 MB / 413.6 MB, free: 15.99 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001325, allocations: 63.89 kB / 0.4906 GB, free: 7.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3855, allocations: 77.91 MB / 0.5667 GB, free: 32.05 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1957/0.5813, allocations: 177 MB / 0.7396 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009157/0.5905, allocations: 7.773 MB / 0.7471 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006691/0.5912, allocations: 15.94 kB / 0.7472 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.5924, allocations: 210.8 kB / 0.7474 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003356/0.5957, allocations: 1.148 MB / 0.7485 GB, free: 248 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.3696/0.9653, allocations: 0.6577 MB / 0.7491 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001794/0.9672, allocations: 1.081 MB / 0.7502 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006354/0.9678, allocations: 389.1 kB / 0.7505 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002926/0.9708, allocations: 0.8249 MB / 0.7514 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008124/0.9716, allocations: 457.9 kB / 0.7518 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.111e-05/0.9717, allocations: 38.12 kB / 0.7518 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002234/0.9739, allocations: 0.9779 MB / 0.7528 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002715/0.9742, allocations: 167.2 kB / 0.7529 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003686/0.9746, allocations: 246.3 kB / 0.7532 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001843/0.9764, allocations: 0.9892 MB / 0.7541 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.9764, allocations: 0.7812 kB / 0.7541 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9764, allocations: 2.375 kB / 0.7541 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.9765, allocations: 3.438 kB / 0.7542 GB, free: 2.602 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.001573/0.978, allocations: 0.8045 MB / 0.7549 GB, free: 18.06 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.9781, allocations: 11.14 kB / 0.7549 GB, free: 18.06 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.9792, allocations: 151.9 kB / 0.7551 GB, free: 18.03 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006359/0.9799, allocations: 382.2 kB / 0.7555 GB, free: 17.79 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.436e-05/0.9799, allocations: 31.47 kB / 0.7555 GB, free: 17.79 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.281e-05/0.98, allocations: 35.66 kB / 0.7555 GB, free: 17.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009636/0.981, allocations: 454.6 kB / 0.756 GB, free: 17.7 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.981, allocations: 1.438 kB / 0.756 GB, free: 17.7 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/0.9811, allocations: 17.53 kB / 0.756 GB, free: 17.7 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.9811, allocations: 9.094 kB / 0.756 GB, free: 17.7 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007353/0.9818, allocations: 319.8 kB / 0.7563 GB, free: 17.69 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.002377/0.9842, allocations: 2.013 MB / 0.7583 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004336/0.9847, allocations: 241 kB / 0.7585 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.985, allocations: 146.4 kB / 0.7586 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006691/0.9856, allocations: 311.5 kB / 0.7589 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.9857, allocations: 33.06 kB / 0.7589 GB, free: 16 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 1.934e-06/0.9857, allocations: 0 / 0.7589 GB, free: 16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.001121/0.9868, allocations: 456.3 kB / 0.7594 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.9869, allocations: 54.31 kB / 0.7594 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004521/0.9873, allocations: 397.8 kB / 0.7598 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.9874, allocations: 31.23 kB / 0.7598 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.9876, allocations: 228.8 kB / 0.7601 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.452e-05/0.9877, allocations: 86.45 kB / 0.7601 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.9878, allocations: 58.39 kB / 0.7602 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.9879, allocations: 355.2 kB / 0.7605 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/0.9882, allocations: 113.9 kB / 0.7606 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/0.9886, allocations: 185.8 kB / 0.7608 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005507/0.9891, allocations: 311.8 kB / 0.7611 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.9891, allocations: 1.469 kB / 0.7611 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007181/0.9898, allocations: 361.6 kB / 0.7615 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.9899, allocations: 7.297 kB / 0.7615 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.9899, allocations: 4.719 kB / 0.7615 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.9899, allocations: 4.031 kB / 0.7615 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.9902, allocations: 59.98 kB / 0.7615 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.9903, allocations: 4.953 kB / 0.7615 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003393/0.9906, allocations: 52.2 kB / 0.7616 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.305e-05/0.9907, allocations: 15.02 kB / 0.7616 GB, free: 15.02 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.0002004/0.9909, allocations: 171.5 kB / 0.7618 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-05/0.9909, allocations: 39.75 kB / 0.7618 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008157/0.9918, allocations: 372.4 kB / 0.7622 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.9918, allocations: 2.375 kB / 0.7622 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.9918, allocations: 0.7812 kB / 0.7622 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.9918, allocations: 1.938 kB / 0.7622 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/0.9935, allocations: 0.9427 MB / 0.7631 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.9935, allocations: 3.812 kB / 0.7631 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000264/0.9938, allocations: 49.56 kB / 0.7631 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.9938, allocations: 8.469 kB / 0.7632 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.9938, allocations: 6.844 kB / 0.7632 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/0.9938, allocations: 4.406 kB / 0.7632 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.9938, allocations: 2.469 kB / 0.7632 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.9949, allocations: 0.6301 MB / 0.7638 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/0.9951, allocations: 150.7 kB / 0.7639 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.537e-05/0.9952, allocations: 14.33 kB / 0.7639 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000266/0.9955, allocations: 24.53 kB / 0.764 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.048e-05/0.9955, allocations: 17.62 kB / 0.764 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.9956, allocations: 10.02 kB / 0.764 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003477/0.9959, allocations: 280.4 kB / 0.7643 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9959, allocations: 0 / 0.7643 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005391/0.9965, allocations: 114.1 kB / 0.7644 GB, free: 14.04 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.0004516/0.9969, allocations: 174.5 kB / 0.7645 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006937/0.9976, allocations: 299.5 kB / 0.7648 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.9976, allocations: 0.9062 kB / 0.7648 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002817/0.9979, allocations: 151.3 kB / 0.765 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.999, allocations: 221 kB / 0.7652 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/1, allocations: 0.9483 MB / 0.7661 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/1.001, allocations: 0.8304 MB / 0.7669 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003407/1.001, allocations: 99.12 kB / 0.767 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/1.001, allocations: 37.84 kB / 0.767 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of SimCode: time 9.92e-07/1.001, allocations: 0 / 0.767 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of Templates: time 0.01388/1.015, allocations: 7.515 MB / 0.7744 GB, free: 12.4 MB / 0.5919 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)