Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.AirToOutlet,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.251/2.251, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001129/0.001129, allocations: 183.3 kB / 498.1 MB, free: 5.688 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.565/1.565, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.0008929/0.0008929, allocations: 97.69 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005029/0.0005031, allocations: 11.03 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3125, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.653/5.966, allocations: 2.162 GB / 3.385 GB, free: 326.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004177/5.966, allocations: 89.12 kB / 3.385 GB, free: 326.5 MB / 1.167 GB [/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$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 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$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 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$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 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$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 9.1.1-maint.9.1.x/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 9.1.1-maint.9.1.x/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 9.1.1-maint.9.1.x/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 9.1.1-maint.9.1.x/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 0.4186/6.385, allocations: 224.2 MB / 3.604 GB, free: 98.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.874e-06/6.385, allocations: 4 kB / 3.604 GB, free: 98.09 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.76e-05/6.385, allocations: 11.98 kB / 3.604 GB, free: 98.08 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006812/6.386, allocations: 476 kB / 3.605 GB, free: 97.57 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/6.386, allocations: 11.97 kB / 3.605 GB, free: 97.56 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.829e-05/6.386, allocations: 58.55 kB / 3.605 GB, free: 97.49 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002757/6.386, allocations: 43.75 kB / 3.605 GB, free: 97.45 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/6.387, allocations: 262.7 kB / 3.605 GB, free: 97.15 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/6.387, allocations: 139.4 kB / 3.605 GB, free: 96.99 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/6.387, allocations: 24 kB / 3.605 GB, free: 96.97 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004343/6.387, allocations: 286.8 kB / 3.605 GB, free: 96.64 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/6.387, allocations: 0 / 3.605 GB, free: 96.64 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/6.387, allocations: 15.98 kB / 3.605 GB, free: 96.63 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/6.387, allocations: 8 kB / 3.605 GB, free: 96.62 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002841/6.388, allocations: 160.5 kB / 3.606 GB, free: 96.46 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/6.389, allocations: 1.591 MB / 3.607 GB, free: 94.79 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.518e-05/6.389, allocations: 181.1 kB / 3.607 GB, free: 94.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/6.389, allocations: 75.28 kB / 3.607 GB, free: 94.52 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/6.389, allocations: 105.8 kB / 3.607 GB, free: 94.41 MB / 1.167 GB Notification: Performance of pre-optimization done (n=0): time 1.644e-06/6.389, allocations: 0 / 3.607 GB, free: 94.41 MB / 1.167 GB Notification: Performance of matching and sorting (n=0): time 0.0001039/6.389, allocations: 41.52 kB / 3.607 GB, free: 94.36 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/6.389, allocations: 130.6 kB / 3.608 GB, free: 94.22 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/6.39, allocations: 285.7 kB / 3.608 GB, free: 93.94 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/6.39, allocations: 29.7 kB / 3.608 GB, free: 93.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 9.111e-05/6.39, allocations: 183.2 kB / 3.608 GB, free: 93.72 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 6.412e-06/6.39, allocations: 11.98 kB / 3.608 GB, free: 93.71 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-06/6.39, allocations: 0 / 3.608 GB, free: 93.71 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.389e-05/6.39, allocations: 326.8 kB / 3.608 GB, free: 93.38 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.389e-05/6.39, allocations: 39.97 kB / 3.608 GB, free: 93.34 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/6.39, allocations: 162.8 kB / 3.609 GB, free: 93.12 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/6.39, allocations: 59.92 kB / 3.609 GB, free: 93.06 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/6.39, allocations: 4 kB / 3.609 GB, free: 93.06 MB / 1.167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003948/6.391, allocations: 213.4 kB / 3.609 GB, free: 92.84 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/6.391, allocations: 8 kB / 3.609 GB, free: 92.84 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/6.391, allocations: 4 kB / 3.609 GB, free: 92.83 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/6.391, allocations: 8 kB / 3.609 GB, free: 92.82 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/6.391, allocations: 35.92 kB / 3.609 GB, free: 92.79 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/6.391, allocations: 11.94 kB / 3.609 GB, free: 92.78 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/6.391, allocations: 35.53 kB / 3.609 GB, free: 92.74 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/6.391, allocations: 15.98 kB / 3.609 GB, free: 92.73 MB / 1.167 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 () * Number of clocked 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 0.0001342/6.391, allocations: 221.3 kB / 3.609 GB, free: 92.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.898e-05/6.391, allocations: 124.8 kB / 3.609 GB, free: 92.37 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.368e-05/6.391, allocations: 121.6 kB / 3.609 GB, free: 92.25 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.419e-05/6.391, allocations: 184.2 kB / 3.61 GB, free: 92.06 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.984e-05/6.391, allocations: 180.2 kB / 3.61 GB, free: 91.88 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.842e-05/6.391, allocations: 184.2 kB / 3.61 GB, free: 91.69 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/6.392, allocations: 489 kB / 3.61 GB, free: 91.15 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-05/6.392, allocations: 101 kB / 3.611 GB, free: 91.05 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.571e-05/6.392, allocations: 113 kB / 3.611 GB, free: 90.93 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.773e-05/6.392, allocations: 180.2 kB / 3.611 GB, free: 90.75 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/6.392, allocations: 180.2 kB / 3.611 GB, free: 90.56 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.765e-05/6.392, allocations: 180.3 kB / 3.611 GB, free: 90.38 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.726e-05/6.392, allocations: 180.3 kB / 3.611 GB, free: 90.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/6.392, allocations: 327.5 kB / 3.612 GB, free: 89.85 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.557e-05/6.392, allocations: 205.7 kB / 3.612 GB, free: 89.62 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.548e-05/6.392, allocations: 184.3 kB / 3.612 GB, free: 89.44 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/6.392, allocations: 109.9 kB / 3.612 GB, free: 89.32 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/6.392, allocations: 180.2 kB / 3.612 GB, free: 89.14 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/6.392, allocations: 105 kB / 3.612 GB, free: 89.03 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0002014/6.393, allocations: 217.9 kB / 3.613 GB, free: 88.82 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.91e-07/6.393, allocations: 0 / 3.613 GB, free: 88.82 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0006783/6.393, allocations: 123.9 kB / 3.613 GB, free: 88.7 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.001669/6.395, allocations: 1.67 MB / 3.614 GB, free: 87 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0002065/6.395, allocations: 79.77 kB / 3.614 GB, free: 86.93 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/6.395, allocations: 0 / 3.614 GB, free: 86.93 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/6.395, allocations: 1.25 kB / 3.614 GB, free: 86.93 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/6.396, allocations: 0.5515 MB / 3.615 GB, free: 86.37 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/6.398, allocations: 4.128 MB / 3.619 GB, free: 82.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/6.398, allocations: 0.7437 MB / 3.62 GB, free: 81.33 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001777/6.399, allocations: 37.88 kB / 3.62 GB, free: 81.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.47e-05/6.399, allocations: 59.42 kB / 3.62 GB, free: 81.24 MB / 1.167 GB Notification: Performance of SimCode: time 1.493e-06/6.399, allocations: 4 kB / 3.62 GB, free: 81.23 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0422/6.441, allocations: 18.98 MB / 3.638 GB, free: 62.38 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/6.441, allocations: 183.7 kB / 3.638 GB, free: 62.14 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.498/8.939, allocations: 2.672 kB / 3.639 GB, free: 62.14 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat does not exist to compare? outputFormat=mat