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.001467/0.001467, allocations: 106.5 kB / 16.4 MB, free: 6.473 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.001473/0.001473, allocations: 196 kB / 17.34 MB, free: 5.711 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7872/0.7872, allocations: 126.1 MB / 417.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 69.17 kB / 0.5726 GB, free: 27.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1202, allocations: 78.71 MB / 0.6495 GB, free: 4.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.4661/0.5863, allocations: 170.3 MB / 0.8158 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00581/0.5921, allocations: 6.006 MB / 0.8216 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003286/0.5925, allocations: 7.344 kB / 0.8216 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000598/0.5931, allocations: 189 kB / 0.8218 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003503/0.5935, allocations: 97.92 kB / 0.8219 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.5946, allocations: 0.5203 MB / 0.8224 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004767/0.5951, allocations: 418.9 kB / 0.8228 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002491/0.5954, allocations: 140.1 kB / 0.823 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003196/0.5957, allocations: 190.2 kB / 0.8231 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.596, allocations: 149.5 kB / 0.8233 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.596, allocations: 17.47 kB / 0.8233 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007533/0.5968, allocations: 471.3 kB / 0.8238 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 8.864e-05/0.5969, allocations: 74 kB / 0.8238 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.597, allocations: 102.6 kB / 0.8239 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006304/0.5976, allocations: 454.2 kB / 0.8244 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5976, allocations: 0 / 0.8244 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5976, allocations: 2.094 kB / 0.8244 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.5976, allocations: 0 / 0.8244 GB, free: 7.652 MB / 0.5919 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.0005778/0.5982, allocations: 0.5168 MB / 0.8249 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.5983, allocations: 10.62 kB / 0.8249 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.927e-05/0.5983, allocations: 66.25 kB / 0.8249 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002496/0.5986, allocations: 43.47 kB / 0.825 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.599, allocations: 268.4 kB / 0.8252 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.5991, allocations: 132.7 kB / 0.8254 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.5991, allocations: 31.19 kB / 0.8254 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004158/0.5996, allocations: 287 kB / 0.8257 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.5996, allocations: 4 kB / 0.8257 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.5996, allocations: 11.22 kB / 0.8257 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.5996, allocations: 7.406 kB / 0.8257 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002962/0.5999, allocations: 163.2 kB / 0.8258 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.6012, allocations: 1.573 MB / 0.8274 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 6.782e-05/0.6013, allocations: 175.4 kB / 0.8275 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.211e-05/0.6013, allocations: 80.14 kB / 0.8276 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.6014, allocations: 79.22 kB / 0.8277 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.6014, allocations: 109.8 kB / 0.8278 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.6014, allocations: 0 / 0.8278 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 9.387e-05/0.6015, allocations: 55.88 kB / 0.8279 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.6016, allocations: 126.7 kB / 0.828 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003343/0.6019, allocations: 310.4 kB / 0.8283 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.6019, allocations: 25.7 kB / 0.8283 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.6021, allocations: 199.6 kB / 0.8285 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.639e-06/0.6021, allocations: 4 kB / 0.8285 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.047e-05/0.6021, allocations: 44.62 kB / 0.8285 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.96e-05/0.6023, allocations: 331.6 kB / 0.8288 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.439e-05/0.6024, allocations: 40.41 kB / 0.8289 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.6025, allocations: 161 kB / 0.829 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.6027, allocations: 198.1 kB / 0.8292 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6027, allocations: 0 / 0.8292 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004019/0.6031, allocations: 224.5 kB / 0.8294 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.6032, allocations: 7.469 kB / 0.8294 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.6032, allocations: 5.406 kB / 0.8295 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.6032, allocations: 5.312 kB / 0.8295 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.6034, allocations: 45.83 kB / 0.8295 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.6034, allocations: 5.344 kB / 0.8295 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.6036, allocations: 30.89 kB / 0.8295 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.6036, allocations: 16.69 kB / 0.8296 GB, free: 2.805 MB / 0.5919 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.0001384/0.6037, allocations: 217.8 kB / 0.8298 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-05/0.6038, allocations: 126.3 kB / 0.8299 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.81e-05/0.6039, allocations: 121.6 kB / 0.83 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-05/0.604, allocations: 188.2 kB / 0.8302 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.535e-05/0.604, allocations: 176.3 kB / 0.8303 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.925e-05/0.6041, allocations: 182.5 kB / 0.8305 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002881/0.6044, allocations: 479.5 kB / 0.831 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-05/0.6044, allocations: 111.4 kB / 0.8311 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.999e-05/0.6045, allocations: 108.9 kB / 0.8312 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-05/0.6045, allocations: 178.8 kB / 0.8314 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.094e-05/0.6046, allocations: 190.9 kB / 0.8315 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-05/0.6047, allocations: 184.1 kB / 0.8317 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.813e-05/0.6047, allocations: 179.1 kB / 0.8319 GB, free: 348 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.6049, allocations: 329.8 kB / 0.8322 GB, free: 4 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.605, allocations: 205.3 kB / 0.8324 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.92e-05/0.6051, allocations: 186.3 kB / 0.8326 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.6052, allocations: 101 kB / 0.8327 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.126e-05/0.6053, allocations: 182.7 kB / 0.8328 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.6053, allocations: 105 kB / 0.8329 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002333/0.6056, allocations: 224.5 kB / 0.8332 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6056, allocations: 2.781 kB / 0.8332 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003554/0.6059, allocations: 47.61 kB / 0.8332 GB, free: 15.04 MB / 0.6075 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.0004926/0.6064, allocations: 0.8658 MB / 0.8341 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001876/0.6066, allocations: 89.55 kB / 0.8341 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.6066, allocations: 3.938 kB / 0.8341 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.704e-06/0.6066, allocations: 0 / 0.8341 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004787/0.6071, allocations: 482.6 kB / 0.8346 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.6095, allocations: 2.5 MB / 0.837 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.6098, allocations: 0.7437 MB / 0.8378 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000128/0.61, allocations: 37.38 kB / 0.8378 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.182e-05/0.6101, allocations: 53.55 kB / 0.8379 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of SimCode: time 6.41e-07/0.6101, allocations: 0 / 0.8379 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02051/0.6306, allocations: 4.04 MB / 0.8418 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.507/8.137, allocations: 10.44 kB / 0.8418 GB, free: 8.703 MB / 0.6075 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)