Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.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.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet",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.001228/0.001228, allocations: 104 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.001177/0.001177, allocations: 190.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.222/1.222, allocations: 222.9 MB / 240.9 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.7061/0.7061, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 59.91 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2935, allocations: 77.93 MB / 0.5673 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1543/0.4479, allocations: 170.3 MB / 0.7336 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005545/0.4535, allocations: 5.999 MB / 0.7395 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002199/0.4537, allocations: 11.88 kB / 0.7395 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004764/0.4542, allocations: 190.7 kB / 0.7397 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002652/0.4545, allocations: 87.42 kB / 0.7397 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.4555, allocations: 0.5255 MB / 0.7403 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003978/0.4559, allocations: 406.8 kB / 0.7406 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002246/0.4561, allocations: 127.6 kB / 0.7408 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002855/0.4564, allocations: 195.3 kB / 0.741 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.4566, allocations: 147.4 kB / 0.7411 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.196e-05/0.4567, allocations: 20 kB / 0.7411 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006832/0.4574, allocations: 458.8 kB / 0.7416 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.671e-05/0.4575, allocations: 67.81 kB / 0.7416 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.723e-05/0.4576, allocations: 107.5 kB / 0.7417 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005444/0.4581, allocations: 442.7 kB / 0.7421 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.4581, allocations: 4 kB / 0.7421 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4581, allocations: 0 / 0.7421 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.4581, allocations: 0 / 0.7421 GB, free: 7.133 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005016/0.4586, allocations: 0.5185 MB / 0.7427 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.4587, allocations: 8.031 kB / 0.7427 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.808e-05/0.4587, allocations: 66.47 kB / 0.7427 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000245/0.459, allocations: 43.7 kB / 0.7428 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.4592, allocations: 249 kB / 0.743 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.4594, allocations: 135.4 kB / 0.7431 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.4594, allocations: 24 kB / 0.7432 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003804/0.4598, allocations: 298.8 kB / 0.7434 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.4598, allocations: 3.938 kB / 0.7434 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.4598, allocations: 12 kB / 0.7435 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.4598, allocations: 4 kB / 0.7435 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000281/0.4601, allocations: 164.6 kB / 0.7436 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.4613, allocations: 1.587 MB / 0.7452 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.068e-05/0.4614, allocations: 165.1 kB / 0.7453 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.46e-05/0.4614, allocations: 84.08 kB / 0.7454 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.4614, allocations: 75.28 kB / 0.7455 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.4615, allocations: 117.8 kB / 0.7456 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.4615, allocations: 0 / 0.7456 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.875e-05/0.4616, allocations: 49.42 kB / 0.7456 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.4616, allocations: 126.7 kB / 0.7458 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.4619, allocations: 310.6 kB / 0.746 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.4619, allocations: 25.7 kB / 0.7461 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.462, allocations: 187.2 kB / 0.7463 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.24e-06/0.462, allocations: 7.984 kB / 0.7463 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.485e-05/0.4621, allocations: 53.56 kB / 0.7463 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.445e-05/0.4622, allocations: 330.8 kB / 0.7466 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.259e-05/0.4623, allocations: 43.84 kB / 0.7467 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.4624, allocations: 154.9 kB / 0.7468 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.4626, allocations: 196.9 kB / 0.747 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4627, allocations: 4 kB / 0.747 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003649/0.463, allocations: 217.6 kB / 0.7472 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.4631, allocations: 15.94 kB / 0.7472 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.4631, allocations: 4 kB / 0.7472 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.4631, allocations: 4 kB / 0.7472 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.4632, allocations: 39.92 kB / 0.7473 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.4632, allocations: 7.938 kB / 0.7473 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.4634, allocations: 31.69 kB / 0.7473 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.4634, allocations: 11.98 kB / 0.7473 GB, free: 1.375 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001196/0.4636, allocations: 217 kB / 0.7475 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.263e-05/0.4636, allocations: 132.6 kB / 0.7477 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.991e-05/0.4637, allocations: 121.8 kB / 0.7478 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.773e-05/0.4637, allocations: 184.2 kB / 0.748 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.741e-05/0.4638, allocations: 180.3 kB / 0.7481 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.707e-05/0.4639, allocations: 180.2 kB / 0.7483 GB, free: 348 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2193/0.6832, allocations: 480.3 kB / 0.7488 GB, free: 174 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/0.6832, allocations: 103.8 kB / 0.7489 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.319e-05/0.6832, allocations: 105.4 kB / 0.749 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.3e-05/0.6832, allocations: 181.6 kB / 0.7491 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.6833, allocations: 188.2 kB / 0.7493 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.922e-05/0.6833, allocations: 177.6 kB / 0.7495 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.95e-05/0.6833, allocations: 182.9 kB / 0.7496 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.6834, allocations: 318.6 kB / 0.75 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-05/0.6835, allocations: 216.9 kB / 0.7502 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/0.6836, allocations: 177.9 kB / 0.7503 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.6837, allocations: 106.1 kB / 0.7504 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.529e-05/0.6837, allocations: 182.8 kB / 0.7506 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.6838, allocations: 107.8 kB / 0.7507 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002466/0.684, allocations: 222.1 kB / 0.7509 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.684, allocations: 0 / 0.7509 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004214/0.6844, allocations: 53.03 kB / 0.751 GB, free: 171.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0004053/0.6848, allocations: 0.8555 MB / 0.7518 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001985/0.6851, allocations: 81.33 kB / 0.7519 GB, free: 171 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6851, allocations: 1 kB / 0.7519 GB, free: 171 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.6851, allocations: 0.5625 kB / 0.7519 GB, free: 171 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.6855, allocations: 492.1 kB / 0.7524 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.6876, allocations: 2.509 MB / 0.7548 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.6878, allocations: 0.7374 MB / 0.7555 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001521/0.6879, allocations: 38.78 kB / 0.7556 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.357e-05/0.688, allocations: 53.81 kB / 0.7556 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.688, allocations: 0 / 0.7556 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01941/0.7074, allocations: 3.967 MB / 0.7595 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.005/7.712, allocations: 7.109 kB / 0.7595 GB, free: 167.5 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)