Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.753/0.753, allocations: 140.1 MB / 156 MB, free: 5.156 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 179.3 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.4 MB / 426.3 MB, free: 8.438 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009081/0.0009083, allocations: 85.19 kB / 0.4945 GB, free: 8.398 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001699/0.001699, allocations: 278.3 kB / 0.5729 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005323/0.0005326, allocations: 20 kB / 0.662 GB, free: 6.781 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4249/0.4254, allocations: 79.29 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.848/5.273, allocations: 2.298 GB / 3.037 GB, free: 162.5 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/5.273, allocations: 94.33 kB / 3.037 GB, free: 162.4 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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 0.2366/5.51, allocations: 136.7 MB / 3.171 GB, free: 24.01 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.294e-06/5.51, allocations: 3.938 kB / 3.171 GB, free: 24.01 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.873e-05/5.51, allocations: 4 kB / 3.171 GB, free: 24 MB / 0.6667 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.0003529/5.51, allocations: 419 kB / 3.171 GB, free: 23.54 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/5.51, allocations: 8.031 kB / 3.171 GB, free: 23.54 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/5.51, allocations: 24.66 kB / 3.171 GB, free: 23.51 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/5.511, allocations: 244.5 kB / 3.172 GB, free: 23.23 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/5.511, allocations: 8.375 kB / 3.172 GB, free: 23.23 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/5.511, allocations: 20.38 kB / 3.172 GB, free: 23.21 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/5.511, allocations: 236.9 kB / 3.172 GB, free: 22.92 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/5.511, allocations: 4 kB / 3.172 GB, free: 22.91 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/5.511, allocations: 4 kB / 3.172 GB, free: 22.91 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/5.511, allocations: 4 kB / 3.172 GB, free: 22.91 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/5.511, allocations: 75.78 kB / 3.172 GB, free: 22.83 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007005/5.512, allocations: 1.595 MB / 3.174 GB, free: 21.14 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 4.828e-05/5.512, allocations: 173.1 kB / 3.174 GB, free: 20.96 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.725e-05/5.512, allocations: 88.06 kB / 3.174 GB, free: 20.87 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/5.512, allocations: 75.28 kB / 3.174 GB, free: 20.8 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/5.512, allocations: 113.8 kB / 3.174 GB, free: 20.68 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=0): time 1.333e-06/5.512, allocations: 0 / 3.174 GB, free: 20.68 MB / 0.6667 GB Notification: Performance of matching and sorting (n=0): time 7.606e-05/5.512, allocations: 49.45 kB / 3.174 GB, free: 20.62 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/5.512, allocations: 130.7 kB / 3.174 GB, free: 20.48 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/5.512, allocations: 242.5 kB / 3.174 GB, free: 20.24 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.37e-06/5.512, allocations: 25.7 kB / 3.174 GB, free: 20.21 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.277e-05/5.512, allocations: 143.8 kB / 3.175 GB, free: 20.06 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-06/5.512, allocations: 0 / 3.175 GB, free: 20.06 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/5.512, allocations: 4 kB / 3.175 GB, free: 20.06 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.673e-05/5.512, allocations: 326.8 kB / 3.175 GB, free: 19.73 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.364e-05/5.512, allocations: 12 kB / 3.175 GB, free: 19.72 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.391e-05/5.512, allocations: 50.05 kB / 3.175 GB, free: 19.65 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.04e-05/5.513, allocations: 61.88 kB / 3.175 GB, free: 19.57 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/5.513, allocations: 3.938 kB / 3.175 GB, free: 19.56 MB / 0.6667 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001335/5.513, allocations: 89.5 kB / 3.175 GB, free: 19.47 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/5.513, allocations: 12.03 kB / 3.175 GB, free: 19.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/5.513, allocations: 0 / 3.175 GB, free: 19.46 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/5.513, allocations: 4 kB / 3.175 GB, free: 19.45 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.89e-05/5.513, allocations: 15.92 kB / 3.175 GB, free: 19.44 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/5.513, allocations: 4 kB / 3.175 GB, free: 19.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.595e-05/5.513, allocations: 23.69 kB / 3.175 GB, free: 19.41 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/5.513, allocations: 4 kB / 3.175 GB, free: 19.41 MB / 0.6667 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 () * Number of clocked 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.979e-05/5.513, allocations: 197.1 kB / 3.175 GB, free: 19.2 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.511e-05/5.513, allocations: 128.7 kB / 3.175 GB, free: 19.07 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.479e-05/5.513, allocations: 121.8 kB / 3.176 GB, free: 18.95 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.307e-05/5.513, allocations: 176.3 kB / 3.176 GB, free: 18.77 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.419e-05/5.513, allocations: 180.2 kB / 3.176 GB, free: 18.58 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.253e-05/5.513, allocations: 180.2 kB / 3.176 GB, free: 18.4 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/5.513, allocations: 461.1 kB / 3.176 GB, free: 17.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/5.513, allocations: 105 kB / 3.177 GB, free: 17.78 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.326e-05/5.513, allocations: 104.9 kB / 3.177 GB, free: 17.67 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.259e-05/5.513, allocations: 180.2 kB / 3.177 GB, free: 17.49 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/5.513, allocations: 180.3 kB / 3.177 GB, free: 17.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.75e-05/5.513, allocations: 180.2 kB / 3.177 GB, free: 17.12 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.857e-05/5.513, allocations: 192.2 kB / 3.177 GB, free: 16.93 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.997e-05/5.514, allocations: 319.6 kB / 3.178 GB, free: 16.59 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 4.837e-05/5.514, allocations: 201.8 kB / 3.178 GB, free: 16.37 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/5.514, allocations: 180.2 kB / 3.178 GB, free: 16.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.779e-05/5.514, allocations: 105.9 kB / 3.178 GB, free: 16.07 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/5.514, allocations: 184.2 kB / 3.178 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/5.514, allocations: 101 kB / 3.178 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001156/5.514, allocations: 186 kB / 3.179 GB, free: 15.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.11e-07/5.514, allocations: 0 / 3.179 GB, free: 15.6 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003451/5.514, allocations: 55.89 kB / 3.179 GB, free: 15.54 MB / 0.6667 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.0005686/5.515, allocations: 0.6624 MB / 3.179 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 7.09e-05/5.515, allocations: 19.94 kB / 3.179 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/5.515, allocations: 0 / 3.179 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/5.515, allocations: 448 / 3.179 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005031/5.515, allocations: 0.582 MB / 3.18 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003794/5.516, allocations: 357.4 kB / 3.18 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/5.516, allocations: 0.7127 MB / 3.181 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 7.238e-05/5.516, allocations: 25.53 kB / 3.181 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.014e-05/5.516, allocations: 11.44 kB / 3.181 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of SimCode: time 2.31e-07/5.516, allocations: 0 / 3.181 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of Templates: time 0.01103/5.527, allocations: 8.856 MB / 3.19 GB, free: 4.254 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)