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.0009305/0.0009304, allocations: 87.03 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.0009783/0.0009783, 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.639/1.639, 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.783/1.783, allocations: 292.7 MB / 0.5499 GB, free: 14.53 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.0005518/0.0005519, allocations: 15.22 kB / 0.6738 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2633, allocations: 116.3 MB / 0.7874 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.8485/1.112, allocations: 158.2 MB / 0.9419 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01073/1.123, allocations: 8.778 MB / 0.9505 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004568/1.123, allocations: 9.094 kB / 0.9505 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006148/1.124, allocations: 134.2 kB / 0.9506 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002839/1.124, allocations: 80.44 kB / 0.9507 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000195/1.124, allocations: 49.48 kB / 0.9507 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005811/1.125, allocations: 338.4 kB / 0.9511 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004258/1.125, allocations: 142.9 kB / 0.9512 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003675/1.126, allocations: 128.1 kB / 0.9513 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/1.126, allocations: 88.69 kB / 0.9514 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/1.126, allocations: 4.906 kB / 0.9514 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.405e-05/1.126, allocations: 5.031 kB / 0.9514 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.136e-05/1.126, allocations: 49.03 kB / 0.9514 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004461/1.126, allocations: 72.02 kB / 0.9515 GB, free: 20.92 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002821/1.127, allocations: 214.7 kB / 0.9517 GB, free: 20.89 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.127, allocations: 0.6562 kB / 0.9517 GB, free: 20.89 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.096e-06/1.127, allocations: 0 / 0.9517 GB, free: 20.89 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.402e-06/1.127, allocations: 0.5312 kB / 0.9517 GB, free: 20.89 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.0006263/1.127, allocations: 473 kB / 0.9522 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/1.127, allocations: 9.219 kB / 0.9522 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.744e-05/1.128, allocations: 64.61 kB / 0.9522 GB, free: 20.44 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.903e-05/1.128, allocations: 30.84 kB / 0.9523 GB, free: 20.42 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/1.128, allocations: 266.8 kB / 0.9525 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.174e-05/1.128, allocations: 21.88 kB / 0.9526 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.682e-05/1.128, allocations: 25.62 kB / 0.9526 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005723/1.129, allocations: 322.3 kB / 0.9529 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/1.129, allocations: 5.094 kB / 0.9529 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/1.129, allocations: 10.88 kB / 0.9529 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/1.129, allocations: 8.125 kB / 0.9529 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002388/1.129, allocations: 139.6 kB / 0.953 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/1.131, allocations: 1.818 MB / 0.9548 GB, free: 18.53 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/1.131, allocations: 175.5 kB / 0.955 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.405e-05/1.131, allocations: 84.08 kB / 0.9551 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/1.131, allocations: 75.28 kB / 0.9551 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.805e-05/1.131, allocations: 109.7 kB / 0.9552 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/1.131, allocations: 0 / 0.9552 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 9.748e-05/1.131, allocations: 55.14 kB / 0.9553 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.529e-05/1.131, allocations: 134.6 kB / 0.9554 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004369/1.132, allocations: 374.1 kB / 0.9558 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/1.132, allocations: 26.8 kB / 0.9558 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/1.132, allocations: 165.1 kB / 0.956 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/1.132, allocations: 0 / 0.956 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/1.132, allocations: 0 / 0.956 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001636/1.132, allocations: 342.6 kB / 0.9563 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.434e-05/1.132, allocations: 6.688 kB / 0.9563 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.444e-05/1.132, allocations: 39.41 kB / 0.9563 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.694e-05/1.132, allocations: 8.812 kB / 0.9563 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.132, allocations: 3.062 kB / 0.9563 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001767/1.132, allocations: 95.3 kB / 0.9564 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/1.132, allocations: 6.375 kB / 0.9564 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/1.132, allocations: 1.156 kB / 0.9564 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/1.132, allocations: 4.156 kB / 0.9564 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.542e-05/1.132, allocations: 7.156 kB / 0.9564 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/1.132, allocations: 2.406 kB / 0.9565 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.155e-05/1.132, allocations: 23.12 kB / 0.9565 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/1.132, allocations: 2.156 kB / 0.9565 GB, free: 17.21 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.0001588/1.133, allocations: 224.3 kB / 0.9567 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.773e-05/1.133, allocations: 133.8 kB / 0.9568 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.903e-05/1.133, allocations: 125.5 kB / 0.9569 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.378e-05/1.133, allocations: 181.6 kB / 0.9571 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.943e-05/1.133, allocations: 180.5 kB / 0.9573 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.092e-05/1.133, allocations: 177.1 kB / 0.9575 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003675/1.133, allocations: 0.4899 MB / 0.9579 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.938e-05/1.134, allocations: 102.6 kB / 0.958 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.44e-05/1.134, allocations: 108 kB / 0.9581 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-05/1.134, allocations: 179.7 kB / 0.9583 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.321e-05/1.134, allocations: 184.2 kB / 0.9585 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001068/1.134, allocations: 185 kB / 0.9587 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.338e-05/1.134, allocations: 181.7 kB / 0.9588 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/1.134, allocations: 326.1 kB / 0.9591 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/1.134, allocations: 222 kB / 0.9593 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/1.134, allocations: 177.2 kB / 0.9595 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/1.135, allocations: 106 kB / 0.9596 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/1.135, allocations: 187.9 kB / 0.9598 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.312e-05/1.135, allocations: 102 kB / 0.9599 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003356/1.135, allocations: 263.5 kB / 0.9601 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.135, allocations: 0 / 0.9601 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003134/1.135, allocations: 34.62 kB / 0.9602 GB, free: 13.61 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.0005675/1.136, allocations: 0.8406 MB / 0.961 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.263e-05/1.136, allocations: 15.39 kB / 0.961 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/1.136, allocations: 1.031 kB / 0.961 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.545e-06/1.136, allocations: 0 / 0.961 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009793/1.137, allocations: 0.618 MB / 0.9616 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/1.139, allocations: 1.403 MB / 0.963 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/1.14, allocations: 0.7558 MB / 0.9637 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001197/1.14, allocations: 34.55 kB / 0.9638 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/1.14, allocations: 75.09 kB / 0.9638 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/1.14, allocations: 5.859 kB / 0.9638 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01911/1.159, allocations: 5.484 MB / 0.9692 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/1.159, allocations: 204 kB / 0.9694 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.94/3.1, allocations: 8 kB / 0.9694 GB, free: 10.27 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: