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.8075/0.8075, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.001356/0.001356, allocations: 192.3 kB / 187.3 MB, free: 11.86 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.565/1.565, allocations: 221.3 MB / 441.4 MB, free: 4.574 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.001007/0.001007, allocations: 94.33 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001956/0.001956, allocations: 289.4 kB / 0.594 GB, free: 7.926 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.662e-05/5.678e-05, allocations: 8 kB / 0.6834 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5697/0.5698, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.453/6.023, allocations: 2.122 GB / 2.887 GB, free: 207.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/6.023, allocations: 88.52 kB / 2.887 GB, free: 207.1 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.783/6.806, allocations: 223.8 MB / 3.105 GB, free: 201.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.162e-06/6.806, allocations: 0 / 3.105 GB, free: 201.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.675e-05/6.806, allocations: 8.234 kB / 3.105 GB, free: 201.6 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.0003796/6.806, allocations: 451.8 kB / 3.106 GB, free: 201.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/6.806, allocations: 14.66 kB / 3.106 GB, free: 201.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/6.806, allocations: 44.62 kB / 3.106 GB, free: 201.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/6.807, allocations: 260.3 kB / 3.106 GB, free: 201 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/6.807, allocations: 132.6 kB / 3.106 GB, free: 200.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/6.807, allocations: 21.41 kB / 3.106 GB, free: 200.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/6.807, allocations: 287.8 kB / 3.106 GB, free: 200.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/6.807, allocations: 1.5 kB / 3.106 GB, free: 200.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/6.807, allocations: 9.75 kB / 3.106 GB, free: 200.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/6.807, allocations: 10.53 kB / 3.106 GB, free: 200.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002166/6.808, allocations: 160.6 kB / 3.107 GB, free: 200.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009473/6.809, allocations: 1.592 MB / 3.108 GB, free: 199.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.454e-05/6.809, allocations: 172 kB / 3.108 GB, free: 199.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.545e-05/6.809, allocations: 83.2 kB / 3.108 GB, free: 199.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/6.809, allocations: 75.28 kB / 3.109 GB, free: 199.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/6.809, allocations: 113.1 kB / 3.109 GB, free: 199.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.223e-06/6.809, allocations: 0 / 3.109 GB, free: 199.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.571e-05/6.809, allocations: 51.22 kB / 3.109 GB, free: 199 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/6.809, allocations: 130.6 kB / 3.109 GB, free: 198.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/6.809, allocations: 275 kB / 3.109 GB, free: 198.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.611e-06/6.809, allocations: 29.45 kB / 3.109 GB, free: 198.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.986e-05/6.809, allocations: 187.9 kB / 3.109 GB, free: 198.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.536e-06/6.809, allocations: 3.25 kB / 3.109 GB, free: 198.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-06/6.809, allocations: 6.938 kB / 3.109 GB, free: 198.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.527e-05/6.809, allocations: 332.8 kB / 3.11 GB, free: 198.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.541e-05/6.809, allocations: 31.62 kB / 3.11 GB, free: 198.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.923e-05/6.809, allocations: 159.1 kB / 3.11 GB, free: 198.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.231e-05/6.809, allocations: 63.22 kB / 3.11 GB, free: 198.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/6.809, allocations: 2.875 kB / 3.11 GB, free: 198.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002903/6.81, allocations: 212.8 kB / 3.11 GB, free: 198.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/6.81, allocations: 7.781 kB / 3.11 GB, free: 198.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/6.81, allocations: 10.34 kB / 3.11 GB, free: 198.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/6.81, allocations: 7.844 kB / 3.11 GB, free: 198.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/6.81, allocations: 38.92 kB / 3.11 GB, free: 198.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/6.81, allocations: 12.3 kB / 3.11 GB, free: 198.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/6.81, allocations: 29.17 kB / 3.11 GB, free: 198.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/6.81, allocations: 15.48 kB / 3.11 GB, free: 198.1 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 6.041e-05/6.81, allocations: 194.7 kB / 3.11 GB, free: 197.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/6.81, allocations: 123.8 kB / 3.11 GB, free: 197.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.74e-05/6.81, allocations: 123.8 kB / 3.111 GB, free: 197.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.437e-05/6.81, allocations: 179.3 kB / 3.111 GB, free: 197.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.62e-05/6.81, allocations: 183.5 kB / 3.111 GB, free: 197.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.481e-05/6.81, allocations: 183.7 kB / 3.111 GB, free: 197.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/6.811, allocations: 484.8 kB / 3.112 GB, free: 196.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/6.811, allocations: 104.9 kB / 3.112 GB, free: 196.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.574e-05/6.811, allocations: 105.3 kB / 3.112 GB, free: 196.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-05/6.811, allocations: 184.9 kB / 3.112 GB, free: 196.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/6.811, allocations: 184.1 kB / 3.112 GB, free: 196.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-05/6.811, allocations: 183.3 kB / 3.112 GB, free: 196 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-05/6.811, allocations: 176.3 kB / 3.112 GB, free: 195.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.019e-05/6.811, allocations: 326.5 kB / 3.113 GB, free: 195.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.124e-05/6.811, allocations: 208 kB / 3.113 GB, free: 195.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.149e-05/6.811, allocations: 177.5 kB / 3.113 GB, free: 195.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.566e-05/6.811, allocations: 109.1 kB / 3.113 GB, free: 195 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/6.811, allocations: 183.6 kB / 3.113 GB, free: 194.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/6.811, allocations: 111.1 kB / 3.114 GB, free: 194.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001742/6.811, allocations: 213.1 kB / 3.114 GB, free: 194.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/6.811, allocations: 0 / 3.114 GB, free: 194.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000558/6.812, allocations: 121 kB / 3.114 GB, free: 194.6 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.00103/6.813, allocations: 1.018 MB / 3.115 GB, free: 194.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000178/6.813, allocations: 83.94 kB / 3.115 GB, free: 194.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/6.813, allocations: 0 / 3.115 GB, free: 194.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/6.813, allocations: 0 / 3.115 GB, free: 194.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/6.813, allocations: 0.5487 MB / 3.115 GB, free: 193.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003157/6.814, allocations: 268.2 kB / 3.116 GB, free: 193.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000168/6.814, allocations: 0.7444 MB / 3.116 GB, free: 192.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001347/6.814, allocations: 35.83 kB / 3.116 GB, free: 192.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/6.814, allocations: 17.03 kB / 3.116 GB, free: 192.9 MB / 0.698 GB Notification: Performance of SimCode: time 4.01e-07/6.814, allocations: 0 / 3.116 GB, free: 192.9 MB / 0.698 GB Notification: Performance of Templates: time 0.01974/6.834, allocations: 16.26 MB / 3.132 GB, free: 192.4 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)