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.001435/0.001435, allocations: 109.2 kB / 16.41 MB, free: 6.512 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.00139/0.00139, allocations: 193.2 kB / 17.34 MB, free: 5.738 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8029/0.8029, allocations: 125.3 MB / 416.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 72.97 kB / 0.5716 GB, free: 27.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1335, allocations: 78.55 MB / 0.6483 GB, free: 5.746 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.4713/0.6048, allocations: 170.3 MB / 0.8147 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004902/0.6098, allocations: 6.006 MB / 0.8205 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001959/0.61, allocations: 11.47 kB / 0.8205 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005192/0.6105, allocations: 185.8 kB / 0.8207 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.6108, allocations: 94.88 kB / 0.8208 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.6118, allocations: 0.5155 MB / 0.8213 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004175/0.6123, allocations: 414.6 kB / 0.8217 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002447/0.6125, allocations: 136.4 kB / 0.8218 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002603/0.6128, allocations: 188.2 kB / 0.822 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.613, allocations: 151.8 kB / 0.8222 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.613, allocations: 21.09 kB / 0.8222 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006585/0.6137, allocations: 463.1 kB / 0.8226 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 8.572e-05/0.6138, allocations: 62.73 kB / 0.8227 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.6139, allocations: 106.7 kB / 0.8228 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005665/0.6145, allocations: 455.2 kB / 0.8232 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.6145, allocations: 3.938 kB / 0.8232 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.243e-06/0.6145, allocations: 0 / 0.8232 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.966e-06/0.6145, allocations: 0 / 0.8232 GB, free: 7.984 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.0005898/0.6151, allocations: 0.5192 MB / 0.8237 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.6152, allocations: 17.97 kB / 0.8238 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.627e-05/0.6152, allocations: 66.31 kB / 0.8238 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002316/0.6155, allocations: 41 kB / 0.8239 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.6158, allocations: 262.7 kB / 0.8241 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/0.616, allocations: 136.7 kB / 0.8242 GB, free: 7 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.616, allocations: 27.41 kB / 0.8243 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004156/0.6164, allocations: 290.6 kB / 0.8245 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.6164, allocations: 6.469 kB / 0.8245 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.6165, allocations: 10.88 kB / 0.8246 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.6165, allocations: 4.906 kB / 0.8246 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002755/0.6168, allocations: 155.1 kB / 0.8247 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/0.6181, allocations: 1.589 MB / 0.8263 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.128e-05/0.6182, allocations: 169.1 kB / 0.8264 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.723e-05/0.6182, allocations: 80.14 kB / 0.8265 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.6183, allocations: 81.47 kB / 0.8266 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.163e-05/0.6183, allocations: 105.8 kB / 0.8267 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.6183, allocations: 4 kB / 0.8267 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 8.374e-05/0.6184, allocations: 48.22 kB / 0.8267 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/0.6185, allocations: 130.7 kB / 0.8269 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/0.6188, allocations: 311.2 kB / 0.8272 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.6189, allocations: 25.7 kB / 0.8272 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.619, allocations: 193 kB / 0.8274 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.149e-06/0.619, allocations: 6.906 kB / 0.8274 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.62e-05/0.6191, allocations: 42.5 kB / 0.8274 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.6192, allocations: 335.6 kB / 0.8277 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.461e-05/0.6193, allocations: 36.09 kB / 0.8278 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.6195, allocations: 160.5 kB / 0.8279 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.6197, allocations: 197.4 kB / 0.8281 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.6197, allocations: 2.531 kB / 0.8281 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003732/0.6201, allocations: 224.6 kB / 0.8283 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.6201, allocations: 9.688 kB / 0.8283 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.6201, allocations: 8.969 kB / 0.8283 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.6202, allocations: 7.406 kB / 0.8283 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.6203, allocations: 39.58 kB / 0.8284 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.6203, allocations: 11.41 kB / 0.8284 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.6205, allocations: 32.02 kB / 0.8284 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.6205, allocations: 14.19 kB / 0.8284 GB, free: 3.137 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.0001503/0.6207, allocations: 220 kB / 0.8286 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.096e-05/0.6208, allocations: 124.1 kB / 0.8288 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.132e-05/0.6208, allocations: 129.5 kB / 0.8289 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.758e-05/0.6209, allocations: 176.3 kB / 0.8291 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-05/0.621, allocations: 186 kB / 0.8292 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.639e-05/0.6211, allocations: 184.2 kB / 0.8294 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003239/0.6214, allocations: 478.6 kB / 0.8299 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.385e-05/0.6215, allocations: 112.9 kB / 0.83 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.279e-05/0.6215, allocations: 102.8 kB / 0.8301 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.148e-05/0.6216, allocations: 176.4 kB / 0.8302 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.591e-05/0.6217, allocations: 191.2 kB / 0.8304 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.468e-05/0.6218, allocations: 180.2 kB / 0.8306 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.172e-05/0.6218, allocations: 180.2 kB / 0.8308 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.622, allocations: 324.2 kB / 0.8311 GB, free: 356 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.6221, allocations: 209.1 kB / 0.8313 GB, free: 128 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.6222, allocations: 187.1 kB / 0.8315 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.6224, allocations: 105.8 kB / 0.8316 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.774e-05/0.6225, allocations: 180.3 kB / 0.8317 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.335e-05/0.6225, allocations: 103.7 kB / 0.8318 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002238/0.6227, allocations: 219.8 kB / 0.832 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6227, allocations: 3.938 kB / 0.832 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003202/0.6231, allocations: 50.64 kB / 0.8321 GB, free: 15.38 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.0005539/0.6236, allocations: 0.8547 MB / 0.8329 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001747/0.6238, allocations: 82.72 kB / 0.833 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6238, allocations: 2.938 kB / 0.833 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.396e-06/0.6238, allocations: 3.984 kB / 0.833 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.6243, allocations: 481.7 kB / 0.8335 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.6268, allocations: 2.51 MB / 0.8359 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.6271, allocations: 0.745 MB / 0.8366 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001088/0.6272, allocations: 39.22 kB / 0.8367 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.318e-05/0.6273, allocations: 53.61 kB / 0.8367 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.6273, allocations: 0 / 0.8367 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4833/1.111, allocations: 4.046 MB / 0.8407 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.25/9.361, allocations: 11.25 kB / 0.8407 GB, free: 9.043 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)