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.001482/0.001482, allocations: 104.9 kB / 16.4 MB, free: 6.496 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.001164/0.001164, allocations: 192 kB / 17.34 MB, free: 5.727 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8168/0.8168, allocations: 126.7 MB / 417.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002858/0.002858, allocations: 73.42 kB / 0.5735 GB, free: 27.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1568, allocations: 78.86 MB / 0.6505 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.4914/0.6483, allocations: 170.3 MB / 0.8169 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0063/0.6546, allocations: 6.007 MB / 0.8227 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003913/0.655, allocations: 5.062 kB / 0.8227 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007374/0.6558, allocations: 190.1 kB / 0.8229 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004422/0.6563, allocations: 95.92 kB / 0.823 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.6576, allocations: 0.5102 MB / 0.8235 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000558/0.6582, allocations: 422.2 kB / 0.8239 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002735/0.6585, allocations: 128.2 kB / 0.824 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003798/0.6588, allocations: 198.4 kB / 0.8242 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002783/0.6591, allocations: 155.7 kB / 0.8244 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.813e-05/0.6592, allocations: 17.44 kB / 0.8244 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008698/0.6601, allocations: 459 kB / 0.8248 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.6602, allocations: 63.33 kB / 0.8249 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.6603, allocations: 104.6 kB / 0.825 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007371/0.6611, allocations: 455.3 kB / 0.8254 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.6611, allocations: 0 / 0.8254 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.794e-06/0.6611, allocations: 0 / 0.8254 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.6611, allocations: 0 / 0.8254 GB, free: 7.32 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.0006886/0.6618, allocations: 0.5282 MB / 0.8259 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.6618, allocations: 7.906 kB / 0.8259 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.516e-05/0.6619, allocations: 60.77 kB / 0.826 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002595/0.6622, allocations: 44.66 kB / 0.826 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.6626, allocations: 269.7 kB / 0.8263 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/0.6627, allocations: 137.4 kB / 0.8264 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.6628, allocations: 20.97 kB / 0.8265 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004526/0.6632, allocations: 291.6 kB / 0.8267 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.6633, allocations: 0 / 0.8267 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.6633, allocations: 13.23 kB / 0.8267 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.6633, allocations: 4.312 kB / 0.8267 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003125/0.6636, allocations: 159.5 kB / 0.8269 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.6651, allocations: 1.591 MB / 0.8285 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.756e-05/0.6652, allocations: 173.1 kB / 0.8286 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.677e-05/0.6653, allocations: 80.14 kB / 0.8287 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.674e-05/0.6653, allocations: 79.22 kB / 0.8288 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.392e-05/0.6654, allocations: 115.2 kB / 0.8289 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.6654, allocations: 4 kB / 0.8289 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 0.0001009/0.6655, allocations: 47.94 kB / 0.8289 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/0.6655, allocations: 126.7 kB / 0.829 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.6659, allocations: 315.1 kB / 0.8293 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.6659, allocations: 25.7 kB / 0.8294 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.6661, allocations: 194.5 kB / 0.8296 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.37e-06/0.6661, allocations: 2.5 kB / 0.8296 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.789e-05/0.6662, allocations: 44.19 kB / 0.8296 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.6663, allocations: 330 kB / 0.8299 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.224e-05/0.6664, allocations: 42.31 kB / 0.83 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.6666, allocations: 161 kB / 0.8301 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.6669, allocations: 196.8 kB / 0.8303 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.6669, allocations: 2.781 kB / 0.8303 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004127/0.6673, allocations: 221.3 kB / 0.8305 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.6673, allocations: 5.188 kB / 0.8305 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.6673, allocations: 15.64 kB / 0.8305 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.6673, allocations: 8.844 kB / 0.8305 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.6675, allocations: 38.08 kB / 0.8306 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.6675, allocations: 5.094 kB / 0.8306 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.6677, allocations: 37.77 kB / 0.8306 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.6677, allocations: 10.09 kB / 0.8306 GB, free: 2.457 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.0001595/0.6679, allocations: 221.6 kB / 0.8308 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.201e-05/0.668, allocations: 126.6 kB / 0.831 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.609e-05/0.6681, allocations: 121 kB / 0.8311 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.763e-05/0.6682, allocations: 183.1 kB / 0.8313 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.129e-05/0.6682, allocations: 176.3 kB / 0.8314 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.822e-05/0.6683, allocations: 184.2 kB / 0.8316 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003507/0.6687, allocations: 481.4 kB / 0.8321 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.714e-05/0.6687, allocations: 108.9 kB / 0.8322 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.474e-05/0.6688, allocations: 108 kB / 0.8323 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-05/0.6689, allocations: 176.4 kB / 0.8324 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.109e-05/0.669, allocations: 184.2 kB / 0.8326 GB, free: 376 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.288e-05/0.669, allocations: 183 kB / 0.8328 GB, free: 188 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.36e-05/0.6691, allocations: 184.3 kB / 0.833 GB, free: 16 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.6693, allocations: 320 kB / 0.8333 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.6695, allocations: 209 kB / 0.8335 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.6696, allocations: 188.2 kB / 0.8336 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.6697, allocations: 103.9 kB / 0.8337 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.702e-05/0.6698, allocations: 185.1 kB / 0.8339 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.623e-05/0.6698, allocations: 101 kB / 0.834 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002662/0.6701, allocations: 218.9 kB / 0.8342 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6701, allocations: 0 / 0.8342 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003543/0.6705, allocations: 54.48 kB / 0.8343 GB, free: 14.7 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.0006064/0.6711, allocations: 0.8623 MB / 0.8351 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001873/0.6713, allocations: 78.12 kB / 0.8352 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6713, allocations: 3.938 kB / 0.8352 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.998e-06/0.6713, allocations: 7.062 kB / 0.8352 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000528/0.6719, allocations: 481.5 kB / 0.8357 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/0.6746, allocations: 2.51 MB / 0.8381 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.6749, allocations: 0.7415 MB / 0.8388 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001271/0.6751, allocations: 34.16 kB / 0.8389 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.403e-05/0.6752, allocations: 52.98 kB / 0.8389 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.6752, allocations: 0 / 0.8389 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.6992, allocations: 4.041 MB / 0.8429 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.865/8.564, allocations: 20.66 kB / 0.8429 GB, free: 8.367 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)