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.001611/0.001612, allocations: 105.4 kB / 16.94 MB, free: 6.191 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.001298/0.001298, allocations: 189.3 kB / 17.86 MB, free: 5.293 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.451/1.451, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.808/0.808, allocations: 125.4 MB / 417.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 63.89 kB / 0.4948 GB, free: 4.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4019, allocations: 78.57 MB / 0.5715 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2119/0.6139, allocations: 179.4 MB / 0.7467 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4145/1.028, allocations: 7.826 MB / 0.7544 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008488/1.029, allocations: 19.16 kB / 0.7544 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008353/1.03, allocations: 245.7 kB / 0.7546 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00378/1.034, allocations: 1.212 MB / 0.7558 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00228/1.036, allocations: 0.7254 MB / 0.7565 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002973/1.039, allocations: 1.065 MB / 0.7575 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/1.041, allocations: 409.1 kB / 0.7579 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004043/1.045, allocations: 0.9595 MB / 0.7589 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/1.046, allocations: 426.6 kB / 0.7593 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/1.046, allocations: 37.34 kB / 0.7593 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002559/1.049, allocations: 0.9361 MB / 0.7602 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002445/1.049, allocations: 161 kB / 0.7604 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004939/1.049, allocations: 245.6 kB / 0.7606 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002109/1.051, allocations: 0.9303 MB / 0.7615 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/1.051, allocations: 1.766 kB / 0.7615 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.803e-06/1.051, allocations: 1.062 kB / 0.7615 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.04e-05/1.051, allocations: 0 / 0.7615 GB, free: 1.645 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.001614/1.053, allocations: 0.8026 MB / 0.7623 GB, free: 17.1 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/1.053, allocations: 13.84 kB / 0.7623 GB, free: 17.1 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/1.054, allocations: 153.7 kB / 0.7625 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006566/1.055, allocations: 378.2 kB / 0.7628 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.023e-05/1.055, allocations: 29.23 kB / 0.7629 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-05/1.055, allocations: 38.16 kB / 0.7629 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009169/1.056, allocations: 452.7 kB / 0.7633 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/1.056, allocations: 0.8125 kB / 0.7633 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.838e-05/1.056, allocations: 14.78 kB / 0.7633 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/1.056, allocations: 10.12 kB / 0.7633 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007332/1.057, allocations: 322.7 kB / 0.7637 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002735/1.06, allocations: 2.028 MB / 0.7656 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004591/1.06, allocations: 236.8 kB / 0.7659 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/1.06, allocations: 151.9 kB / 0.766 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007179/1.061, allocations: 308.7 kB / 0.7663 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/1.061, allocations: 35.25 kB / 0.7663 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 2.655e-06/1.061, allocations: 0.7812 kB / 0.7663 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.001167/1.062, allocations: 460.1 kB / 0.7668 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/1.062, allocations: 57.84 kB / 0.7668 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/1.063, allocations: 396.9 kB / 0.7672 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/1.063, allocations: 32.88 kB / 0.7672 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/1.063, allocations: 230.2 kB / 0.7675 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.798e-05/1.063, allocations: 87.41 kB / 0.7675 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.323e-05/1.063, allocations: 53.67 kB / 0.7676 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001861/1.063, allocations: 352.2 kB / 0.7679 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/1.064, allocations: 114.3 kB / 0.768 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/1.064, allocations: 184.6 kB / 0.7682 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004453/1.064, allocations: 306.2 kB / 0.7685 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/1.064, allocations: 0.9062 kB / 0.7685 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006311/1.065, allocations: 364.6 kB / 0.7689 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/1.065, allocations: 5.969 kB / 0.7689 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/1.065, allocations: 3.812 kB / 0.7689 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/1.065, allocations: 8.344 kB / 0.7689 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/1.065, allocations: 58.7 kB / 0.7689 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.041e-05/1.065, allocations: 5.047 kB / 0.7689 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/1.066, allocations: 41.16 kB / 0.769 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.055e-05/1.066, allocations: 14.56 kB / 0.769 GB, free: 14.06 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.0002067/1.066, allocations: 167.8 kB / 0.7691 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.453e-05/1.066, allocations: 39.12 kB / 0.7692 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007456/1.067, allocations: 368.1 kB / 0.7695 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/1.067, allocations: 10 kB / 0.7695 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/1.067, allocations: 7.172 kB / 0.7696 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/1.067, allocations: 0 / 0.7696 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/1.068, allocations: 0.9436 MB / 0.7705 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/1.068, allocations: 0.7812 kB / 0.7705 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/1.069, allocations: 49.36 kB / 0.7705 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/1.069, allocations: 7.875 kB / 0.7705 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/1.069, allocations: 7.812 kB / 0.7705 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/1.069, allocations: 3.219 kB / 0.7705 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.069, allocations: 6.125 kB / 0.7705 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/1.07, allocations: 0.6335 MB / 0.7712 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/1.07, allocations: 145.8 kB / 0.7713 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.078e-05/1.07, allocations: 8.438 kB / 0.7713 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/1.07, allocations: 9.172 kB / 0.7713 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.43e-05/1.07, allocations: 23.64 kB / 0.7713 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/1.07, allocations: 11.66 kB / 0.7714 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003608/1.071, allocations: 279.5 kB / 0.7716 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3e-07/1.071, allocations: 0.875 kB / 0.7716 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005874/1.071, allocations: 111.5 kB / 0.7717 GB, free: 13.08 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.0005108/1.072, allocations: 168.5 kB / 0.7719 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006917/1.072, allocations: 302 kB / 0.7722 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.072, allocations: 1.562 kB / 0.7722 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003188/1.073, allocations: 159.7 kB / 0.7723 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/1.074, allocations: 225.3 kB / 0.7725 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/1.075, allocations: 0.8397 MB / 0.7734 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005821/1.076, allocations: 0.825 MB / 0.7742 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/1.076, allocations: 40.64 kB / 0.7742 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/1.076, allocations: 0 / 0.7742 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of Templates: time 0.01069/1.087, allocations: 6.799 MB / 0.7808 GB, free: 11.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)