Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.InletToAirDryAir,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir",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.346/2.346, 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.001328/0.001329, allocations: 182.9 kB / 498.1 MB, free: 5.758 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.769/1.769, allocations: 223.2 MB / 0.7948 GB, free: 17.96 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.0009758/0.0009761, allocations: 88.38 kB / 0.9346 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004037/0.0004034, allocations: 10.38 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3358, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.939/6.275, allocations: 2.167 GB / 3.39 GB, free: 321.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/6.275, allocations: 89.02 kB / 3.39 GB, free: 321.7 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 (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$conAir$inlet$forward 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$conAirRevFlo$bacPro_internal 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$conAirRevFlo$inlet$forward 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$conAirRevFlo$inlet$backward 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/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 (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/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 (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$backward is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd - DAE generated: time 0.3524/6.627, allocations: 137.6 MB / 3.524 GB, free: 182.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.749e-06/6.627, allocations: 0 / 3.524 GB, free: 182.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.929e-05/6.627, allocations: 8 kB / 3.524 GB, free: 182.6 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007498/6.628, allocations: 427.6 kB / 3.525 GB, free: 182.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 8.193e-05/6.628, allocations: 8.031 kB / 3.525 GB, free: 182.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001016/6.628, allocations: 50.55 kB / 3.525 GB, free: 182.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.419e-05/6.629, allocations: 15.81 kB / 3.525 GB, free: 182.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000509/6.629, allocations: 249 kB / 3.525 GB, free: 181.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/6.629, allocations: 16 kB / 3.525 GB, free: 181.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/6.629, allocations: 12 kB / 3.525 GB, free: 181.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003829/6.63, allocations: 236.4 kB / 3.525 GB, free: 181.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/6.63, allocations: 4 kB / 3.525 GB, free: 181.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/6.63, allocations: 11.95 kB / 3.525 GB, free: 181.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/6.63, allocations: 8 kB / 3.525 GB, free: 181.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/6.63, allocations: 67.78 kB / 3.525 GB, free: 181.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/6.631, allocations: 1.591 MB / 3.527 GB, free: 179.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 9.635e-05/6.631, allocations: 169.1 kB / 3.527 GB, free: 179.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/6.631, allocations: 75.28 kB / 3.527 GB, free: 179.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.64e-05/6.632, allocations: 125.8 kB / 3.527 GB, free: 179.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=0): time 2.474e-06/6.632, allocations: 0 / 3.527 GB, free: 179.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=0): time 0.0001296/6.632, allocations: 41.52 kB / 3.527 GB, free: 179.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/6.632, allocations: 126.7 kB / 3.528 GB, free: 179.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/6.632, allocations: 221.7 kB / 3.528 GB, free: 178.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/6.632, allocations: 29.7 kB / 3.528 GB, free: 178.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 9.582e-05/6.632, allocations: 143.8 kB / 3.528 GB, free: 178.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-06/6.632, allocations: 0 / 3.528 GB, free: 178.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/6.632, allocations: 0 / 3.528 GB, free: 178.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001042/6.632, allocations: 330.8 kB / 3.528 GB, free: 178.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.158e-05/6.632, allocations: 7.984 kB / 3.528 GB, free: 178.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.661e-05/6.632, allocations: 53.94 kB / 3.528 GB, free: 178.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.78e-05/6.632, allocations: 16.03 kB / 3.528 GB, free: 178.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/6.632, allocations: 0 / 3.528 GB, free: 178.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002155/6.633, allocations: 89.41 kB / 3.528 GB, free: 178.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/6.633, allocations: 8 kB / 3.528 GB, free: 178.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/6.633, allocations: 3.984 kB / 3.528 GB, free: 178.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.985e-05/6.633, allocations: 4 kB / 3.528 GB, free: 178.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/6.633, allocations: 11.94 kB / 3.528 GB, free: 178.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/6.633, allocations: 4 kB / 3.528 GB, free: 178.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.622e-05/6.633, allocations: 23.62 kB / 3.528 GB, free: 178.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/6.633, allocations: 8 kB / 3.528 GB, free: 178.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0001352/6.633, allocations: 201.3 kB / 3.529 GB, free: 177.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.495e-05/6.633, allocations: 128.7 kB / 3.529 GB, free: 177.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.839e-05/6.633, allocations: 117.9 kB / 3.529 GB, free: 177.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.135e-05/6.633, allocations: 184.2 kB / 3.529 GB, free: 177.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.579e-05/6.634, allocations: 176.3 kB / 3.529 GB, free: 177.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.555e-05/6.634, allocations: 176.3 kB / 3.529 GB, free: 177.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003507/6.634, allocations: 469 kB / 3.53 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-05/6.634, allocations: 101 kB / 3.53 GB, free: 176.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.179e-05/6.634, allocations: 104.9 kB / 3.53 GB, free: 176.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.459e-05/6.634, allocations: 176.3 kB / 3.53 GB, free: 176.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.61e-05/6.634, allocations: 188.2 kB / 3.53 GB, free: 176 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.683e-05/6.634, allocations: 188.2 kB / 3.531 GB, free: 175.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.054e-05/6.634, allocations: 176.3 kB / 3.531 GB, free: 175.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/6.635, allocations: 323.5 kB / 3.531 GB, free: 175.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/6.635, allocations: 201.8 kB / 3.531 GB, free: 175.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/6.635, allocations: 180.3 kB / 3.531 GB, free: 174.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/6.635, allocations: 109.9 kB / 3.532 GB, free: 174.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/6.635, allocations: 184.2 kB / 3.532 GB, free: 174.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.471e-05/6.635, allocations: 101 kB / 3.532 GB, free: 174.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0002133/6.635, allocations: 182 kB / 3.532 GB, free: 174.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.9e-07/6.635, allocations: 0 / 3.532 GB, free: 174.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0006061/6.636, allocations: 55.89 kB / 3.532 GB, free: 174.3 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.001616/6.638, allocations: 1.318 MB / 3.533 GB, free: 172.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0001302/6.638, allocations: 24.23 kB / 3.533 GB, free: 172.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/6.638, allocations: 0 / 3.533 GB, free: 172.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 2.675e-06/6.638, allocations: 0 / 3.533 GB, free: 172.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008185/6.639, allocations: 0.5705 MB / 3.534 GB, free: 172.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/6.641, allocations: 1.866 MB / 3.536 GB, free: 170.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/6.641, allocations: 0.7166 MB / 3.536 GB, free: 169.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001062/6.641, allocations: 21.53 kB / 3.536 GB, free: 169.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.374e-05/6.641, allocations: 51.36 kB / 3.536 GB, free: 169.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.042e-06/6.641, allocations: 0 / 3.536 GB, free: 169.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02787/6.669, allocations: 12.74 MB / 3.549 GB, free: 157 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/6.67, allocations: 186.5 kB / 3.549 GB, free: 156.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.227/8.897, allocations: 0 / 3.549 GB, free: 156.7 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat does not exist to compare? outputFormat=mat