Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.457/2.457, allocations: 387.1 MB / 399.7 MB, free: 9.426 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001149, allocations: 173 kB / 492.3 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 221.3 MB / 0.7872 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 94.55 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.137e-05/4.185e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.296, allocations: 142.3 MB / 1.212 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.405/5.702, allocations: 2.175 GB / 3.388 GB, free: 103.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/5.702, allocations: 83.33 kB / 3.388 GB, free: 103.4 MB / 1.151 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.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 1.043/6.745, allocations: 141.9 MB / 3.527 GB, free: 381 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.743e-06/6.745, allocations: 2.062 kB / 3.527 GB, free: 381 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.886e-05/6.745, allocations: 5.031 kB / 3.527 GB, free: 381 MB / 1.151 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.0005101/6.746, allocations: 440.1 kB / 3.527 GB, free: 380.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6e-05/6.746, allocations: 13.03 kB / 3.527 GB, free: 380.6 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.499e-05/6.746, allocations: 58.41 kB / 3.527 GB, free: 380.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.693e-05/6.746, allocations: 25.81 kB / 3.527 GB, free: 380.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/6.747, allocations: 263.4 kB / 3.527 GB, free: 380.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/6.747, allocations: 15.56 kB / 3.527 GB, free: 380.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.907e-05/6.747, allocations: 23.38 kB / 3.527 GB, free: 380.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/6.747, allocations: 322 kB / 3.528 GB, free: 380.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/6.747, allocations: 3.406 kB / 3.528 GB, free: 380.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.393e-05/6.747, allocations: 16.27 kB / 3.528 GB, free: 380.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/6.747, allocations: 8.531 kB / 3.528 GB, free: 380.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/6.748, allocations: 119.5 kB / 3.528 GB, free: 380.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/6.749, allocations: 1.986 MB / 3.53 GB, free: 378.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 6.604e-05/6.749, allocations: 165.1 kB / 3.53 GB, free: 378.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.257e-05/6.749, allocations: 84.48 kB / 3.53 GB, free: 378.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/6.749, allocations: 79.03 kB / 3.53 GB, free: 378.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/6.749, allocations: 107.9 kB / 3.53 GB, free: 378 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/6.749, allocations: 0 / 3.53 GB, free: 378 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 0.0001292/6.749, allocations: 55.47 kB / 3.53 GB, free: 378 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/6.749, allocations: 129.9 kB / 3.53 GB, free: 377.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004278/6.75, allocations: 296 kB / 3.531 GB, free: 377.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/6.75, allocations: 25.7 kB / 3.531 GB, free: 377.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/6.75, allocations: 161.8 kB / 3.531 GB, free: 377.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.411e-06/6.75, allocations: 1.062 kB / 3.531 GB, free: 377.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/6.75, allocations: 3.75 kB / 3.531 GB, free: 377.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.383e-05/6.75, allocations: 331.8 kB / 3.531 GB, free: 377.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.02e-05/6.75, allocations: 11.25 kB / 3.531 GB, free: 377.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.217e-05/6.75, allocations: 57.41 kB / 3.531 GB, free: 377.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.241e-05/6.75, allocations: 18.55 kB / 3.531 GB, free: 377.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/6.75, allocations: 7.203 kB / 3.531 GB, free: 377.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002155/6.75, allocations: 99.88 kB / 3.531 GB, free: 377.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/6.75, allocations: 7.312 kB / 3.531 GB, free: 377.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/6.75, allocations: 1.688 kB / 3.531 GB, free: 377.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/6.751, allocations: 3 kB / 3.531 GB, free: 377.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.237e-05/6.751, allocations: 23.28 kB / 3.531 GB, free: 377.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/6.751, allocations: 2.219 kB / 3.531 GB, free: 377.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/6.751, allocations: 25.61 kB / 3.531 GB, free: 377.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/6.751, allocations: 4.25 kB / 3.531 GB, free: 377.2 MB / 1.151 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 6.886e-05/6.751, allocations: 185.3 kB / 3.532 GB, free: 377 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.346e-05/6.751, allocations: 134.3 kB / 3.532 GB, free: 376.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.344e-05/6.751, allocations: 133.3 kB / 3.532 GB, free: 376.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.268e-05/6.751, allocations: 180.7 kB / 3.532 GB, free: 376.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.389e-05/6.751, allocations: 177.1 kB / 3.532 GB, free: 376.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.352e-05/6.751, allocations: 182.8 kB / 3.532 GB, free: 376.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/6.751, allocations: 480.7 kB / 3.533 GB, free: 375.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.808e-05/6.751, allocations: 105.2 kB / 3.533 GB, free: 375.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.446e-05/6.751, allocations: 108.5 kB / 3.533 GB, free: 375.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.192e-05/6.752, allocations: 180.4 kB / 3.533 GB, free: 375.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-05/6.752, allocations: 177.5 kB / 3.533 GB, free: 375.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.347e-05/6.752, allocations: 190.6 kB / 3.534 GB, free: 375.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.458e-05/6.752, allocations: 180.8 kB / 3.534 GB, free: 374.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/6.752, allocations: 325.5 kB / 3.534 GB, free: 374.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 8.688e-05/6.752, allocations: 207.8 kB / 3.534 GB, free: 374.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.001e-05/6.752, allocations: 186.5 kB / 3.534 GB, free: 374.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.946e-05/6.752, allocations: 105.2 kB / 3.535 GB, free: 374.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/6.752, allocations: 177.1 kB / 3.535 GB, free: 373.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/6.752, allocations: 108.2 kB / 3.535 GB, free: 373.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002841/6.752, allocations: 236.4 kB / 3.535 GB, free: 373.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/6.752, allocations: 0 / 3.535 GB, free: 373.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0004792/6.753, allocations: 61.31 kB / 3.535 GB, free: 373.7 MB / 1.151 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.001108/6.754, allocations: 1.311 MB / 3.536 GB, free: 372.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001092/6.754, allocations: 30.19 kB / 3.536 GB, free: 372.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/6.754, allocations: 1.312 kB / 3.536 GB, free: 372.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 2.354e-06/6.754, allocations: 0 / 3.536 GB, free: 372.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005709/6.755, allocations: 0.5963 MB / 3.537 GB, free: 372.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000746/6.756, allocations: 358.3 kB / 3.537 GB, free: 372.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/6.756, allocations: 0.7523 MB / 3.538 GB, free: 371.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000144/6.756, allocations: 27.47 kB / 3.538 GB, free: 371.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.247e-05/6.756, allocations: 63.61 kB / 3.538 GB, free: 371.4 MB / 1.151 GB Notification: Performance of SimCode: time 2.5e-07/6.756, allocations: 0 / 3.538 GB, free: 371.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03726/6.793, allocations: 15.4 MB / 3.553 GB, free: 370.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/6.794, allocations: 181 kB / 3.553 GB, free: 370.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.414/9.208, allocations: 0 / 3.553 GB, free: 370.3 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat does not exist to compare? outputFormat=mat