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.001424/0.001424, allocations: 100.4 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.001532/0.001532, allocations: 193.2 kB / 17.34 MB, free: 5.77 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7427/0.7427, allocations: 115.3 MB / 406.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 65.03 kB / 0.5572 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1609, allocations: 76.19 MB / 0.6316 GB, free: 4.895 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.6251/0.786, allocations: 170.3 MB / 0.7979 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005326/0.7914, allocations: 6.005 MB / 0.8038 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000285/0.7917, allocations: 7.406 kB / 0.8038 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006127/0.7924, allocations: 183.5 kB / 0.804 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003143/0.7928, allocations: 92.56 kB / 0.804 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.794, allocations: 0.5118 MB / 0.8045 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004318/0.7944, allocations: 418.8 kB / 0.8049 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002668/0.7947, allocations: 132.1 kB / 0.8051 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002777/0.795, allocations: 200 kB / 0.8053 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.7952, allocations: 152.2 kB / 0.8054 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.7952, allocations: 21.75 kB / 0.8054 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006577/0.7959, allocations: 448.8 kB / 0.8059 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.084e-05/0.796, allocations: 70.02 kB / 0.8059 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.7961, allocations: 109.1 kB / 0.806 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005597/0.7967, allocations: 449 kB / 0.8064 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.7967, allocations: 0 / 0.8064 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7967, allocations: 7.938 kB / 0.8065 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.7967, allocations: 0 / 0.8065 GB, free: 11.62 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.0005804/0.7973, allocations: 0.5185 MB / 0.807 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.7973, allocations: 9.531 kB / 0.807 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.107e-05/0.7974, allocations: 62.41 kB / 0.807 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002526/0.7977, allocations: 43.16 kB / 0.8071 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.798, allocations: 270.9 kB / 0.8073 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.7982, allocations: 128.3 kB / 0.8075 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.7982, allocations: 21.84 kB / 0.8075 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004298/0.7986, allocations: 297.4 kB / 0.8078 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.7987, allocations: 0 / 0.8078 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.7987, allocations: 9.406 kB / 0.8078 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.7987, allocations: 7.625 kB / 0.8078 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002655/0.799, allocations: 167.2 kB / 0.8079 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.8004, allocations: 1.578 MB / 0.8095 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.672e-05/0.8005, allocations: 179.2 kB / 0.8096 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.134e-05/0.8005, allocations: 80.14 kB / 0.8097 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.8005, allocations: 79.28 kB / 0.8098 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.8006, allocations: 108 kB / 0.8099 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 3.297e-06/0.8006, allocations: 2.406 kB / 0.8099 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 9.121e-05/0.8007, allocations: 52.7 kB / 0.81 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.8007, allocations: 126.7 kB / 0.8101 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.8011, allocations: 318.7 kB / 0.8104 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.8011, allocations: 25.7 kB / 0.8104 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.8012, allocations: 193.9 kB / 0.8106 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-06/0.8012, allocations: 0 / 0.8106 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/0.8013, allocations: 42.3 kB / 0.8106 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.8014, allocations: 326.8 kB / 0.8109 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.864e-05/0.8015, allocations: 38.19 kB / 0.811 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.8017, allocations: 168.5 kB / 0.8111 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.8019, allocations: 197.8 kB / 0.8113 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.8019, allocations: 0 / 0.8113 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003757/0.8023, allocations: 219 kB / 0.8115 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.8023, allocations: 11.31 kB / 0.8115 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.8023, allocations: 5.156 kB / 0.8116 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.8023, allocations: 11.42 kB / 0.8116 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.8025, allocations: 38.73 kB / 0.8116 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.8025, allocations: 7.438 kB / 0.8116 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.8027, allocations: 25.5 kB / 0.8116 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.8027, allocations: 13.66 kB / 0.8116 GB, free: 7.488 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.000138/0.8028, allocations: 223.7 kB / 0.8119 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.156e-05/0.8029, allocations: 134.5 kB / 0.812 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.699e-05/0.803, allocations: 121.1 kB / 0.8121 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.861e-05/0.8031, allocations: 180.2 kB / 0.8123 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.456e-05/0.8031, allocations: 176.3 kB / 0.8124 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.335e-05/0.8032, allocations: 186.3 kB / 0.8126 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003126/0.8035, allocations: 489.5 kB / 0.8131 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.346e-05/0.8036, allocations: 102.9 kB / 0.8132 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.503e-05/0.8036, allocations: 104.9 kB / 0.8133 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.554e-05/0.8037, allocations: 182.7 kB / 0.8135 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.955e-05/0.8038, allocations: 180.3 kB / 0.8136 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-05/0.8038, allocations: 189.5 kB / 0.8138 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-05/0.8039, allocations: 180.2 kB / 0.814 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.804, allocations: 317.8 kB / 0.8143 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.8042, allocations: 203.1 kB / 0.8145 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.8043, allocations: 192.1 kB / 0.8147 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.8044, allocations: 108.9 kB / 0.8148 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.8045, allocations: 190.1 kB / 0.8149 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.855e-05/0.8045, allocations: 101 kB / 0.815 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002191/0.8048, allocations: 220.1 kB / 0.8153 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8048, allocations: 0 / 0.8153 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003544/0.8051, allocations: 54.09 kB / 0.8153 GB, free: 3.828 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.0005653/0.8057, allocations: 0.8627 MB / 0.8161 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000191/0.8059, allocations: 79.56 kB / 0.8162 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.8059, allocations: 0 / 0.8162 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.8059, allocations: 0 / 0.8162 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/0.8064, allocations: 483.9 kB / 0.8167 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.8088, allocations: 2.498 MB / 0.8191 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.8091, allocations: 0.7354 MB / 0.8198 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.8092, allocations: 37.48 kB / 0.8199 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.809e-05/0.8093, allocations: 52.05 kB / 0.8199 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.8093, allocations: 0 / 0.8199 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.8319, allocations: 4.088 MB / 0.8239 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.401/8.233, allocations: 9.766 kB / 0.8239 GB, free: 13.79 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)