Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.0008188/0.0008186, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0008454/0.0008454, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.847/1.847, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005739/0.000574, allocations: 17.56 kB / 0.6738 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.279, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.6891/0.9682, allocations: 134.2 MB / 0.9185 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004309/0.9726, allocations: 4.325 MB / 0.9227 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002856/0.9729, allocations: 8.906 kB / 0.9227 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004622/0.9733, allocations: 109.8 kB / 0.9228 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003041/0.9737, allocations: 79.64 kB / 0.9229 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.9738, allocations: 46.27 kB / 0.9229 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003667/0.9742, allocations: 309.4 kB / 0.9232 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003109/0.9745, allocations: 103.4 kB / 0.9233 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.9747, allocations: 87.81 kB / 0.9234 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.975, allocations: 129.7 kB / 0.9235 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.975, allocations: 9.938 kB / 0.9236 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.842e-05/0.9751, allocations: 7.781 kB / 0.9236 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.16e-05/0.9752, allocations: 49.81 kB / 0.9236 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.727e-05/0.9752, allocations: 60.17 kB / 0.9237 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.9755, allocations: 171.2 kB / 0.9238 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.9755, allocations: 0 / 0.9238 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.786e-06/0.9755, allocations: 0 / 0.9238 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.9756, allocations: 0 / 0.9238 GB, free: 6.309 MB / 0.7169 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.0008312/0.9764, allocations: 450.5 kB / 0.9243 GB, free: 21.9 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.9764, allocations: 14.47 kB / 0.9243 GB, free: 21.9 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.671e-05/0.9765, allocations: 60.36 kB / 0.9243 GB, free: 21.86 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/0.9766, allocations: 30.34 kB / 0.9244 GB, free: 21.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.9769, allocations: 246.7 kB / 0.9246 GB, free: 21.64 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.9769, allocations: 18.39 kB / 0.9246 GB, free: 21.64 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.977, allocations: 21.66 kB / 0.9246 GB, free: 21.64 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004348/0.9774, allocations: 296.5 kB / 0.9249 GB, free: 21.47 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.9774, allocations: 5.406 kB / 0.9249 GB, free: 21.47 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.9775, allocations: 11.28 kB / 0.9249 GB, free: 21.47 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.9775, allocations: 12.31 kB / 0.9249 GB, free: 21.47 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.9777, allocations: 129.6 kB / 0.9251 GB, free: 21.46 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.9791, allocations: 1.964 MB / 0.927 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.039e-05/0.9792, allocations: 176.8 kB / 0.9271 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.232e-05/0.9792, allocations: 84.14 kB / 0.9272 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.9793, allocations: 75.28 kB / 0.9273 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.789e-05/0.9793, allocations: 109.1 kB / 0.9274 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.9793, allocations: 0 / 0.9274 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 9.202e-05/0.9794, allocations: 53.91 kB / 0.9275 GB, free: 19.26 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.9795, allocations: 130.7 kB / 0.9276 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/0.9799, allocations: 331.5 kB / 0.9279 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.9799, allocations: 25.7 kB / 0.9279 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.98, allocations: 159.6 kB / 0.9281 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.426e-06/0.98, allocations: 3.375 kB / 0.9281 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.98, allocations: 0 / 0.9281 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.9801, allocations: 338 kB / 0.9284 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/0.9802, allocations: 4.188 kB / 0.9284 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.437e-05/0.9802, allocations: 61.23 kB / 0.9285 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.567e-05/0.9803, allocations: 15.16 kB / 0.9285 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9803, allocations: 4 kB / 0.9285 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001576/0.9804, allocations: 106.6 kB / 0.9286 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.9804, allocations: 5.438 kB / 0.9286 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.9805, allocations: 2.719 kB / 0.9286 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.9805, allocations: 3.375 kB / 0.9286 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.848e-05/0.9806, allocations: 13.89 kB / 0.9286 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.9806, allocations: 7.312 kB / 0.9286 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.795e-05/0.9807, allocations: 30.84 kB / 0.9286 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.9807, allocations: 3.469 kB / 0.9286 GB, free: 18.43 MB / 0.7325 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.0001376/0.9808, allocations: 208.3 kB / 0.9288 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-05/0.9809, allocations: 134.7 kB / 0.929 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.556e-05/0.981, allocations: 126.5 kB / 0.9291 GB, free: 18 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.126e-05/0.981, allocations: 182.9 kB / 0.9293 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-05/0.9811, allocations: 190.6 kB / 0.9295 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.607e-05/0.9812, allocations: 177 kB / 0.9296 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/0.9815, allocations: 481 kB / 0.9301 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.573e-05/0.9816, allocations: 101.6 kB / 0.9302 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.924e-05/0.9816, allocations: 104.6 kB / 0.9303 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.319e-05/0.9817, allocations: 187.7 kB / 0.9305 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.049e-05/0.9818, allocations: 183.8 kB / 0.9306 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.361e-05/0.9818, allocations: 176.9 kB / 0.9308 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.736e-05/0.9819, allocations: 182.9 kB / 0.931 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.9821, allocations: 332 kB / 0.9313 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.9822, allocations: 207.8 kB / 0.9315 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.508e-05/0.9823, allocations: 185.9 kB / 0.9317 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.9824, allocations: 104.5 kB / 0.9318 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.345e-05/0.9825, allocations: 177 kB / 0.9319 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.483e-05/0.9825, allocations: 112.2 kB / 0.932 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002188/0.9827, allocations: 230.2 kB / 0.9323 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9827, allocations: 4 kB / 0.9323 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002766/0.983, allocations: 33.81 kB / 0.9323 GB, free: 14.88 MB / 0.7325 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.0004677/0.9835, allocations: 0.8284 MB / 0.9331 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.046e-05/0.9836, allocations: 28.47 kB / 0.9331 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9836, allocations: 0 / 0.9331 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.244e-06/0.9836, allocations: 2.906 kB / 0.9331 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008115/0.9844, allocations: 0.5911 MB / 0.9337 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.9861, allocations: 1.272 MB / 0.935 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.9865, allocations: 0.748 MB / 0.9357 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001009/0.9866, allocations: 27.86 kB / 0.9357 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-05/0.9867, allocations: 61.67 kB / 0.9358 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.9867, allocations: 4 kB / 0.9358 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01911/1.006, allocations: 4.449 MB / 0.9401 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/1.006, allocations: 197.4 kB / 0.9403 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/2.86, allocations: 0 / 0.9403 GB, free: 11.62 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) Environment - environmentSimulation: