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.7898/0.7898, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 182.2 kB / 187.3 MB, free: 11.88 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.667/1.667, allocations: 221.3 MB / 441.4 MB, free: 4.578 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.0009382/0.000938, allocations: 99.25 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002051/0.002051, allocations: 275.8 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.458e-05/4.461e-05, allocations: 4 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5108/0.5108, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.724/6.235, allocations: 2.127 GB / 2.892 GB, free: 146.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/6.236, allocations: 95.5 kB / 2.892 GB, free: 146.4 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.2343/6.47, allocations: 137 MB / 3.025 GB, free: 17.49 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.553e-06/6.47, allocations: 4 kB / 3.025 GB, free: 17.49 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.617e-05/6.47, allocations: 11.98 kB / 3.025 GB, free: 17.48 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.0003186/6.47, allocations: 398.1 kB / 3.026 GB, free: 17.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/6.47, allocations: 8.031 kB / 3.026 GB, free: 17.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/6.47, allocations: 27.94 kB / 3.026 GB, free: 17.01 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/6.471, allocations: 247.2 kB / 3.026 GB, free: 16.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/6.471, allocations: 11.94 kB / 3.026 GB, free: 16.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/6.471, allocations: 16 kB / 3.026 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/6.471, allocations: 244.2 kB / 3.026 GB, free: 16.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/6.471, allocations: 3.938 kB / 3.026 GB, free: 16.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/6.471, allocations: 8 kB / 3.026 GB, free: 16.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/6.471, allocations: 4 kB / 3.026 GB, free: 16.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.178e-05/6.471, allocations: 67.81 kB / 3.026 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006944/6.472, allocations: 1.594 MB / 3.028 GB, free: 14.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.07e-05/6.472, allocations: 173.1 kB / 3.028 GB, free: 14.45 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.811e-05/6.472, allocations: 84.14 kB / 3.028 GB, free: 14.36 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/6.472, allocations: 75.28 kB / 3.028 GB, free: 14.29 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/6.472, allocations: 113.8 kB / 3.028 GB, free: 14.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.333e-06/6.472, allocations: 0 / 3.028 GB, free: 14.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.085e-05/6.472, allocations: 45.52 kB / 3.028 GB, free: 14.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/6.472, allocations: 130.7 kB / 3.029 GB, free: 13.97 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/6.472, allocations: 218.9 kB / 3.029 GB, free: 13.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.41e-06/6.472, allocations: 25.7 kB / 3.029 GB, free: 13.72 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/6.472, allocations: 139.8 kB / 3.029 GB, free: 13.58 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-06/6.472, allocations: 7.922 kB / 3.029 GB, free: 13.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/6.472, allocations: 0 / 3.029 GB, free: 13.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.524e-05/6.472, allocations: 326.8 kB / 3.029 GB, free: 13.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/6.472, allocations: 8 kB / 3.029 GB, free: 13.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.561e-05/6.472, allocations: 50 kB / 3.029 GB, free: 13.17 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.799e-05/6.472, allocations: 19.98 kB / 3.029 GB, free: 13.15 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/6.472, allocations: 0 / 3.029 GB, free: 13.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001248/6.473, allocations: 93.27 kB / 3.029 GB, free: 13.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/6.473, allocations: 9.25 kB / 3.029 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/6.473, allocations: 0 / 3.029 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/6.473, allocations: 4 kB / 3.029 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.195e-05/6.473, allocations: 8 kB / 3.029 GB, free: 13.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/6.473, allocations: 12.36 kB / 3.029 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.348e-05/6.473, allocations: 19.69 kB / 3.03 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/6.473, allocations: 4 kB / 3.03 GB, free: 13 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 () * 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 5.178e-05/6.473, allocations: 188.2 kB / 3.03 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/6.473, allocations: 124.8 kB / 3.03 GB, free: 12.68 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.053e-05/6.473, allocations: 117.8 kB / 3.03 GB, free: 12.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-05/6.473, allocations: 188.1 kB / 3.03 GB, free: 12.36 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.62e-05/6.473, allocations: 180.3 kB / 3.03 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.507e-05/6.473, allocations: 180.2 kB / 3.03 GB, free: 12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/6.473, allocations: 453.2 kB / 3.031 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-05/6.473, allocations: 105 kB / 3.031 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.619e-05/6.473, allocations: 108.9 kB / 3.031 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.556e-05/6.473, allocations: 188.2 kB / 3.031 GB, free: 11.08 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/6.473, allocations: 180.2 kB / 3.031 GB, free: 10.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.216e-05/6.473, allocations: 184.2 kB / 3.032 GB, free: 10.71 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.322e-05/6.473, allocations: 184.2 kB / 3.032 GB, free: 10.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.279e-05/6.473, allocations: 320.8 kB / 3.032 GB, free: 10.19 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-05/6.473, allocations: 201.8 kB / 3.032 GB, free: 9.965 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.426e-05/6.473, allocations: 184.2 kB / 3.032 GB, free: 9.777 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.62e-05/6.474, allocations: 108.9 kB / 3.033 GB, free: 9.664 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/6.474, allocations: 176.3 kB / 3.033 GB, free: 9.484 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/6.474, allocations: 105 kB / 3.033 GB, free: 9.375 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001066/6.474, allocations: 183.1 kB / 3.033 GB, free: 9.195 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/6.474, allocations: 0 / 3.033 GB, free: 9.195 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003161/6.474, allocations: 51.98 kB / 3.033 GB, free: 9.145 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 () * 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.0005838/6.475, allocations: 0.6552 MB / 3.034 GB, free: 8.488 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.925e-05/6.475, allocations: 19.94 kB / 3.034 GB, free: 8.469 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/6.475, allocations: 0 / 3.034 GB, free: 8.469 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/6.475, allocations: 0 / 3.034 GB, free: 8.469 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004814/6.475, allocations: 0.5741 MB / 3.034 GB, free: 7.891 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000252/6.475, allocations: 217.1 kB / 3.034 GB, free: 7.656 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/6.476, allocations: 0.7243 MB / 3.035 GB, free: 6.906 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.808e-05/6.476, allocations: 13.55 kB / 3.035 GB, free: 6.895 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.283e-05/6.476, allocations: 19.44 kB / 3.035 GB, free: 6.875 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/6.476, allocations: 0 / 3.035 GB, free: 6.875 MB / 0.698 GB Notification: Performance of Templates: time 0.4171/6.893, allocations: 10.42 MB / 3.045 GB, free: 204.3 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)