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.686/1.686, allocations: 289.9 MB / 297.4 MB, free: 6.352 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.001062/0.001061, allocations: 172.9 kB / 366.7 MB, free: 1.648 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.815/1.815, allocations: 205.3 MB / 0.626 GB, free: 7.172 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.001227/0.001227, allocations: 94.16 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.358e-05/2.349e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.783/0.783, allocations: 116.3 MB / 0.9733 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.921/6.704, allocations: 2.337 GB / 3.31 GB, free: 154.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/6.704, allocations: 86.2 kB / 3.31 GB, free: 154.1 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.2469/6.951, allocations: 141.4 MB / 3.448 GB, free: 11.45 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.824e-06/6.951, allocations: 4 kB / 3.448 GB, free: 11.45 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.147e-05/6.951, allocations: 4 kB / 3.448 GB, free: 11.44 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.0004464/6.952, allocations: 434.4 kB / 3.449 GB, free: 10.97 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/6.952, allocations: 12.25 kB / 3.449 GB, free: 10.96 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.278e-05/6.952, allocations: 31.56 kB / 3.449 GB, free: 10.93 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/6.952, allocations: 258.6 kB / 3.449 GB, free: 10.63 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/6.952, allocations: 8 kB / 3.449 GB, free: 10.62 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/6.952, allocations: 12 kB / 3.449 GB, free: 10.61 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001664/6.952, allocations: 88.84 kB / 3.449 GB, free: 10.53 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003169/6.953, allocations: 297.2 kB / 3.449 GB, free: 10.18 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/6.953, allocations: 7.938 kB / 3.449 GB, free: 10.17 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/6.953, allocations: 0 / 3.449 GB, free: 10.17 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/6.953, allocations: 8 kB / 3.449 GB, free: 10.16 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008569/6.954, allocations: 1.892 MB / 3.451 GB, free: 8.172 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.948e-05/6.954, allocations: 165.1 kB / 3.451 GB, free: 8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.919e-05/6.954, allocations: 84.14 kB / 3.451 GB, free: 7.914 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/6.954, allocations: 75.28 kB / 3.451 GB, free: 7.84 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/6.954, allocations: 109.8 kB / 3.452 GB, free: 7.723 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/6.954, allocations: 0 / 3.452 GB, free: 7.723 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 6.407e-05/6.954, allocations: 37.55 kB / 3.452 GB, free: 7.68 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.736e-05/6.954, allocations: 51.41 kB / 3.452 GB, free: 7.617 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/6.954, allocations: 153.9 kB / 3.452 GB, free: 7.461 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.362e-06/6.954, allocations: 25.7 kB / 3.452 GB, free: 7.43 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/6.954, allocations: 183.4 kB / 3.452 GB, free: 7.242 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-06/6.954, allocations: 0 / 3.452 GB, free: 7.242 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/6.954, allocations: 0 / 3.452 GB, free: 7.242 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.681e-05/6.954, allocations: 326.8 kB / 3.452 GB, free: 6.914 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.295e-05/6.954, allocations: 4 kB / 3.452 GB, free: 6.91 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.952e-05/6.954, allocations: 54.91 kB / 3.452 GB, free: 6.832 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.88e-05/6.954, allocations: 23.83 kB / 3.452 GB, free: 6.809 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/6.954, allocations: 0 / 3.452 GB, free: 6.809 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001237/6.954, allocations: 85.45 kB / 3.452 GB, free: 6.719 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/6.954, allocations: 4 kB / 3.452 GB, free: 6.715 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/6.955, allocations: 4 kB / 3.452 GB, free: 6.711 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/6.955, allocations: 0 / 3.452 GB, free: 6.711 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.074e-05/6.955, allocations: 12 kB / 3.452 GB, free: 6.699 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/6.955, allocations: 7.938 kB / 3.452 GB, free: 6.691 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.741e-05/6.955, allocations: 4 kB / 3.452 GB, free: 6.688 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/6.955, allocations: 12.23 kB / 3.452 GB, free: 6.676 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 6.129e-05/6.955, allocations: 184.2 kB / 3.453 GB, free: 6.488 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.475e-05/6.955, allocations: 146.4 kB / 3.453 GB, free: 6.332 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.562e-05/6.955, allocations: 116.8 kB / 3.453 GB, free: 6.211 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.434e-05/6.955, allocations: 114.2 kB / 3.453 GB, free: 6.094 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-05/6.955, allocations: 184.2 kB / 3.453 GB, free: 5.906 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-05/6.955, allocations: 180.3 kB / 3.453 GB, free: 5.723 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.879e-05/6.955, allocations: 176.3 kB / 3.454 GB, free: 5.543 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/6.955, allocations: 445.6 kB / 3.454 GB, free: 5.062 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.756e-05/6.955, allocations: 109 kB / 3.454 GB, free: 4.949 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.594e-05/6.955, allocations: 105 kB / 3.454 GB, free: 4.84 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.532e-05/6.955, allocations: 180.2 kB / 3.454 GB, free: 4.656 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/6.955, allocations: 180.3 kB / 3.455 GB, free: 4.473 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.687e-05/6.955, allocations: 176.3 kB / 3.455 GB, free: 4.293 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.857e-05/6.955, allocations: 180.2 kB / 3.455 GB, free: 4.109 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.407e-05/6.955, allocations: 319.7 kB / 3.455 GB, free: 3.773 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.159e-05/6.955, allocations: 194.9 kB / 3.455 GB, free: 3.559 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/6.955, allocations: 180.2 kB / 3.456 GB, free: 3.375 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.65e-05/6.956, allocations: 105 kB / 3.456 GB, free: 3.266 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/6.956, allocations: 180.2 kB / 3.456 GB, free: 3.082 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/6.956, allocations: 101 kB / 3.456 GB, free: 2.977 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.612e-05/6.956, allocations: 116.3 kB / 3.456 GB, free: 2.863 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.61e-07/6.956, allocations: 8 kB / 3.456 GB, free: 2.855 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003256/6.956, allocations: 67.73 kB / 3.456 GB, free: 2.789 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.0007931/6.957, allocations: 1.396 MB / 3.457 GB, free: 1.371 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.576e-05/6.957, allocations: 23.94 kB / 3.457 GB, free: 1.348 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/6.957, allocations: 0 / 3.457 GB, free: 1.348 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/6.957, allocations: 0 / 3.457 GB, free: 1.348 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/6.957, allocations: 0.5224 MB / 3.458 GB, free: 0.8203 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005021/6.958, allocations: 339.9 kB / 3.458 GB, free: 460 kB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5483/7.506, allocations: 0.7507 MB / 3.459 GB, free: 279.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 8.067e-05/7.506, allocations: 9.781 kB / 3.459 GB, free: 279.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.422e-05/7.506, allocations: 50.23 kB / 3.459 GB, free: 279.9 MB / 0.948 GB Notification: Performance of SimCode: time 9.01e-07/7.506, allocations: 0.5938 kB / 3.459 GB, free: 279.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03135/7.538, allocations: 6.442 MB / 3.465 GB, free: 279.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/7.538, allocations: 148.7 kB / 3.466 GB, free: 279.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/9.324, allocations: 0 / 3.466 GB, free: 279.6 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)