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.001162/0.001162, allocations: 110.2 kB / 16.41 MB, free: 6.5 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.0009909/0.0009909, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7737/0.7737, allocations: 122.9 MB / 414.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002754/0.002754, allocations: 66.09 kB / 0.5679 GB, free: 28.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1678, allocations: 77.93 MB / 0.6441 GB, free: 9.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.4695/0.6373, allocations: 170.3 MB / 0.8104 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005013/0.6424, allocations: 6.003 MB / 0.8162 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002555/0.6426, allocations: 5.469 kB / 0.8162 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005372/0.6432, allocations: 188.5 kB / 0.8164 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002822/0.6435, allocations: 96.66 kB / 0.8165 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.6446, allocations: 0.5234 MB / 0.817 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000385/0.645, allocations: 418.8 kB / 0.8174 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002359/0.6453, allocations: 141.9 kB / 0.8176 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002753/0.6455, allocations: 189.2 kB / 0.8177 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.6457, allocations: 153.4 kB / 0.8179 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.6458, allocations: 15.19 kB / 0.8179 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006858/0.6465, allocations: 468.2 kB / 0.8183 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 8.642e-05/0.6466, allocations: 70.45 kB / 0.8184 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.964e-05/0.6467, allocations: 100 kB / 0.8185 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000566/0.6472, allocations: 459.5 kB / 0.819 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.6473, allocations: 0 / 0.819 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6473, allocations: 0 / 0.819 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.6473, allocations: 0 / 0.819 GB, free: 9.375 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.0005605/0.6479, allocations: 0.5234 MB / 0.8195 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.6479, allocations: 10.78 kB / 0.8195 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.68e-05/0.648, allocations: 62.25 kB / 0.8195 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002606/0.6482, allocations: 48.48 kB / 0.8196 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003698/0.6486, allocations: 269.9 kB / 0.8198 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.6487, allocations: 133.6 kB / 0.82 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.6488, allocations: 20.69 kB / 0.82 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004401/0.6492, allocations: 295.6 kB / 0.8203 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.6492, allocations: 2.188 kB / 0.8203 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.6493, allocations: 10.53 kB / 0.8203 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.6493, allocations: 5.344 kB / 0.8203 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002951/0.6496, allocations: 163.7 kB / 0.8204 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.6508, allocations: 1.589 MB / 0.822 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 7.441e-05/0.6509, allocations: 165.1 kB / 0.8221 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.921e-05/0.651, allocations: 84.14 kB / 0.8222 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.651, allocations: 75.28 kB / 0.8223 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/0.651, allocations: 112.2 kB / 0.8224 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.651, allocations: 0 / 0.8224 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 8.534e-05/0.6511, allocations: 47.77 kB / 0.8225 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.6512, allocations: 126.7 kB / 0.8226 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003299/0.6515, allocations: 318.3 kB / 0.8229 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.6515, allocations: 25.7 kB / 0.8229 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.6517, allocations: 190.3 kB / 0.8231 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.108e-06/0.6517, allocations: 3.281 kB / 0.8231 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-05/0.6517, allocations: 48.72 kB / 0.8231 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.6519, allocations: 331.5 kB / 0.8234 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.712e-05/0.6519, allocations: 30.02 kB / 0.8235 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.6521, allocations: 169.9 kB / 0.8236 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.6523, allocations: 205.8 kB / 0.8238 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.6523, allocations: 2.281 kB / 0.8238 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003895/0.6527, allocations: 216.9 kB / 0.824 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.6528, allocations: 11.41 kB / 0.8241 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6528, allocations: 4.719 kB / 0.8241 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.6528, allocations: 5.344 kB / 0.8241 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.653, allocations: 41.77 kB / 0.8241 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.653, allocations: 9.938 kB / 0.8241 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.6532, allocations: 33.55 kB / 0.8241 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.6532, allocations: 13.69 kB / 0.8242 GB, free: 4.512 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.0001347/0.6533, allocations: 220.7 kB / 0.8244 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-05/0.6534, allocations: 119.7 kB / 0.8245 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.833e-05/0.6535, allocations: 125.7 kB / 0.8246 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.957e-05/0.6535, allocations: 184.2 kB / 0.8248 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.454e-05/0.6536, allocations: 182.7 kB / 0.825 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.261e-05/0.6537, allocations: 180.2 kB / 0.8251 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000281/0.6539, allocations: 484.9 kB / 0.8256 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.928e-05/0.654, allocations: 101 kB / 0.8257 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.654, allocations: 107.5 kB / 0.8258 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.386e-05/0.6541, allocations: 180.4 kB / 0.826 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.588e-05/0.6541, allocations: 202.3 kB / 0.8262 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.141e-05/0.6542, allocations: 180.3 kB / 0.8263 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.162e-05/0.6543, allocations: 176.3 kB / 0.8265 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.6544, allocations: 320.7 kB / 0.8268 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.6545, allocations: 221.4 kB / 0.827 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.09e-05/0.6546, allocations: 184.2 kB / 0.8272 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.6547, allocations: 103 kB / 0.8273 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.762e-05/0.6548, allocations: 180.2 kB / 0.8275 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/0.6548, allocations: 104.4 kB / 0.8276 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002256/0.6551, allocations: 216.3 kB / 0.8278 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6551, allocations: 4 kB / 0.8278 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003626/0.6554, allocations: 54.89 kB / 0.8278 GB, free: 0.75 MB / 0.5919 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.0004906/0.6559, allocations: 0.8611 MB / 0.8287 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002024/0.6561, allocations: 84.27 kB / 0.8287 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6562, allocations: 4.188 kB / 0.8287 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/0.6562, allocations: 2.594 kB / 0.8287 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004782/0.6566, allocations: 480.4 kB / 0.8292 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.659, allocations: 2.506 MB / 0.8316 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.6593, allocations: 0.7417 MB / 0.8324 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000122/0.6594, allocations: 31.62 kB / 0.8324 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.536e-05/0.6595, allocations: 54.92 kB / 0.8325 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.6595, allocations: 2.094 kB / 0.8325 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/0.6785, allocations: 4.04 MB / 0.8364 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.465/8.144, allocations: 6.422 kB / 0.8364 GB, free: 10.43 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)