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.345/2.345, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001192/0.001192, allocations: 179 kB / 498.1 MB, free: 5.75 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.736/1.736, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.001037/0.001038, allocations: 100.2 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003969/0.0003968, allocations: 6.969 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3666, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.138/6.505, allocations: 2.176 GB / 3.398 GB, free: 256.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/6.505, allocations: 87.86 kB / 3.399 GB, free: 256.4 MB / 1.167 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 0.2666/6.772, allocations: 142.6 MB / 3.538 GB, free: 127 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.533e-06/6.772, allocations: 0 / 3.538 GB, free: 127 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.576e-05/6.772, allocations: 11.98 kB / 3.538 GB, free: 127 MB / 1.167 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.0005134/6.773, allocations: 467.6 kB / 3.538 GB, free: 126.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/6.773, allocations: 8.031 kB / 3.538 GB, free: 126.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.404e-05/6.773, allocations: 58.53 kB / 3.538 GB, free: 126.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.973e-05/6.773, allocations: 27.72 kB / 3.538 GB, free: 126.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/6.773, allocations: 252.7 kB / 3.539 GB, free: 126.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/6.773, allocations: 28.38 kB / 3.539 GB, free: 126.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/6.773, allocations: 23.95 kB / 3.539 GB, free: 126 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004072/6.774, allocations: 324.3 kB / 3.539 GB, free: 125.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/6.774, allocations: 3.984 kB / 3.539 GB, free: 125.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/6.774, allocations: 12 kB / 3.539 GB, free: 125.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/6.774, allocations: 8 kB / 3.539 GB, free: 125.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/6.774, allocations: 115.7 kB / 3.539 GB, free: 125.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/6.775, allocations: 1.985 MB / 3.541 GB, free: 123.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.448e-05/6.775, allocations: 177.2 kB / 3.541 GB, free: 123.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/6.775, allocations: 79.27 kB / 3.541 GB, free: 123.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.942e-05/6.775, allocations: 109.8 kB / 3.541 GB, free: 123 MB / 1.167 GB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/6.775, allocations: 0 / 3.541 GB, free: 123 MB / 1.167 GB Notification: Performance of matching and sorting (n=0): time 0.0001085/6.775, allocations: 53.42 kB / 3.541 GB, free: 123 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/6.775, allocations: 130.6 kB / 3.542 GB, free: 122.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/6.776, allocations: 295.6 kB / 3.542 GB, free: 122.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/6.776, allocations: 29.7 kB / 3.542 GB, free: 122.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 8.835e-05/6.776, allocations: 159.9 kB / 3.542 GB, free: 122.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 6.522e-06/6.776, allocations: 4 kB / 3.542 GB, free: 122.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-06/6.776, allocations: 3.938 kB / 3.542 GB, free: 122.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.581e-05/6.776, allocations: 334.8 kB / 3.542 GB, free: 122 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.557e-05/6.776, allocations: 4 kB / 3.542 GB, free: 122 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.57e-05/6.776, allocations: 66.78 kB / 3.542 GB, free: 121.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.581e-05/6.776, allocations: 12 kB / 3.542 GB, free: 121.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/6.776, allocations: 0 / 3.542 GB, free: 121.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001721/6.776, allocations: 113.2 kB / 3.543 GB, free: 121.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/6.776, allocations: 9.562 kB / 3.543 GB, free: 121.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/6.776, allocations: 0 / 3.543 GB, free: 121.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/6.776, allocations: 4 kB / 3.543 GB, free: 121.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.182e-05/6.776, allocations: 12 kB / 3.543 GB, free: 121.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/6.776, allocations: 0 / 3.543 GB, free: 121.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.318e-05/6.777, allocations: 27.64 kB / 3.543 GB, free: 121.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/6.777, allocations: 12.17 kB / 3.543 GB, free: 121.7 MB / 1.167 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.0001163/6.777, allocations: 209.1 kB / 3.543 GB, free: 121.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-05/6.777, allocations: 128.7 kB / 3.543 GB, free: 121.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.97e-05/6.777, allocations: 133.9 kB / 3.543 GB, free: 121.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.354e-05/6.777, allocations: 180.3 kB / 3.543 GB, free: 121.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.642e-05/6.777, allocations: 180.2 kB / 3.543 GB, free: 120.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-05/6.777, allocations: 180.3 kB / 3.544 GB, free: 120.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/6.777, allocations: 481.1 kB / 3.544 GB, free: 120.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.21e-05/6.777, allocations: 104.9 kB / 3.544 GB, free: 120.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.973e-05/6.777, allocations: 101 kB / 3.544 GB, free: 119.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.337e-05/6.777, allocations: 180.2 kB / 3.544 GB, free: 119.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.645e-05/6.777, allocations: 192.2 kB / 3.545 GB, free: 119.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-05/6.777, allocations: 176.3 kB / 3.545 GB, free: 119.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.41e-05/6.777, allocations: 180.2 kB / 3.545 GB, free: 119.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/6.778, allocations: 343.4 kB / 3.545 GB, free: 118.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.478e-05/6.778, allocations: 197.8 kB / 3.545 GB, free: 118.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/6.778, allocations: 189.2 kB / 3.546 GB, free: 118.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.096e-05/6.778, allocations: 104.9 kB / 3.546 GB, free: 118.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/6.778, allocations: 176.3 kB / 3.546 GB, free: 118.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/6.778, allocations: 112.9 kB / 3.546 GB, free: 118 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001847/6.778, allocations: 231 kB / 3.546 GB, free: 117.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.31e-07/6.778, allocations: 0 / 3.546 GB, free: 117.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0004001/6.778, allocations: 63.98 kB / 3.546 GB, free: 117.7 MB / 1.167 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.001001/6.779, allocations: 1.319 MB / 3.548 GB, free: 116.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 9.508e-05/6.78, allocations: 27.88 kB / 3.548 GB, free: 116.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/6.78, allocations: 0 / 3.548 GB, free: 116.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 3.927e-06/6.78, allocations: 4 kB / 3.548 GB, free: 116.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005225/6.78, allocations: 0.586 MB / 3.548 GB, free: 115.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/6.782, allocations: 2.329 MB / 3.55 GB, free: 113.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/6.782, allocations: 0.7521 MB / 3.551 GB, free: 112.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001171/6.782, allocations: 30.28 kB / 3.551 GB, free: 112.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.192e-05/6.782, allocations: 55.42 kB / 3.551 GB, free: 112.5 MB / 1.167 GB Notification: Performance of SimCode: time 4.11e-07/6.782, allocations: 0 / 3.551 GB, free: 112.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/6.811, allocations: 13.92 MB / 3.565 GB, free: 98.74 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/6.812, allocations: 186.1 kB / 3.565 GB, free: 98.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.147/8.959, allocations: 3 kB / 3.565 GB, free: 98.5 MB / 1.167 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