Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.InletToAirMoistAirCO2,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.001416/0.001415, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001606/0.001606, allocations: 177.3 kB / 15.95 MB, free: 216 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.823/1.823, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.807/1.807, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0005892/0.0005893, allocations: 17.88 kB / 0.6737 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2771, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.6735/0.9507, allocations: 145.3 MB / 0.9292 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006945/0.9577, allocations: 7.44 MB / 0.9364 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000402/0.9582, allocations: 11.38 kB / 0.9364 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002969/0.9585, allocations: 53.41 kB / 0.9365 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003442/0.9589, allocations: 122.3 kB / 0.9366 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.9591, allocations: 46.94 kB / 0.9367 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006147/0.9597, allocations: 308.3 kB / 0.9369 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003147/0.96, allocations: 143.8 kB / 0.9371 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002929/0.9603, allocations: 121.2 kB / 0.9372 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.738e-05/0.9604, allocations: 71.47 kB / 0.9373 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.9604, allocations: 4.062 kB / 0.9373 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.395e-05/0.9605, allocations: 8.281 kB / 0.9373 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.931e-05/0.9605, allocations: 43.41 kB / 0.9373 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003164/0.9609, allocations: 68.47 kB / 0.9374 GB, free: 21.47 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.9611, allocations: 214.3 kB / 0.9376 GB, free: 21.45 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.9611, allocations: 0 / 0.9376 GB, free: 21.45 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.128e-06/0.9611, allocations: 0.9062 kB / 0.9376 GB, free: 21.45 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.9612, allocations: 0 / 0.9376 GB, free: 21.45 MB / 0.7325 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.000511/0.9617, allocations: 480.2 kB / 0.938 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.9617, allocations: 9.656 kB / 0.9381 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.364e-05/0.9618, allocations: 63.39 kB / 0.9381 GB, free: 21 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.708e-05/0.9619, allocations: 30.69 kB / 0.9381 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.9622, allocations: 259.5 kB / 0.9384 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.9622, allocations: 20.41 kB / 0.9384 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.896e-05/0.9623, allocations: 26.94 kB / 0.9384 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004868/0.9628, allocations: 316.8 kB / 0.9387 GB, free: 20.63 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.9628, allocations: 4.391 kB / 0.9387 GB, free: 20.63 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.9628, allocations: 11.16 kB / 0.9388 GB, free: 20.63 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.9628, allocations: 11.59 kB / 0.9388 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002595/0.9631, allocations: 145.5 kB / 0.9389 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.9645, allocations: 1.818 MB / 0.9407 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.903e-05/0.9646, allocations: 166.4 kB / 0.9408 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.9646, allocations: 78.89 kB / 0.9409 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.9646, allocations: 115.3 kB / 0.941 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.9646, allocations: 0 / 0.941 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 9.467e-05/0.9647, allocations: 55.95 kB / 0.9411 GB, free: 18.72 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.9648, allocations: 126.7 kB / 0.9412 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004513/0.9653, allocations: 373 kB / 0.9416 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.9653, allocations: 28.61 kB / 0.9416 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.9654, allocations: 169.2 kB / 0.9417 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-06/0.9654, allocations: 0 / 0.9417 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.9654, allocations: 4.812 kB / 0.9417 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.9655, allocations: 339.8 kB / 0.9421 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.685e-05/0.9656, allocations: 7.031 kB / 0.9421 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.213e-05/0.9656, allocations: 36.41 kB / 0.9421 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.935e-05/0.9656, allocations: 13.98 kB / 0.9421 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.9656, allocations: 1.438 kB / 0.9421 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001607/0.9658, allocations: 90.12 kB / 0.9422 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.9658, allocations: 5.531 kB / 0.9422 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.9658, allocations: 3.594 kB / 0.9422 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.9659, allocations: 2.859 kB / 0.9422 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.447e-05/0.9659, allocations: 10.42 kB / 0.9422 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.966, allocations: 2.234 kB / 0.9422 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.348e-05/0.966, allocations: 27.5 kB / 0.9423 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.966, allocations: 2.484 kB / 0.9423 GB, free: 17.91 MB / 0.7325 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.0001602/0.9662, allocations: 218.5 kB / 0.9425 GB, free: 17.72 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.707e-05/0.9663, allocations: 129.7 kB / 0.9426 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.868e-05/0.9664, allocations: 132.1 kB / 0.9427 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-05/0.9664, allocations: 179.5 kB / 0.9429 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.133e-05/0.9665, allocations: 187.4 kB / 0.9431 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.142e-05/0.9666, allocations: 181.2 kB / 0.9432 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003068/0.9669, allocations: 489.6 kB / 0.9437 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.061e-05/0.9669, allocations: 111.2 kB / 0.9438 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.374e-05/0.967, allocations: 102.5 kB / 0.9439 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.183e-05/0.967, allocations: 188.1 kB / 0.9441 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.987e-05/0.9671, allocations: 178.4 kB / 0.9443 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.101e-05/0.9671, allocations: 180 kB / 0.9444 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.427e-05/0.9672, allocations: 177.3 kB / 0.9446 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.9673, allocations: 337 kB / 0.9449 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.9674, allocations: 214.6 kB / 0.9451 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.163e-05/0.9675, allocations: 184.8 kB / 0.9453 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.9676, allocations: 101.7 kB / 0.9454 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.9677, allocations: 181.5 kB / 0.9456 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.365e-05/0.9677, allocations: 105.3 kB / 0.9457 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003027/0.968, allocations: 270.7 kB / 0.9459 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9681, allocations: 0 / 0.9459 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002689/0.9683, allocations: 32.92 kB / 0.946 GB, free: 14.36 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.0004135/0.9687, allocations: 0.8323 MB / 0.9468 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.511e-05/0.9688, allocations: 22.27 kB / 0.9468 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.9688, allocations: 0 / 0.9468 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/0.9688, allocations: 0 / 0.9468 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008192/0.9697, allocations: 0.6268 MB / 0.9474 GB, free: 13 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.9721, allocations: 1.991 MB / 0.9494 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.9725, allocations: 0.758 MB / 0.9501 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000155/0.9727, allocations: 33.88 kB / 0.9501 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.9728, allocations: 72.91 kB / 0.9502 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of SimCode: time 9.12e-07/0.9728, allocations: 0.5938 kB / 0.9502 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0215/0.9943, allocations: 5.476 MB / 0.9556 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002414/0.9946, allocations: 192.3 kB / 0.9557 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.028/3.023, allocations: 0 / 0.9557 GB, free: 10.43 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) Environment - environmentSimulation: