Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.AirToOutlet,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",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.277/2.277, allocations: 390.5 MB / 398 MB, free: 10.93 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.001062/0.001062, allocations: 173 kB / 491.2 MB, free: 1.57 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.624/1.624, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.0008745/0.0008745, allocations: 94.66 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.004e-05/2.006e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3337, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.758/6.092, allocations: 2.162 GB / 3.375 GB, free: 140.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/6.092, allocations: 80.58 kB / 3.375 GB, free: 140.9 MB / 1.151 GB [/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$conAirNoC$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/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$conAirNoC$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$conAirWithC$bacPro_internal is not balanced: The number of potential variables (3) 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$conAirWithC$outlet$forward is not balanced: The number of potential variables (3) 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$conDryAirNoC$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$conDryAirNoC$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$conDryAirWithC$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$conDryAirWithC$outlet$forward 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.197/7.29, allocations: 221.5 MB / 3.591 GB, free: 369.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.302e-06/7.29, allocations: 0 / 3.591 GB, free: 369.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.048e-05/7.29, allocations: 15.59 kB / 3.591 GB, free: 369.2 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0004669/7.29, allocations: 456.1 kB / 3.591 GB, free: 368.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/7.29, allocations: 13.8 kB / 3.591 GB, free: 368.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002354/7.291, allocations: 41.34 kB / 3.592 GB, free: 368.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/7.291, allocations: 257 kB / 3.592 GB, free: 368.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/7.291, allocations: 122.1 kB / 3.592 GB, free: 368.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/7.291, allocations: 14.22 kB / 3.592 GB, free: 368.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002399/7.291, allocations: 128.1 kB / 3.592 GB, free: 368.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/7.292, allocations: 251.4 kB / 3.592 GB, free: 368.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/7.292, allocations: 3.938 kB / 3.592 GB, free: 368.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/7.292, allocations: 0 / 3.592 GB, free: 368.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/7.292, allocations: 14.5 kB / 3.592 GB, free: 368.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/7.293, allocations: 1.531 MB / 3.594 GB, free: 366.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 5.904e-05/7.293, allocations: 173.1 kB / 3.594 GB, free: 366.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.91e-05/7.293, allocations: 90.91 kB / 3.594 GB, free: 366.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/7.293, allocations: 75.28 kB / 3.594 GB, free: 366.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/7.293, allocations: 105.8 kB / 3.594 GB, free: 366.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/7.293, allocations: 0 / 3.594 GB, free: 366.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 8.048e-05/7.293, allocations: 37.08 kB / 3.594 GB, free: 366.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/7.293, allocations: 58.45 kB / 3.594 GB, free: 366.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/7.293, allocations: 199 kB / 3.594 GB, free: 366 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.522e-06/7.293, allocations: 25.7 kB / 3.594 GB, free: 365.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.153e-05/7.293, allocations: 199.9 kB / 3.595 GB, free: 365.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.389e-06/7.293, allocations: 4 kB / 3.595 GB, free: 365.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-06/7.293, allocations: 6.875 kB / 3.595 GB, free: 365.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.677e-05/7.294, allocations: 325.2 kB / 3.595 GB, free: 365.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-05/7.294, allocations: 29.61 kB / 3.595 GB, free: 365.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.202e-05/7.294, allocations: 159.3 kB / 3.595 GB, free: 365.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/7.294, allocations: 59.34 kB / 3.595 GB, free: 365.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/7.294, allocations: 0 / 3.595 GB, free: 365.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003061/7.294, allocations: 192.9 kB / 3.595 GB, free: 365.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/7.294, allocations: 5.094 kB / 3.595 GB, free: 365.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/7.294, allocations: 3.969 kB / 3.595 GB, free: 365.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/7.294, allocations: 10.56 kB / 3.595 GB, free: 365.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/7.294, allocations: 38.05 kB / 3.595 GB, free: 365.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/7.294, allocations: 10.59 kB / 3.595 GB, free: 365.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/7.295, allocations: 16.55 kB / 3.596 GB, free: 365.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/7.295, allocations: 8.25 kB / 3.596 GB, free: 365.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.396e-05/7.295, allocations: 198 kB / 3.596 GB, free: 364.9 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.524e-05/7.295, allocations: 142.1 kB / 3.596 GB, free: 364.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.524e-05/7.295, allocations: 120.2 kB / 3.596 GB, free: 364.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.972e-05/7.295, allocations: 121.4 kB / 3.596 GB, free: 364.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.143e-05/7.295, allocations: 184.1 kB / 3.596 GB, free: 364.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.016e-05/7.295, allocations: 180.2 kB / 3.596 GB, free: 364.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.594e-05/7.295, allocations: 176.3 kB / 3.597 GB, free: 364 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/7.295, allocations: 451.6 kB / 3.597 GB, free: 363.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-05/7.295, allocations: 104.9 kB / 3.597 GB, free: 363.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.948e-05/7.295, allocations: 108.6 kB / 3.597 GB, free: 363.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.632e-05/7.295, allocations: 176.3 kB / 3.597 GB, free: 363.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/7.295, allocations: 184.2 kB / 3.598 GB, free: 362.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.779e-05/7.295, allocations: 183 kB / 3.598 GB, free: 362.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.122e-05/7.295, allocations: 179.9 kB / 3.598 GB, free: 362.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.277e-05/7.295, allocations: 318.2 kB / 3.598 GB, free: 362.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 6.547e-05/7.296, allocations: 195 kB / 3.598 GB, free: 362 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.289e-05/7.296, allocations: 183.9 kB / 3.599 GB, free: 361.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.815e-05/7.296, allocations: 101 kB / 3.599 GB, free: 361.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/7.296, allocations: 180.2 kB / 3.599 GB, free: 361.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/7.296, allocations: 108.1 kB / 3.599 GB, free: 361.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001307/7.296, allocations: 160.4 kB / 3.599 GB, free: 361.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 8.32e-07/7.296, allocations: 0 / 3.599 GB, free: 361.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005236/7.296, allocations: 110.4 kB / 3.599 GB, free: 361.3 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.001444/7.298, allocations: 1.796 MB / 3.601 GB, free: 360.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001572/7.298, allocations: 65.27 kB / 3.601 GB, free: 360.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/7.298, allocations: 0 / 3.601 GB, free: 360.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/7.298, allocations: 3.688 kB / 3.601 GB, free: 360.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/7.298, allocations: 0.5245 MB / 3.602 GB, free: 359.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005943/7.299, allocations: 323.3 kB / 3.602 GB, free: 359.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/7.299, allocations: 0.744 MB / 3.603 GB, free: 358.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001357/7.299, allocations: 28.94 kB / 3.603 GB, free: 358.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.972e-05/7.299, allocations: 63.3 kB / 3.603 GB, free: 358.5 MB / 1.151 GB Notification: Performance of SimCode: time 2.51e-07/7.299, allocations: 3.938 kB / 3.603 GB, free: 358.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03343/7.333, allocations: 10.21 MB / 3.613 GB, free: 352.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/7.333, allocations: 148.7 kB / 3.613 GB, free: 352.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.407/9.74, allocations: 0 / 3.613 GB, free: 352.6 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat does not exist to compare? outputFormat=mat