Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.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.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7531/0.7531, allocations: 140.1 MB / 156 MB, free: 5.168 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.001037/0.001037, allocations: 183.9 kB / 188.5 MB, free: 15.83 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.535/1.535, allocations: 205.4 MB / 426.3 MB, free: 8.461 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.0008972/0.0008972, allocations: 86.3 kB / 0.4945 GB, free: 8.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.0016/0.0016, allocations: 281.9 kB / 0.5729 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004835/0.0004837, allocations: 20 kB / 0.662 GB, free: 6.809 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3736, allocations: 79.3 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.097/5.47, allocations: 2.293 GB / 3.032 GB, free: 245.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/5.471, allocations: 87.2 kB / 3.032 GB, free: 245.1 MB / 0.6823 GB [/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$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/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$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/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$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/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$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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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.3785/5.849, allocations: 221.4 MB / 3.249 GB, free: 19.48 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.004e-06/5.849, allocations: 0 / 3.249 GB, free: 19.48 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.269e-05/5.849, allocations: 11.98 kB / 3.249 GB, free: 19.46 MB / 0.6823 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.000527/5.85, allocations: 468.5 kB / 3.249 GB, free: 18.95 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/5.85, allocations: 12.03 kB / 3.249 GB, free: 18.94 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002418/5.85, allocations: 40.64 kB / 3.249 GB, free: 18.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/5.851, allocations: 264 kB / 3.249 GB, free: 18.61 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/5.851, allocations: 139.9 kB / 3.249 GB, free: 18.44 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/5.851, allocations: 16.38 kB / 3.249 GB, free: 18.43 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/5.851, allocations: 295.3 kB / 3.25 GB, free: 18.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/5.851, allocations: 3.938 kB / 3.25 GB, free: 18.09 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/5.851, allocations: 12 kB / 3.25 GB, free: 18.08 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/5.851, allocations: 4 kB / 3.25 GB, free: 18.08 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002653/5.851, allocations: 168.5 kB / 3.25 GB, free: 17.91 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/5.852, allocations: 1.591 MB / 3.251 GB, free: 16.23 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.337e-05/5.853, allocations: 173.1 kB / 3.252 GB, free: 16.05 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.714e-05/5.853, allocations: 80.14 kB / 3.252 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/5.853, allocations: 75.28 kB / 3.252 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/5.853, allocations: 113.8 kB / 3.252 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.843e-06/5.853, allocations: 0 / 3.252 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 9.333e-05/5.853, allocations: 45.45 kB / 3.252 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/5.853, allocations: 134.6 kB / 3.252 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/5.853, allocations: 310.5 kB / 3.252 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/5.853, allocations: 29.69 kB / 3.252 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.736e-05/5.853, allocations: 191.2 kB / 3.253 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.047e-06/5.853, allocations: 0 / 3.253 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-06/5.853, allocations: 4 kB / 3.253 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.754e-05/5.853, allocations: 326.8 kB / 3.253 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.521e-05/5.853, allocations: 35.97 kB / 3.253 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/5.853, allocations: 165.6 kB / 3.253 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/5.854, allocations: 196.8 kB / 3.253 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/5.854, allocations: 4 kB / 3.253 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003464/5.854, allocations: 205.1 kB / 3.253 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/5.854, allocations: 9.25 kB / 3.253 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/5.854, allocations: 8 kB / 3.253 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/5.854, allocations: 16.55 kB / 3.254 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/5.854, allocations: 39.92 kB / 3.254 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/5.854, allocations: 11.94 kB / 3.254 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/5.854, allocations: 27.69 kB / 3.254 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/5.854, allocations: 19.94 kB / 3.254 GB, free: 13.86 MB / 0.6823 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.0001039/5.855, allocations: 217 kB / 3.254 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/5.855, allocations: 120.7 kB / 3.254 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.999e-05/5.855, allocations: 137.7 kB / 3.254 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.41e-05/5.855, allocations: 180.3 kB / 3.254 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.259e-05/5.855, allocations: 184.2 kB / 3.254 GB, free: 13 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-05/5.855, allocations: 184.2 kB / 3.255 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/5.855, allocations: 481.1 kB / 3.255 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/5.855, allocations: 104.9 kB / 3.255 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.499e-05/5.855, allocations: 101 kB / 3.255 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.993e-05/5.855, allocations: 188.2 kB / 3.255 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/5.855, allocations: 180.2 kB / 3.256 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-05/5.855, allocations: 180.3 kB / 3.256 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.686e-05/5.855, allocations: 184.2 kB / 3.256 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.33e-05/5.855, allocations: 319.6 kB / 3.256 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.214e-05/5.855, allocations: 201.9 kB / 3.256 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.686e-05/5.855, allocations: 188.2 kB / 3.257 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.505e-05/5.855, allocations: 109.8 kB / 3.257 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/5.855, allocations: 180.3 kB / 3.257 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/5.856, allocations: 104.9 kB / 3.257 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001761/5.856, allocations: 221.9 kB / 3.257 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/5.856, allocations: 0 / 3.257 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000549/5.856, allocations: 127.8 kB / 3.257 GB, free: 9.828 MB / 0.6823 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.001082/5.857, allocations: 1.006 MB / 3.258 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001698/5.858, allocations: 84.2 kB / 3.258 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/5.858, allocations: 0 / 3.258 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.826e-06/5.858, allocations: 4 kB / 3.258 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/5.858, allocations: 0.5498 MB / 3.259 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004749/5.858, allocations: 449 kB / 3.259 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001602/5.859, allocations: 0.7437 MB / 3.26 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001453/5.859, allocations: 33.94 kB / 3.26 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/5.859, allocations: 15.44 kB / 3.26 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of SimCode: time 3.81e-07/5.859, allocations: 0 / 3.26 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of Templates: time 0.3757/6.234, allocations: 13.61 MB / 3.273 GB, free: 187.1 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)