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.27/2.27, allocations: 390.5 MB / 398 MB, free: 10.96 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.001219/0.001219, allocations: 182.5 kB / 491.2 MB, free: 1.605 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.668/1.668, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.001117/0.001117, allocations: 104.3 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.689e-05/1.691e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3195, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.753/6.073, allocations: 2.176 GB / 3.388 GB, free: 126.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/6.073, allocations: 83.95 kB / 3.388 GB, free: 126.4 MB / 1.151 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 0.9256/6.999, allocations: 141.1 MB / 3.526 GB, free: 372.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.613e-06/6.999, allocations: 1.25 kB / 3.526 GB, free: 372.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.38e-05/6.999, allocations: 8.156 kB / 3.526 GB, free: 372.6 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.000499/6.999, allocations: 441.1 kB / 3.526 GB, free: 372.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/6.999, allocations: 13.47 kB / 3.526 GB, free: 372.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.625e-05/6.999, allocations: 29.98 kB / 3.526 GB, free: 372.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/7, allocations: 260.2 kB / 3.527 GB, free: 372 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/7, allocations: 7.812 kB / 3.527 GB, free: 372 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/7, allocations: 12.38 kB / 3.527 GB, free: 372 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001994/7, allocations: 88.92 kB / 3.527 GB, free: 372 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003954/7, allocations: 291 kB / 3.527 GB, free: 371.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/7, allocations: 6.016 kB / 3.527 GB, free: 371.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/7, allocations: 1.844 kB / 3.527 GB, free: 371.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/7, allocations: 7.812 kB / 3.527 GB, free: 371.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/7.002, allocations: 1.879 MB / 3.529 GB, free: 370.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 6.244e-05/7.002, allocations: 178.3 kB / 3.529 GB, free: 370 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.115e-05/7.002, allocations: 82.64 kB / 3.529 GB, free: 369.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/7.002, allocations: 79.08 kB / 3.529 GB, free: 369.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/7.002, allocations: 108.7 kB / 3.529 GB, free: 369.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 1.342e-06/7.002, allocations: 0 / 3.529 GB, free: 369.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 7.856e-05/7.002, allocations: 41.28 kB / 3.529 GB, free: 369.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/7.002, allocations: 52.78 kB / 3.529 GB, free: 369.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/7.002, allocations: 143 kB / 3.529 GB, free: 369.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/7.002, allocations: 27.08 kB / 3.529 GB, free: 369.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/7.002, allocations: 178.8 kB / 3.53 GB, free: 369.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.308e-06/7.002, allocations: 4.953 kB / 3.53 GB, free: 369.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/7.002, allocations: 1.406 kB / 3.53 GB, free: 369.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.081e-05/7.002, allocations: 320.2 kB / 3.53 GB, free: 369.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.922e-05/7.002, allocations: 15.31 kB / 3.53 GB, free: 369.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.446e-05/7.002, allocations: 53.02 kB / 3.53 GB, free: 369 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.668e-05/7.002, allocations: 12.77 kB / 3.53 GB, free: 369 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/7.002, allocations: 0 / 3.53 GB, free: 369 MB / 1.151 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001564/7.002, allocations: 85.44 kB / 3.53 GB, free: 369 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/7.002, allocations: 5.844 kB / 3.53 GB, free: 369 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/7.002, allocations: 4.203 kB / 3.53 GB, free: 369 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/7.002, allocations: 5.922 kB / 3.53 GB, free: 369 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.648e-05/7.003, allocations: 18.08 kB / 3.53 GB, free: 369 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/7.003, allocations: 2.031 kB / 3.53 GB, free: 369 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.62e-05/7.003, allocations: 9.859 kB / 3.53 GB, free: 369 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/7.003, allocations: 4.75 kB / 3.53 GB, free: 369 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 7.286e-05/7.003, allocations: 187.6 kB / 3.53 GB, free: 368.8 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.381e-05/7.003, allocations: 142.8 kB / 3.53 GB, free: 368.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-05/7.003, allocations: 114.9 kB / 3.531 GB, free: 368.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.649e-05/7.003, allocations: 119 kB / 3.531 GB, free: 368.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-05/7.003, allocations: 177.8 kB / 3.531 GB, free: 368.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.922e-05/7.003, allocations: 182.3 kB / 3.531 GB, free: 368.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.465e-05/7.003, allocations: 177 kB / 3.531 GB, free: 367.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/7.003, allocations: 444 kB / 3.532 GB, free: 367.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.406e-05/7.003, allocations: 105.2 kB / 3.532 GB, free: 367.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.981e-05/7.003, allocations: 113.4 kB / 3.532 GB, free: 367.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.111e-05/7.003, allocations: 181.6 kB / 3.532 GB, free: 367.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/7.003, allocations: 177.9 kB / 3.532 GB, free: 366.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.147e-05/7.003, allocations: 181.9 kB / 3.532 GB, free: 366.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-05/7.004, allocations: 183 kB / 3.533 GB, free: 366.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.879e-05/7.004, allocations: 315.9 kB / 3.533 GB, free: 366.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 5.387e-05/7.004, allocations: 189.3 kB / 3.533 GB, free: 366 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.93e-05/7.004, allocations: 185.3 kB / 3.533 GB, free: 365.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.582e-05/7.004, allocations: 102.3 kB / 3.533 GB, free: 365.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/7.004, allocations: 180.9 kB / 3.533 GB, free: 365.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/7.004, allocations: 106.8 kB / 3.534 GB, free: 365.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 7.845e-05/7.004, allocations: 119.6 kB / 3.534 GB, free: 365.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/7.004, allocations: 0 / 3.534 GB, free: 365.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003785/7.004, allocations: 75.06 kB / 3.534 GB, free: 365.4 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.001209/7.006, allocations: 1.376 MB / 3.535 GB, free: 364.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 9.063e-05/7.006, allocations: 27.47 kB / 3.535 GB, free: 364.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/7.006, allocations: 0 / 3.535 GB, free: 364.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 2.695e-06/7.006, allocations: 4.938 kB / 3.535 GB, free: 364.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/7.006, allocations: 0.5237 MB / 3.536 GB, free: 364 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007017/7.007, allocations: 328.3 kB / 3.536 GB, free: 363.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/7.007, allocations: 0.754 MB / 3.537 GB, free: 363.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 5.97e-05/7.007, allocations: 12.55 kB / 3.537 GB, free: 363.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.39e-05/7.007, allocations: 52.39 kB / 3.537 GB, free: 363.1 MB / 1.151 GB Notification: Performance of SimCode: time 2.41e-07/7.007, allocations: 0 / 3.537 GB, free: 363.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03108/7.038, allocations: 6.464 MB / 3.543 GB, free: 362.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/7.039, allocations: 163.3 kB / 3.543 GB, free: 362.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.862/8.9, allocations: 1.062 kB / 3.543 GB, free: 362.6 MB / 1.151 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