Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.InletToAirDryAirCO2,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.43/1.43, allocations: 287.4 MB / 302.6 MB, free: 8.328 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.0008324/0.0008324, allocations: 178.3 kB / 371.1 MB, free: 10.83 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.083/1.083, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0006662/0.0006662, allocations: 84.64 kB / 0.7431 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003053/0.0003054, allocations: 9.938 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1402, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.4018/0.542, allocations: 134.2 MB / 1.11 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003628/0.5456, allocations: 4.315 MB / 1.114 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002261/0.5459, allocations: 10 kB / 1.114 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000335/0.5462, allocations: 108.7 kB / 1.114 GB, free: 1.133 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.5465, allocations: 87.05 kB / 1.114 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001256/0.5466, allocations: 50.56 kB / 1.114 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0003066/0.5469, allocations: 325.5 kB / 1.115 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.5472, allocations: 143.7 kB / 1.115 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.5473, allocations: 81.61 kB / 1.115 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.5474, allocations: 131.8 kB / 1.115 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.5475, allocations: 5.281 kB / 1.115 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 2.26e-05/0.5475, allocations: 5 kB / 1.115 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 5.535e-05/0.5476, allocations: 50.97 kB / 1.115 GB, free: 0.9531 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 7.216e-05/0.5476, allocations: 56.61 kB / 1.115 GB, free: 16.92 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.5478, allocations: 176.5 kB / 1.115 GB, free: 16.89 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.5478, allocations: 0 / 1.115 GB, free: 16.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5478, allocations: 0 / 1.115 GB, free: 16.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.5478, allocations: 0.9688 kB / 1.115 GB, free: 16.89 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0003311/0.5482, allocations: 452.9 kB / 1.116 GB, free: 16.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.5482, allocations: 10.03 kB / 1.116 GB, free: 16.48 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.691e-05/0.5483, allocations: 57.33 kB / 1.116 GB, free: 16.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.5483, allocations: 28.22 kB / 1.116 GB, free: 16.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.5485, allocations: 249.4 kB / 1.116 GB, free: 16.22 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.5485, allocations: 18.5 kB / 1.116 GB, free: 16.22 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.5486, allocations: 25.28 kB / 1.116 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000314/0.5489, allocations: 305.7 kB / 1.116 GB, free: 16.03 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.5489, allocations: 4.5 kB / 1.116 GB, free: 16.03 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.5489, allocations: 10.81 kB / 1.116 GB, free: 16.03 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.5489, allocations: 7.188 kB / 1.116 GB, free: 16.03 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.5491, allocations: 128.3 kB / 1.116 GB, free: 16.01 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009807/0.5501, allocations: 1.971 MB / 1.118 GB, free: 14.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.5e-05/0.5502, allocations: 166.8 kB / 1.119 GB, free: 14.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.239e-05/0.5502, allocations: 83.02 kB / 1.119 GB, free: 14.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.5502, allocations: 76.31 kB / 1.119 GB, free: 13.94 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.5502, allocations: 115.5 kB / 1.119 GB, free: 13.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.5503, allocations: 1.25 kB / 1.119 GB, free: 13.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.555e-05/0.5503, allocations: 53.17 kB / 1.119 GB, free: 13.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.5504, allocations: 129.2 kB / 1.119 GB, free: 13.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.5507, allocations: 331.4 kB / 1.119 GB, free: 13.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.5507, allocations: 25.7 kB / 1.119 GB, free: 13.49 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.912e-05/0.5508, allocations: 163.8 kB / 1.119 GB, free: 13.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.5508, allocations: 6.156 kB / 1.119 GB, free: 13.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-06/0.5508, allocations: 0 / 1.119 GB, free: 13.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.528e-05/0.5509, allocations: 337.3 kB / 1.12 GB, free: 13.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.522e-05/0.5509, allocations: 5.359 kB / 1.12 GB, free: 13.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.684e-05/0.5509, allocations: 55.83 kB / 1.12 GB, free: 13.01 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.105e-05/0.551, allocations: 73.94 kB / 1.12 GB, free: 12.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.551, allocations: 1.125 kB / 1.12 GB, free: 12.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001397/0.5511, allocations: 100.6 kB / 1.12 GB, free: 12.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.5512, allocations: 5.719 kB / 1.12 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.5512, allocations: 1.844 kB / 1.12 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.5512, allocations: 6.688 kB / 1.12 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.013e-05/0.5513, allocations: 15.16 kB / 1.12 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.5513, allocations: 7.422 kB / 1.12 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.426e-05/0.5513, allocations: 31.25 kB / 1.12 GB, free: 12.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.5513, allocations: 3.75 kB / 1.12 GB, free: 12.85 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001031/0.5515, allocations: 214.3 kB / 1.12 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.05e-05/0.5515, allocations: 129.2 kB / 1.12 GB, free: 12.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.648e-05/0.5516, allocations: 131.2 kB / 1.121 GB, free: 12.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.332e-05/0.5516, allocations: 177.1 kB / 1.121 GB, free: 12.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.276e-05/0.5517, allocations: 187.5 kB / 1.121 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.162e-05/0.5517, allocations: 178.1 kB / 1.121 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.552, allocations: 478.5 kB / 1.122 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.532e-05/0.552, allocations: 106.8 kB / 1.122 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.756e-05/0.552, allocations: 102 kB / 1.122 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.546e-05/0.5521, allocations: 189.5 kB / 1.122 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-05/0.5521, allocations: 181.4 kB / 1.122 GB, free: 10.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.593e-05/0.5522, allocations: 182 kB / 1.122 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.261e-05/0.5522, allocations: 178.2 kB / 1.122 GB, free: 10.48 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.5523, allocations: 331.1 kB / 1.123 GB, free: 10.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.917e-05/0.5524, allocations: 205.1 kB / 1.123 GB, free: 9.945 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.826e-05/0.5525, allocations: 191.3 kB / 1.123 GB, free: 9.754 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.257e-05/0.5526, allocations: 103.7 kB / 1.123 GB, free: 9.648 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.5526, allocations: 181.7 kB / 1.123 GB, free: 9.469 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.5527, allocations: 106.3 kB / 1.123 GB, free: 9.359 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001945/0.5529, allocations: 240.2 kB / 1.124 GB, free: 9.277 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5529, allocations: 0 / 1.124 GB, free: 9.277 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002074/0.5531, allocations: 28.84 kB / 1.124 GB, free: 9.273 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.000284/0.5534, allocations: 0.8294 MB / 1.125 GB, free: 8.453 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.248e-05/0.5534, allocations: 33.92 kB / 1.125 GB, free: 8.438 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.5535, allocations: 1.125 kB / 1.125 GB, free: 8.438 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.5535, allocations: 0 / 1.125 GB, free: 8.438 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005852/0.554, allocations: 0.5929 MB / 1.125 GB, free: 7.91 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.5555, allocations: 1.275 MB / 1.126 GB, free: 7.281 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.5557, allocations: 0.7462 MB / 1.127 GB, free: 6.582 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.008e-05/0.5558, allocations: 24.89 kB / 1.127 GB, free: 6.582 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.188e-05/0.5559, allocations: 61.23 kB / 1.127 GB, free: 6.574 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.5559, allocations: 4 kB / 1.127 GB, free: 6.57 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1369/0.6928, allocations: 4.442 MB / 1.132 GB, free: 6.207 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002263/0.693, allocations: 202.1 kB / 1.132 GB, free: 5.969 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/2.569, allocations: 0 / 1.132 GB, free: 5.969 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)