Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.402/1.402, allocations: 287.4 MB / 302.6 MB, free: 8.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008672/0.0008672, allocations: 180.4 kB / 371.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.119/1.119, allocations: 205.4 MB / 0.6298 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006677/0.0006677, allocations: 94.56 kB / 0.7431 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000511/0.0005111, allocations: 11.34 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1721, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.4728/0.645, allocations: 158.2 MB / 1.133 GB, free: 216 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.00736/0.6524, allocations: 8.786 MB / 1.142 GB, free: 13 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002708/0.6527, allocations: 10.56 kB / 1.142 GB, free: 13 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004478/0.6531, allocations: 128.5 kB / 1.142 GB, free: 12.95 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.6534, allocations: 85.28 kB / 1.142 GB, free: 12.9 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001429/0.6535, allocations: 43.39 kB / 1.142 GB, free: 12.9 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003119/0.6538, allocations: 356.5 kB / 1.142 GB, free: 12.82 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002693/0.6541, allocations: 197.4 kB / 1.143 GB, free: 12.77 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.6544, allocations: 128.9 kB / 1.143 GB, free: 12.73 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.05e-05/0.6545, allocations: 88.83 kB / 1.143 GB, free: 12.7 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.6545, allocations: 6.625 kB / 1.143 GB, free: 12.7 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 2.266e-05/0.6545, allocations: 3.188 kB / 1.143 GB, free: 12.7 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.902e-05/0.6546, allocations: 50.25 kB / 1.143 GB, free: 12.69 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.268e-05/0.6546, allocations: 68.55 kB / 1.143 GB, free: 12.65 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.6548, allocations: 211.2 kB / 1.143 GB, free: 12.62 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.6548, allocations: 0 / 1.143 GB, free: 12.62 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6548, allocations: 0 / 1.143 GB, free: 12.62 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.6548, allocations: 0 / 1.143 GB, free: 12.62 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0004095/0.6553, allocations: 472 kB / 1.144 GB, free: 12.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.6553, allocations: 15.44 kB / 1.144 GB, free: 12.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.426e-05/0.6554, allocations: 63.42 kB / 1.144 GB, free: 12.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.6554, allocations: 34.72 kB / 1.144 GB, free: 12.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.6557, allocations: 265.6 kB / 1.144 GB, free: 11.91 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.6557, allocations: 20.59 kB / 1.144 GB, free: 11.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.6557, allocations: 30.44 kB / 1.144 GB, free: 11.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003918/0.6561, allocations: 317.4 kB / 1.144 GB, free: 11.76 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.6561, allocations: 1.156 kB / 1.144 GB, free: 11.76 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.6562, allocations: 10.59 kB / 1.144 GB, free: 11.76 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.6562, allocations: 11.97 kB / 1.144 GB, free: 11.76 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/0.6564, allocations: 154.9 kB / 1.144 GB, free: 11.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.6575, allocations: 1.807 MB / 1.146 GB, free: 10.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.452e-05/0.6576, allocations: 169.3 kB / 1.146 GB, free: 10.05 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.916e-05/0.6577, allocations: 80.14 kB / 1.146 GB, free: 9.973 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.6577, allocations: 79.22 kB / 1.147 GB, free: 9.895 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/0.6577, allocations: 111.7 kB / 1.147 GB, free: 9.777 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.193e-06/0.6577, allocations: 0 / 1.147 GB, free: 9.777 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 8.131e-05/0.6578, allocations: 54.55 kB / 1.147 GB, free: 9.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.6579, allocations: 134.2 kB / 1.147 GB, free: 9.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000348/0.6582, allocations: 374.6 kB / 1.147 GB, free: 9.477 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.318e-06/0.6583, allocations: 25.7 kB / 1.147 GB, free: 9.445 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.446e-05/0.6584, allocations: 162.9 kB / 1.147 GB, free: 9.352 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-06/0.6584, allocations: 1.594 kB / 1.147 GB, free: 9.352 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-06/0.6584, allocations: 4 kB / 1.147 GB, free: 9.348 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.6585, allocations: 339.5 kB / 1.148 GB, free: 9.035 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.238e-05/0.6585, allocations: 3.219 kB / 1.148 GB, free: 9.035 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.539e-05/0.6586, allocations: 34.97 kB / 1.148 GB, free: 8.996 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.078e-05/0.6586, allocations: 44.8 kB / 1.148 GB, free: 8.949 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6586, allocations: 5.75 kB / 1.148 GB, free: 8.945 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001328/0.6588, allocations: 90.59 kB / 1.148 GB, free: 8.891 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.6588, allocations: 4.688 kB / 1.148 GB, free: 8.891 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.6588, allocations: 1.344 kB / 1.148 GB, free: 8.891 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.6588, allocations: 6.594 kB / 1.148 GB, free: 8.887 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.655e-05/0.6589, allocations: 14.06 kB / 1.148 GB, free: 8.883 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.6589, allocations: 1.516 kB / 1.148 GB, free: 8.883 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.174e-05/0.659, allocations: 22.97 kB / 1.148 GB, free: 8.867 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.659, allocations: 2.594 kB / 1.148 GB, free: 8.867 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.6591, allocations: 217.8 kB / 1.148 GB, free: 8.676 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.776e-05/0.6592, allocations: 134.3 kB / 1.148 GB, free: 8.551 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.632e-05/0.6592, allocations: 140.8 kB / 1.148 GB, free: 8.422 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-05/0.6593, allocations: 177.3 kB / 1.149 GB, free: 8.242 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.069e-05/0.6594, allocations: 188 kB / 1.149 GB, free: 8.055 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.764e-05/0.6594, allocations: 177.5 kB / 1.149 GB, free: 7.875 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002728/0.6597, allocations: 490 kB / 1.149 GB, free: 7.434 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.824e-05/0.6598, allocations: 113.9 kB / 1.149 GB, free: 7.316 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.236e-05/0.6598, allocations: 109.8 kB / 1.15 GB, free: 7.207 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-05/0.6599, allocations: 181.4 kB / 1.15 GB, free: 7.023 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.24e-05/0.6599, allocations: 179.9 kB / 1.15 GB, free: 6.844 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-05/0.66, allocations: 177.5 kB / 1.15 GB, free: 6.664 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.262e-05/0.6601, allocations: 181.5 kB / 1.15 GB, free: 6.48 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.6602, allocations: 335.9 kB / 1.151 GB, free: 6.148 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.6604, allocations: 209.9 kB / 1.151 GB, free: 5.934 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.651e-05/0.6604, allocations: 181 kB / 1.151 GB, free: 5.754 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.6606, allocations: 108.9 kB / 1.151 GB, free: 5.645 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/0.6606, allocations: 181.6 kB / 1.151 GB, free: 5.461 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.229e-05/0.6607, allocations: 108.9 kB / 1.151 GB, free: 5.348 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002461/0.6609, allocations: 268.9 kB / 1.152 GB, free: 5.262 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6609, allocations: 0 / 1.152 GB, free: 5.262 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002406/0.6612, allocations: 35.12 kB / 1.152 GB, free: 5.254 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003776/0.6616, allocations: 0.8335 MB / 1.152 GB, free: 4.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.335e-05/0.6616, allocations: 14.7 kB / 1.152 GB, free: 4.426 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.6616, allocations: 0 / 1.152 GB, free: 4.426 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.6616, allocations: 1.062 kB / 1.152 GB, free: 4.426 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007924/0.6624, allocations: 0.6166 MB / 1.153 GB, free: 3.895 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.6642, allocations: 1.4 MB / 1.154 GB, free: 3.273 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.6645, allocations: 0.7568 MB / 1.155 GB, free: 2.574 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001085/0.6646, allocations: 37.23 kB / 1.155 GB, free: 2.562 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.589e-05/0.6647, allocations: 76.41 kB / 1.155 GB, free: 2.555 MB / 0.698 GB Notification: Performance of SimCode: time 2.6e-07/0.6647, allocations: 0 / 1.155 GB, free: 2.555 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3537/1.018, allocations: 5.489 MB / 1.161 GB, free: 420 kB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/1.019, allocations: 205.2 kB / 1.161 GB, free: 176 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.055/3.073, allocations: 0 / 1.161 GB, free: 176 kB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)