Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.InletToAirDryAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.316/2.316, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.001966/0.001966, allocations: 184.8 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.398 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.0009401/0.0009402, allocations: 80.03 kB / 0.9317 GB, free: 5.727 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.404e-05/3.427e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3227, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.907/6.23, allocations: 2.168 GB / 3.387 GB, free: 120.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/6.23, allocations: 87.33 kB / 3.387 GB, free: 120 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 (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$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 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 (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$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 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 (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/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 (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/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 (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$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 1.046/7.277, allocations: 137 MB / 3.52 GB, free: 383.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.393e-06/7.277, allocations: 0 / 3.52 GB, free: 383.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 1.788e-05/7.277, allocations: 6.094 kB / 3.52 GB, free: 383.4 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.0003808/7.277, allocations: 406.6 kB / 3.521 GB, free: 383 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/7.277, allocations: 10.39 kB / 3.521 GB, free: 383 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.219e-05/7.277, allocations: 49.8 kB / 3.521 GB, free: 383 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.523e-05/7.277, allocations: 18.59 kB / 3.521 GB, free: 383 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/7.278, allocations: 242.2 kB / 3.521 GB, free: 382.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/7.278, allocations: 12.44 kB / 3.521 GB, free: 382.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/7.278, allocations: 17.97 kB / 3.521 GB, free: 382.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/7.278, allocations: 232.5 kB / 3.521 GB, free: 382.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/7.278, allocations: 4.844 kB / 3.521 GB, free: 382.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/7.278, allocations: 8.672 kB / 3.521 GB, free: 382.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/7.278, allocations: 4.125 kB / 3.521 GB, free: 382.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/7.278, allocations: 67.89 kB / 3.521 GB, free: 382.6 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008975/7.279, allocations: 1.602 MB / 3.523 GB, free: 381.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.525e-05/7.279, allocations: 170.8 kB / 3.523 GB, free: 381 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.96e-05/7.279, allocations: 80.14 kB / 3.523 GB, free: 380.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/7.279, allocations: 84.62 kB / 3.523 GB, free: 380.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/7.279, allocations: 109.5 kB / 3.523 GB, free: 380.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/7.279, allocations: 0 / 3.523 GB, free: 380.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=0): time 8.04e-05/7.279, allocations: 46.64 kB / 3.524 GB, free: 380.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/7.279, allocations: 127.4 kB / 3.524 GB, free: 380.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/7.28, allocations: 218.3 kB / 3.524 GB, free: 380.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/7.28, allocations: 27.02 kB / 3.524 GB, free: 380.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 7.978e-05/7.28, allocations: 150.8 kB / 3.524 GB, free: 380.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-06/7.28, allocations: 1.188 kB / 3.524 GB, free: 380.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/7.28, allocations: 0 / 3.524 GB, free: 380.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.27e-05/7.28, allocations: 326.9 kB / 3.524 GB, free: 380 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.58e-05/7.28, allocations: 7.656 kB / 3.524 GB, free: 380 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.326e-05/7.28, allocations: 49.58 kB / 3.524 GB, free: 380 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.283e-05/7.28, allocations: 15.16 kB / 3.524 GB, free: 380 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/7.28, allocations: 8.297 kB / 3.524 GB, free: 380 MB / 1.167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001569/7.28, allocations: 87.03 kB / 3.525 GB, free: 379.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/7.28, allocations: 7.5 kB / 3.525 GB, free: 379.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/7.28, allocations: 0 / 3.525 GB, free: 379.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/7.28, allocations: 7.734 kB / 3.525 GB, free: 379.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.105e-05/7.28, allocations: 11.3 kB / 3.525 GB, free: 379.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/7.28, allocations: 2.953 kB / 3.525 GB, free: 379.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.184e-05/7.28, allocations: 18.25 kB / 3.525 GB, free: 379.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/7.28, allocations: 3.125 kB / 3.525 GB, free: 379.9 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 () * 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 6.334e-05/7.28, allocations: 186.8 kB / 3.525 GB, free: 379.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-05/7.28, allocations: 127.6 kB / 3.525 GB, free: 379.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.872e-05/7.28, allocations: 119.6 kB / 3.525 GB, free: 379.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.143e-05/7.281, allocations: 180.2 kB / 3.525 GB, free: 379.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.197e-05/7.281, allocations: 183.1 kB / 3.525 GB, free: 379.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.923e-05/7.281, allocations: 181 kB / 3.525 GB, free: 379 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/7.281, allocations: 460.1 kB / 3.526 GB, free: 378.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-05/7.281, allocations: 102.6 kB / 3.526 GB, free: 378.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.159e-05/7.281, allocations: 108.3 kB / 3.526 GB, free: 378.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.393e-05/7.281, allocations: 183.8 kB / 3.526 GB, free: 378.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/7.281, allocations: 178.2 kB / 3.526 GB, free: 378 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.503e-05/7.281, allocations: 181.5 kB / 3.527 GB, free: 377.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-05/7.281, allocations: 181.5 kB / 3.527 GB, free: 377.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.717e-05/7.281, allocations: 328.2 kB / 3.527 GB, free: 377.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-05/7.281, allocations: 202.6 kB / 3.527 GB, free: 377.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/7.281, allocations: 184.3 kB / 3.527 GB, free: 376.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.203e-05/7.281, allocations: 106 kB / 3.528 GB, free: 376.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/7.281, allocations: 180.7 kB / 3.528 GB, free: 376.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/7.281, allocations: 103.4 kB / 3.528 GB, free: 376.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001747/7.282, allocations: 175.4 kB / 3.528 GB, free: 376.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/7.282, allocations: 0.6875 kB / 3.528 GB, free: 376.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0004014/7.282, allocations: 57.84 kB / 3.528 GB, free: 376.4 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.001186/7.283, allocations: 1.31 MB / 3.529 GB, free: 375.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 9.575e-05/7.283, allocations: 24.06 kB / 3.529 GB, free: 375.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/7.283, allocations: 3.375 kB / 3.529 GB, free: 375.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 2.936e-06/7.283, allocations: 1.125 kB / 3.529 GB, free: 375.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000515/7.284, allocations: 0.5771 MB / 3.53 GB, free: 375 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005032/7.284, allocations: 268.8 kB / 3.53 GB, free: 374.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/7.285, allocations: 0.7194 MB / 3.531 GB, free: 374.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 7.454e-05/7.285, allocations: 16.58 kB / 3.531 GB, free: 374.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.919e-05/7.285, allocations: 43.89 kB / 3.531 GB, free: 374.1 MB / 1.167 GB Notification: Performance of SimCode: time 3.31e-07/7.285, allocations: 4.844 kB / 3.531 GB, free: 374.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04014/7.325, allocations: 14.3 MB / 3.545 GB, free: 373.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/7.325, allocations: 168.4 kB / 3.545 GB, free: 373.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.177/9.502, allocations: 2.5 kB / 3.545 GB, free: 373.3 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat does not exist to compare? outputFormat=mat