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: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 99.75 kB / 16.27 MB, free: 5.93 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.001147/0.001147, allocations: 188.5 kB / 17.2 MB, free: 5.574 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.275/1.275, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7375/0.7375, allocations: 122.9 MB / 413.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 59.89 kB / 0.4912 GB, free: 7.285 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.339, allocations: 77.92 MB / 0.5673 GB, free: 32.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1772/0.5163, allocations: 179.4 MB / 0.7425 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3062/0.8225, allocations: 7.813 MB / 0.7501 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005917/0.8231, allocations: 20.28 kB / 0.7501 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006918/0.8238, allocations: 243.8 kB / 0.7503 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00344/0.8274, allocations: 1.223 MB / 0.7515 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001974/0.8294, allocations: 0.7279 MB / 0.7523 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001563/0.8309, allocations: 1.073 MB / 0.7533 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009585/0.8319, allocations: 411.2 kB / 0.7537 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002417/0.8343, allocations: 0.8298 MB / 0.7545 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008366/0.8352, allocations: 431.5 kB / 0.7549 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.8353, allocations: 37.34 kB / 0.7549 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00196/0.8373, allocations: 0.9422 MB / 0.7559 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002442/0.8375, allocations: 162.2 kB / 0.756 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004753/0.838, allocations: 250.5 kB / 0.7563 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001944/0.84, allocations: 0.9256 MB / 0.7572 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.84, allocations: 1.781 kB / 0.7572 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/0.84, allocations: 0 / 0.7572 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.068e-05/0.84, allocations: 0.9062 kB / 0.7572 GB, free: 1.668 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.001563/0.8416, allocations: 0.8048 MB / 0.758 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.8416, allocations: 11.03 kB / 0.758 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.85e-05/0.8417, allocations: 82.22 kB / 0.758 GB, free: 17.08 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.8428, allocations: 152.2 kB / 0.7582 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005754/0.8434, allocations: 386.8 kB / 0.7586 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.8434, allocations: 27.28 kB / 0.7586 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.292e-05/0.8435, allocations: 39.69 kB / 0.7586 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007478/0.8442, allocations: 447.6 kB / 0.759 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.8443, allocations: 3.688 kB / 0.7591 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.8443, allocations: 14.72 kB / 0.7591 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.8443, allocations: 9.406 kB / 0.7591 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007419/0.8451, allocations: 322 kB / 0.7594 GB, free: 16.72 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.002346/0.8474, allocations: 2.024 MB / 0.7614 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004254/0.8479, allocations: 238.3 kB / 0.7616 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.8482, allocations: 149.1 kB / 0.7617 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005953/0.8488, allocations: 314.2 kB / 0.762 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.8488, allocations: 33.05 kB / 0.7621 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 2.144e-06/0.8488, allocations: 0.5938 kB / 0.7621 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.001028/0.8498, allocations: 457.1 kB / 0.7625 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.8499, allocations: 56.47 kB / 0.7626 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004304/0.8503, allocations: 400.4 kB / 0.7629 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.8504, allocations: 29.86 kB / 0.763 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.8505, allocations: 230.3 kB / 0.7632 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.704e-05/0.8506, allocations: 85.38 kB / 0.7633 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.98e-05/0.8507, allocations: 54.03 kB / 0.7633 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.8508, allocations: 353.2 kB / 0.7637 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.8511, allocations: 117.9 kB / 0.7638 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.8513, allocations: 188.9 kB / 0.7639 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004707/0.8518, allocations: 304.8 kB / 0.7642 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.8518, allocations: 0.9375 kB / 0.7642 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006646/0.8525, allocations: 367.1 kB / 0.7646 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.8525, allocations: 10.05 kB / 0.7646 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.8525, allocations: 1.719 kB / 0.7646 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.8525, allocations: 3.969 kB / 0.7646 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002949/0.8528, allocations: 57.14 kB / 0.7647 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.8529, allocations: 3.5 kB / 0.7647 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.8532, allocations: 42.48 kB / 0.7647 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.8532, allocations: 17.53 kB / 0.7647 GB, free: 14.04 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.0001784/0.8534, allocations: 174 kB / 0.7649 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.845e-05/0.8535, allocations: 38.56 kB / 0.7649 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006814/0.8541, allocations: 360.8 kB / 0.7653 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.8542, allocations: 3.25 kB / 0.7653 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.8542, allocations: 5.188 kB / 0.7653 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.8542, allocations: 0 / 0.7653 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.8555, allocations: 0.9405 MB / 0.7662 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.8556, allocations: 8.078 kB / 0.7662 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.8558, allocations: 46.95 kB / 0.7662 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.8558, allocations: 1.938 kB / 0.7662 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.8559, allocations: 9.719 kB / 0.7663 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.8559, allocations: 3.062 kB / 0.7663 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.8559, allocations: 2.344 kB / 0.7663 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008686/0.8568, allocations: 0.6399 MB / 0.7669 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.8569, allocations: 145.1 kB / 0.767 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.665e-05/0.857, allocations: 6.438 kB / 0.767 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.8572, allocations: 12.45 kB / 0.767 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/0.8573, allocations: 23.14 kB / 0.7671 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.8573, allocations: 13.41 kB / 0.7671 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002687/0.8576, allocations: 285.3 kB / 0.7673 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8576, allocations: 1.906 kB / 0.7673 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004886/0.8581, allocations: 104.2 kB / 0.7674 GB, free: 13.06 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.00142/0.8595, allocations: 1.246 MB / 0.7687 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005783/0.8601, allocations: 294.1 kB / 0.7689 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8601, allocations: 4.125 kB / 0.7689 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002595/0.8604, allocations: 152.8 kB / 0.7691 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.8615, allocations: 223 kB / 0.7693 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004566/0.866, allocations: 3.841 MB / 0.7731 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.8664, allocations: 0.8269 MB / 0.7739 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003578/0.8668, allocations: 100.1 kB / 0.774 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.8669, allocations: 139 kB / 0.7741 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.8669, allocations: 0.8438 kB / 0.7741 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/0.8953, allocations: 11.58 MB / 0.7854 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.308/8.203, allocations: 9.578 kB / 0.7854 GB, free: 8.992 MB / 0.5919 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)