Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.189/2.189, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001111/0.001111, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.0009593/0.0009593, allocations: 103.7 kB / 0.9318 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.921e-05/4.924e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.266, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.148/6.414, allocations: 2.176 GB / 3.395 GB, free: 111.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/6.414, allocations: 91.94 kB / 3.395 GB, free: 111.1 MB / 1.167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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.059/7.474, allocations: 141.9 MB / 3.534 GB, free: 386.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.467e-06/7.474, allocations: 0 / 3.534 GB, free: 386.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.743e-05/7.474, allocations: 7.906 kB / 3.534 GB, free: 386.9 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.0005972/7.475, allocations: 445 kB / 3.534 GB, free: 386.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 8.178e-05/7.475, allocations: 9.562 kB / 3.534 GB, free: 386.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.696e-05/7.475, allocations: 59.44 kB / 3.534 GB, free: 386.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.553e-05/7.475, allocations: 26.72 kB / 3.534 GB, free: 386.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/7.475, allocations: 252.9 kB / 3.535 GB, free: 386.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/7.475, allocations: 16.94 kB / 3.535 GB, free: 386.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.876e-05/7.475, allocations: 24.16 kB / 3.535 GB, free: 386.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005513/7.476, allocations: 323.9 kB / 3.535 GB, free: 386.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/7.476, allocations: 4.438 kB / 3.535 GB, free: 386.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/7.476, allocations: 17.92 kB / 3.535 GB, free: 386.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/7.476, allocations: 7.344 kB / 3.535 GB, free: 386.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002606/7.476, allocations: 122.7 kB / 3.535 GB, free: 386.1 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/7.478, allocations: 1.987 MB / 3.537 GB, free: 384.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 9.741e-05/7.478, allocations: 166.2 kB / 3.537 GB, free: 384.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.597e-05/7.478, allocations: 82.05 kB / 3.537 GB, free: 384.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/7.478, allocations: 78.22 kB / 3.537 GB, free: 384.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.087e-05/7.478, allocations: 106.7 kB / 3.537 GB, free: 384 MB / 1.167 GB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/7.478, allocations: 0 / 3.537 GB, free: 384 MB / 1.167 GB Notification: Performance of matching and sorting (n=0): time 0.0001299/7.479, allocations: 53.55 kB / 3.537 GB, free: 383.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.394e-05/7.479, allocations: 139.3 kB / 3.538 GB, free: 383.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004755/7.479, allocations: 292.1 kB / 3.538 GB, free: 383.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/7.479, allocations: 30.36 kB / 3.538 GB, free: 383.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/7.479, allocations: 157.9 kB / 3.538 GB, free: 383.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5e-06/7.479, allocations: 0 / 3.538 GB, free: 383.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/7.479, allocations: 1.719 kB / 3.538 GB, free: 383.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001422/7.48, allocations: 336.3 kB / 3.538 GB, free: 383.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.314e-05/7.48, allocations: 5.594 kB / 3.538 GB, free: 383.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.145e-05/7.48, allocations: 62.92 kB / 3.538 GB, free: 383.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.883e-05/7.48, allocations: 16.45 kB / 3.538 GB, free: 383.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/7.48, allocations: 3.75 kB / 3.538 GB, free: 383.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002514/7.48, allocations: 105.9 kB / 3.539 GB, free: 383.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/7.48, allocations: 6.594 kB / 3.539 GB, free: 383.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/7.48, allocations: 4.812 kB / 3.539 GB, free: 383.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.037e-05/7.48, allocations: 6.5 kB / 3.539 GB, free: 383.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/7.48, allocations: 13.75 kB / 3.539 GB, free: 383.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.248e-05/7.48, allocations: 11.08 kB / 3.539 GB, free: 383.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/7.48, allocations: 23.7 kB / 3.539 GB, free: 383.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/7.48, allocations: 3.594 kB / 3.539 GB, free: 383.1 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 () * 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 9.674e-05/7.48, allocations: 191.1 kB / 3.539 GB, free: 382.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.307e-05/7.481, allocations: 123.9 kB / 3.539 GB, free: 382.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.645e-05/7.481, allocations: 125.1 kB / 3.539 GB, free: 382.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.438e-05/7.481, allocations: 182.8 kB / 3.539 GB, free: 382.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.32e-05/7.481, allocations: 182.7 kB / 3.539 GB, free: 382.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-05/7.481, allocations: 187 kB / 3.54 GB, free: 382.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003746/7.481, allocations: 480.6 kB / 3.54 GB, free: 381.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.889e-05/7.481, allocations: 106.4 kB / 3.54 GB, free: 381.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.925e-05/7.481, allocations: 104.8 kB / 3.54 GB, free: 381.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.051e-05/7.481, allocations: 176.3 kB / 3.54 GB, free: 381.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.407e-05/7.482, allocations: 179.7 kB / 3.541 GB, free: 381.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.766e-05/7.482, allocations: 188.5 kB / 3.541 GB, free: 381 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.872e-05/7.482, allocations: 187 kB / 3.541 GB, free: 380.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/7.482, allocations: 322 kB / 3.541 GB, free: 380.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/7.482, allocations: 215.7 kB / 3.541 GB, free: 380.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.675e-05/7.482, allocations: 178.7 kB / 3.542 GB, free: 380.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/7.482, allocations: 102 kB / 3.542 GB, free: 380 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/7.482, allocations: 191.3 kB / 3.542 GB, free: 379.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.98e-05/7.482, allocations: 102.4 kB / 3.542 GB, free: 379.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0003226/7.483, allocations: 230.7 kB / 3.542 GB, free: 379.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/7.483, allocations: 0 / 3.542 GB, free: 379.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0005638/7.483, allocations: 59.66 kB / 3.542 GB, free: 379.6 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 () * 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.001311/7.485, allocations: 1.316 MB / 3.544 GB, free: 378.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0001142/7.485, allocations: 22.72 kB / 3.544 GB, free: 378.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/7.485, allocations: 2.531 kB / 3.544 GB, free: 378.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 1.963e-06/7.485, allocations: 0 / 3.544 GB, free: 378.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006651/7.485, allocations: 0.5933 MB / 3.544 GB, free: 378.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007069/7.486, allocations: 352.9 kB / 3.545 GB, free: 378 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/7.486, allocations: 0.7514 MB / 3.545 GB, free: 377.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 9.523e-05/7.487, allocations: 30.84 kB / 3.545 GB, free: 377.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.545e-05/7.487, allocations: 59.38 kB / 3.545 GB, free: 377.3 MB / 1.167 GB Notification: Performance of SimCode: time 5.81e-07/7.487, allocations: 0 / 3.545 GB, free: 377.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06324/7.55, allocations: 15.42 MB / 3.56 GB, free: 376.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/7.55, allocations: 171.7 kB / 3.561 GB, free: 376.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.402/9.952, allocations: 2.875 kB / 3.561 GB, free: 376.2 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat does not exist to compare? outputFormat=mat