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 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.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.8603/0.8603, allocations: 141.8 MB / 149.3 MB, free: 9.199 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.001213/0.001213, allocations: 188.2 kB / 182.2 MB, free: 9.445 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.577/1.577, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0009892/0.0009891, allocations: 83.55 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002026/0.002026, allocations: 277.3 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.905e-05/1.898e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.562/0.562, allocations: 82.79 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.253/5.816, allocations: 2.122 GB / 2.879 GB, free: 222.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/5.816, allocations: 87.83 kB / 2.879 GB, free: 222.4 MB / 0.698 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.9389/6.755, allocations: 221.6 MB / 3.096 GB, free: 198.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.703e-06/6.755, allocations: 0 / 3.096 GB, free: 198.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.238e-05/6.755, allocations: 7.625 kB / 3.096 GB, free: 198.9 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005253/6.755, allocations: 457.6 kB / 3.096 GB, free: 198.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/6.755, allocations: 10.12 kB / 3.096 GB, free: 198.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000258/6.756, allocations: 43.73 kB / 3.096 GB, free: 198.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/6.756, allocations: 258.1 kB / 3.096 GB, free: 198.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/6.756, allocations: 123 kB / 3.096 GB, free: 198.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/6.756, allocations: 12.75 kB / 3.096 GB, free: 198.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003054/6.757, allocations: 128.1 kB / 3.097 GB, free: 198.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004351/6.757, allocations: 255.9 kB / 3.097 GB, free: 198.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/6.757, allocations: 4.469 kB / 3.097 GB, free: 198.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/6.757, allocations: 2.141 kB / 3.097 GB, free: 198.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/6.757, allocations: 11.53 kB / 3.097 GB, free: 198.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/6.758, allocations: 1.525 MB / 3.098 GB, free: 196.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.023e-05/6.758, allocations: 172.2 kB / 3.099 GB, free: 196.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2e-05/6.758, allocations: 80.14 kB / 3.099 GB, free: 196.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/6.759, allocations: 79.06 kB / 3.099 GB, free: 196.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/6.759, allocations: 107.3 kB / 3.099 GB, free: 196.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.453e-06/6.759, allocations: 1.125 kB / 3.099 GB, free: 196.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 8.585e-05/6.759, allocations: 42.78 kB / 3.099 GB, free: 196.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/6.759, allocations: 54.34 kB / 3.099 GB, free: 196.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/6.759, allocations: 200.5 kB / 3.099 GB, free: 196.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/6.759, allocations: 25.7 kB / 3.099 GB, free: 196.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/6.759, allocations: 198.3 kB / 3.099 GB, free: 196.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.241e-06/6.759, allocations: 11.11 kB / 3.099 GB, free: 196.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.377e-06/6.759, allocations: 3.375 kB / 3.099 GB, free: 196.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.553e-05/6.759, allocations: 325.8 kB / 3.1 GB, free: 195.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.996e-05/6.759, allocations: 30.34 kB / 3.1 GB, free: 195.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/6.759, allocations: 150.2 kB / 3.1 GB, free: 195.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/6.759, allocations: 61.45 kB / 3.1 GB, free: 195.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/6.76, allocations: 1.469 kB / 3.1 GB, free: 195.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003907/6.76, allocations: 191.8 kB / 3.1 GB, free: 195.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/6.76, allocations: 7.219 kB / 3.1 GB, free: 195.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/6.76, allocations: 4.156 kB / 3.1 GB, free: 195.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.783e-05/6.76, allocations: 10.11 kB / 3.1 GB, free: 195.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/6.76, allocations: 41.89 kB / 3.1 GB, free: 195.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/6.76, allocations: 8.406 kB / 3.1 GB, free: 195.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/6.76, allocations: 21.28 kB / 3.1 GB, free: 195.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/6.76, allocations: 18.27 kB / 3.1 GB, free: 195.5 MB / 0.698 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 () * 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 7.213e-05/6.76, allocations: 185.3 kB / 3.1 GB, free: 195.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.662e-05/6.761, allocations: 121 kB / 3.1 GB, free: 195.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/6.761, allocations: 114 kB / 3.101 GB, free: 195.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.767e-05/6.761, allocations: 185.1 kB / 3.101 GB, free: 195 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.181e-05/6.761, allocations: 188.6 kB / 3.101 GB, free: 194.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.068e-05/6.761, allocations: 176.3 kB / 3.101 GB, free: 194.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/6.761, allocations: 444.5 kB / 3.101 GB, free: 194.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.151e-05/6.761, allocations: 106.3 kB / 3.102 GB, free: 194.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.246e-05/6.761, allocations: 102.5 kB / 3.102 GB, free: 194 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.941e-05/6.761, allocations: 184.9 kB / 3.102 GB, free: 193.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/6.761, allocations: 180.1 kB / 3.102 GB, free: 193.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.199e-05/6.761, allocations: 176.3 kB / 3.102 GB, free: 193.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.215e-05/6.761, allocations: 180.9 kB / 3.102 GB, free: 193.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.902e-05/6.761, allocations: 325.4 kB / 3.103 GB, free: 192.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/6.761, allocations: 190.7 kB / 3.103 GB, free: 192.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.756e-05/6.761, allocations: 180 kB / 3.103 GB, free: 192.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.855e-05/6.761, allocations: 108.8 kB / 3.103 GB, free: 192.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/6.762, allocations: 181.5 kB / 3.103 GB, free: 192.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/6.762, allocations: 101 kB / 3.103 GB, free: 192.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001219/6.762, allocations: 146.1 kB / 3.104 GB, free: 192.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/6.762, allocations: 0.7188 kB / 3.104 GB, free: 192.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005618/6.762, allocations: 120.7 kB / 3.104 GB, free: 192.1 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.001524/6.764, allocations: 1.149 MB / 3.105 GB, free: 191.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001714/6.764, allocations: 69.53 kB / 3.105 GB, free: 191.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/6.764, allocations: 0 / 3.105 GB, free: 191.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/6.764, allocations: 3.281 kB / 3.105 GB, free: 191.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/6.764, allocations: 0.5363 MB / 3.105 GB, free: 191.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004002/6.765, allocations: 258.9 kB / 3.106 GB, free: 191.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/6.765, allocations: 0.7448 MB / 3.106 GB, free: 190.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001426/6.765, allocations: 33.36 kB / 3.106 GB, free: 190.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/6.765, allocations: 12.44 kB / 3.106 GB, free: 190.4 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/6.765, allocations: 0 / 3.106 GB, free: 190.4 MB / 0.698 GB Notification: Performance of Templates: time 0.01203/6.777, allocations: 6.794 MB / 3.113 GB, free: 190.3 MB / 0.698 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)