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/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.652/1.652, allocations: 289.7 MB / 302.2 MB, free: 2.148 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.001223/0.001223, allocations: 182.3 kB / 371.6 MB, free: 3.34 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.758/1.758, allocations: 205.1 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009992/0.0009993, allocations: 93.81 kB / 0.745 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.321e-05/3.323e-05, allocations: 0 / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.326, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.975/7.301, allocations: 2.337 GB / 3.317 GB, free: 230.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/7.301, allocations: 83.83 kB / 3.317 GB, free: 230.8 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAir$bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAir$inlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAirRevFlo$bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAirRevFlo$inlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAirRevFlo$inlet$backward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$sou$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$souRev$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$souRev$outlet$backward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd - DAE generated: time 0.27/7.571, allocations: 142.3 MB / 3.456 GB, free: 100.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.713e-06/7.571, allocations: 0 / 3.456 GB, free: 100.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.04e-05/7.571, allocations: 4 kB / 3.456 GB, free: 100.3 MB / 0.948 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.0005904/7.572, allocations: 443.2 kB / 3.457 GB, free: 99.85 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.432e-05/7.572, allocations: 8.25 kB / 3.457 GB, free: 99.84 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/7.572, allocations: 58.55 kB / 3.457 GB, free: 99.78 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.828e-05/7.572, allocations: 31.66 kB / 3.457 GB, free: 99.75 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/7.572, allocations: 258.6 kB / 3.457 GB, free: 99.45 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/7.572, allocations: 16.44 kB / 3.457 GB, free: 99.44 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.11e-05/7.572, allocations: 16 kB / 3.457 GB, free: 99.42 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004372/7.573, allocations: 328.7 kB / 3.457 GB, free: 99.04 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/7.573, allocations: 4 kB / 3.457 GB, free: 99.04 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/7.573, allocations: 12 kB / 3.457 GB, free: 99.02 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/7.573, allocations: 4 kB / 3.457 GB, free: 99.02 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/7.573, allocations: 119.7 kB / 3.457 GB, free: 98.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/7.574, allocations: 1.992 MB / 3.459 GB, free: 96.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.829e-05/7.574, allocations: 173.1 kB / 3.46 GB, free: 96.62 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.364e-05/7.574, allocations: 84.14 kB / 3.46 GB, free: 96.54 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/7.574, allocations: 75.28 kB / 3.46 GB, free: 96.46 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/7.574, allocations: 105.8 kB / 3.46 GB, free: 96.35 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.934e-06/7.575, allocations: 4 kB / 3.46 GB, free: 96.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 0.0001025/7.575, allocations: 45.42 kB / 3.46 GB, free: 96.29 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/7.575, allocations: 130.7 kB / 3.46 GB, free: 96.15 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/7.575, allocations: 298.7 kB / 3.46 GB, free: 95.86 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/7.575, allocations: 25.7 kB / 3.46 GB, free: 95.82 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.515e-05/7.575, allocations: 159.7 kB / 3.46 GB, free: 95.66 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.898e-06/7.575, allocations: 3.938 kB / 3.46 GB, free: 95.66 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/7.575, allocations: 4 kB / 3.46 GB, free: 95.66 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.503e-05/7.575, allocations: 334.8 kB / 3.461 GB, free: 95.32 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.727e-05/7.575, allocations: 11.98 kB / 3.461 GB, free: 95.31 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.202e-05/7.575, allocations: 58.86 kB / 3.461 GB, free: 95.23 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.356e-05/7.575, allocations: 12 kB / 3.461 GB, free: 95.21 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/7.575, allocations: 3.938 kB / 3.461 GB, free: 95.21 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001561/7.575, allocations: 105.2 kB / 3.461 GB, free: 95.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/7.575, allocations: 9.25 kB / 3.461 GB, free: 95.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/7.575, allocations: 0 / 3.461 GB, free: 95.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/7.575, allocations: 4 kB / 3.461 GB, free: 95.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.008e-05/7.576, allocations: 16.19 kB / 3.461 GB, free: 95.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/7.576, allocations: 11.98 kB / 3.461 GB, free: 95.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.142e-05/7.576, allocations: 27.59 kB / 3.461 GB, free: 95.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/7.576, allocations: 4 kB / 3.461 GB, free: 95.03 MB / 0.948 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 () * 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 7.837e-05/7.576, allocations: 193.7 kB / 3.461 GB, free: 94.84 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/7.576, allocations: 128.6 kB / 3.461 GB, free: 94.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.094e-05/7.576, allocations: 126 kB / 3.461 GB, free: 94.57 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.962e-05/7.576, allocations: 180.3 kB / 3.462 GB, free: 94.39 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-05/7.576, allocations: 188.2 kB / 3.462 GB, free: 94.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.94e-05/7.576, allocations: 180.2 kB / 3.462 GB, free: 94.01 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/7.576, allocations: 477 kB / 3.462 GB, free: 93.49 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.965e-05/7.576, allocations: 101 kB / 3.463 GB, free: 93.38 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.284e-05/7.576, allocations: 109 kB / 3.463 GB, free: 93.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.575e-05/7.576, allocations: 188.2 kB / 3.463 GB, free: 93.08 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/7.576, allocations: 180.3 kB / 3.463 GB, free: 92.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-05/7.576, allocations: 180.2 kB / 3.463 GB, free: 92.71 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.309e-05/7.576, allocations: 180.3 kB / 3.463 GB, free: 92.53 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/7.577, allocations: 335.4 kB / 3.464 GB, free: 92.18 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-05/7.577, allocations: 201.9 kB / 3.464 GB, free: 91.95 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.688e-05/7.577, allocations: 181.1 kB / 3.464 GB, free: 91.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.581e-05/7.577, allocations: 105 kB / 3.464 GB, free: 91.66 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/7.577, allocations: 176.3 kB / 3.464 GB, free: 91.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/7.577, allocations: 104.9 kB / 3.464 GB, free: 91.37 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001882/7.577, allocations: 238.2 kB / 3.465 GB, free: 91.14 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.51e-07/7.577, allocations: 0 / 3.465 GB, free: 91.14 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004003/7.577, allocations: 63.89 kB / 3.465 GB, free: 91.08 MB / 0.948 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 () * 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.0008831/7.578, allocations: 1.326 MB / 3.466 GB, free: 89.73 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.669e-05/7.578, allocations: 23.88 kB / 3.466 GB, free: 89.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/7.578, allocations: 4 kB / 3.466 GB, free: 89.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/7.578, allocations: 0 / 3.466 GB, free: 89.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005207/7.579, allocations: 0.5939 MB / 3.467 GB, free: 89.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000561/7.58, allocations: 352.1 kB / 3.467 GB, free: 88.71 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/7.58, allocations: 0.748 MB / 3.468 GB, free: 87.94 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001023/7.58, allocations: 30.06 kB / 3.468 GB, free: 87.91 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.246e-05/7.58, allocations: 55.42 kB / 3.468 GB, free: 87.86 MB / 0.948 GB Notification: Performance of SimCode: time 8.22e-07/7.58, allocations: 0 / 3.468 GB, free: 87.86 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/7.611, allocations: 15.4 MB / 3.483 GB, free: 72.55 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/7.611, allocations: 174.1 kB / 3.483 GB, free: 72.32 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.406/10.02, allocations: 0 / 3.483 GB, free: 72.32 MB / 0.948 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)