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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 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.8199/0.8199, allocations: 143.4 MB / 158.3 MB, free: 5.805 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 188.7 kB / 191.5 MB, free: 5.75 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 223.2 MB / 447.7 MB, free: 6.508 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009142/0.0009141, allocations: 96.25 kB / 0.5188 GB, free: 2.855 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001867/0.001867, allocations: 279.1 kB / 0.6005 GB, free: 48.97 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005693/0.0005694, allocations: 19.98 kB / 0.6929 GB, free: 2.297 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4472/0.4478, allocations: 82.77 MB / 0.7737 GB, free: 26.21 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.519/5.967, allocations: 2.127 GB / 2.901 GB, free: 175.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/5.967, allocations: 90.83 kB / 2.901 GB, free: 175.2 MB / 0.698 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.2282/6.195, allocations: 137.6 MB / 3.036 GB, free: 36.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.294e-06/6.195, allocations: 0 / 3.036 GB, free: 36.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.614e-05/6.195, allocations: 4 kB / 3.036 GB, free: 36.09 MB / 0.698 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.0003401/6.196, allocations: 414.8 kB / 3.036 GB, free: 35.63 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/6.196, allocations: 12.81 kB / 3.036 GB, free: 35.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/6.196, allocations: 19.81 kB / 3.036 GB, free: 35.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/6.196, allocations: 256.6 kB / 3.036 GB, free: 35.31 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/6.196, allocations: 8 kB / 3.036 GB, free: 35.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/6.196, allocations: 19.98 kB / 3.036 GB, free: 35.28 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/6.196, allocations: 236.5 kB / 3.037 GB, free: 34.99 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/6.196, allocations: 3.938 kB / 3.037 GB, free: 34.99 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/6.196, allocations: 8 kB / 3.037 GB, free: 34.98 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/6.196, allocations: 4 kB / 3.037 GB, free: 34.98 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.177e-05/6.196, allocations: 67.78 kB / 3.037 GB, free: 34.91 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006872/6.197, allocations: 1.595 MB / 3.038 GB, free: 33.22 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.108e-05/6.197, allocations: 181.1 kB / 3.038 GB, free: 33.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/6.197, allocations: 75.5 kB / 3.038 GB, free: 32.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/6.197, allocations: 109.8 kB / 3.039 GB, free: 32.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/6.197, allocations: 3.938 kB / 3.039 GB, free: 32.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.957e-05/6.197, allocations: 41.52 kB / 3.039 GB, free: 32.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/6.197, allocations: 130.7 kB / 3.039 GB, free: 32.65 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/6.198, allocations: 217.8 kB / 3.039 GB, free: 32.44 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.192e-06/6.198, allocations: 25.7 kB / 3.039 GB, free: 32.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.799e-05/6.198, allocations: 151.7 kB / 3.039 GB, free: 32.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-06/6.198, allocations: 0 / 3.039 GB, free: 32.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/6.198, allocations: 0 / 3.039 GB, free: 32.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.608e-05/6.198, allocations: 326.8 kB / 3.039 GB, free: 31.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/6.198, allocations: 15.92 kB / 3.039 GB, free: 31.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.624e-05/6.198, allocations: 46.02 kB / 3.039 GB, free: 31.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.869e-05/6.198, allocations: 12.03 kB / 3.039 GB, free: 31.83 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/6.198, allocations: 8 kB / 3.039 GB, free: 31.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000129/6.198, allocations: 93.27 kB / 3.04 GB, free: 31.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/6.198, allocations: 9.5 kB / 3.04 GB, free: 31.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/6.198, allocations: 7.984 kB / 3.04 GB, free: 31.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/6.198, allocations: 0 / 3.04 GB, free: 31.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.928e-05/6.198, allocations: 12 kB / 3.04 GB, free: 31.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/6.198, allocations: 0 / 3.04 GB, free: 31.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.692e-05/6.198, allocations: 27.91 kB / 3.04 GB, free: 31.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/6.198, allocations: 8 kB / 3.04 GB, free: 31.66 MB / 0.698 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 7.34e-05/6.198, allocations: 197.1 kB / 3.04 GB, free: 31.46 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.493e-05/6.198, allocations: 124.7 kB / 3.04 GB, free: 31.33 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.545e-05/6.198, allocations: 117.9 kB / 3.04 GB, free: 31.21 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.61e-05/6.198, allocations: 188.2 kB / 3.04 GB, free: 31.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.603e-05/6.198, allocations: 180.3 kB / 3.04 GB, free: 30.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.382e-05/6.198, allocations: 184.2 kB / 3.041 GB, free: 30.65 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/6.199, allocations: 453.2 kB / 3.041 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/6.199, allocations: 101 kB / 3.041 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.989e-05/6.199, allocations: 104.9 kB / 3.041 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.409e-05/6.199, allocations: 184.2 kB / 3.041 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/6.199, allocations: 188.2 kB / 3.042 GB, free: 29.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.643e-05/6.199, allocations: 180.3 kB / 3.042 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.687e-05/6.199, allocations: 180.2 kB / 3.042 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.999e-05/6.199, allocations: 315.6 kB / 3.042 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.387e-05/6.199, allocations: 205.8 kB / 3.042 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.392e-05/6.199, allocations: 192.2 kB / 3.043 GB, free: 28.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.813e-05/6.199, allocations: 101 kB / 3.043 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/6.199, allocations: 184.2 kB / 3.043 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/6.199, allocations: 105 kB / 3.043 GB, free: 28.04 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001037/6.199, allocations: 178 kB / 3.043 GB, free: 27.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/6.199, allocations: 0 / 3.043 GB, free: 27.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003258/6.2, allocations: 55.98 kB / 3.043 GB, free: 27.81 MB / 0.698 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.0006135/6.2, allocations: 0.6539 MB / 3.044 GB, free: 27.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.074e-05/6.2, allocations: 27.88 kB / 3.044 GB, free: 27.12 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/6.2, allocations: 0 / 3.044 GB, free: 27.12 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/6.2, allocations: 0 / 3.044 GB, free: 27.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/6.201, allocations: 0.5768 MB / 3.044 GB, free: 26.54 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003832/6.201, allocations: 357.3 kB / 3.045 GB, free: 26.16 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/6.201, allocations: 0.7205 MB / 3.045 GB, free: 25.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.14e-05/6.201, allocations: 13.55 kB / 3.045 GB, free: 25.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/6.201, allocations: 15.44 kB / 3.045 GB, free: 25.39 MB / 0.698 GB Notification: Performance of SimCode: time 4.91e-07/6.201, allocations: 7.938 kB / 3.045 GB, free: 25.38 MB / 0.698 GB Notification: Performance of Templates: time 0.01067/6.212, allocations: 8.835 MB / 3.054 GB, free: 16.56 MB / 0.698 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)