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.8329/0.8329, allocations: 141.8 MB / 149.3 MB, free: 9.203 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.001219/0.001219, allocations: 180.8 kB / 182.2 MB, free: 9.434 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.556/1.556, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.001057/0.001057, allocations: 84.05 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00179/0.00179, allocations: 280.5 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.421e-05/2.416e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5104/0.5105, allocations: 82.78 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.128/5.638, allocations: 2.122 GB / 2.879 GB, free: 223.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/5.639, allocations: 91.81 kB / 2.879 GB, free: 223.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.8432/6.482, allocations: 221.6 MB / 3.096 GB, free: 198.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.683e-06/6.482, allocations: 0 / 3.096 GB, free: 198.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.838e-05/6.482, allocations: 9.953 kB / 3.096 GB, free: 198.8 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.0006027/6.483, allocations: 450.5 kB / 3.096 GB, free: 198.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/6.483, allocations: 9.969 kB / 3.096 GB, free: 198.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002658/6.483, allocations: 42.28 kB / 3.096 GB, free: 198.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/6.483, allocations: 263.1 kB / 3.096 GB, free: 198.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/6.483, allocations: 122.1 kB / 3.096 GB, free: 198.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.83e-05/6.483, allocations: 15.73 kB / 3.096 GB, free: 198.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003246/6.484, allocations: 128.1 kB / 3.097 GB, free: 198.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004219/6.484, allocations: 255.4 kB / 3.097 GB, free: 198 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/6.484, allocations: 1.125 kB / 3.097 GB, free: 198 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/6.484, allocations: 1.125 kB / 3.097 GB, free: 198 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/6.484, allocations: 10.09 kB / 3.097 GB, free: 198 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/6.486, allocations: 1.522 MB / 3.098 GB, free: 196.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.058e-05/6.486, allocations: 173.4 kB / 3.099 GB, free: 196.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.408e-05/6.486, allocations: 82.7 kB / 3.099 GB, free: 196.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/6.486, allocations: 75.28 kB / 3.099 GB, free: 196.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/6.486, allocations: 111.9 kB / 3.099 GB, free: 196.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/6.486, allocations: 3.375 kB / 3.099 GB, free: 196.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 9.458e-05/6.486, allocations: 40.08 kB / 3.099 GB, free: 196.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/6.486, allocations: 52.2 kB / 3.099 GB, free: 196.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/6.486, allocations: 203 kB / 3.099 GB, free: 196.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/6.486, allocations: 25.7 kB / 3.099 GB, free: 196 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/6.486, allocations: 201.2 kB / 3.099 GB, free: 195.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.831e-06/6.486, allocations: 3.328 kB / 3.099 GB, free: 195.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-06/6.486, allocations: 0 / 3.099 GB, free: 195.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.903e-05/6.487, allocations: 334 kB / 3.1 GB, free: 195.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.288e-05/6.487, allocations: 30.11 kB / 3.1 GB, free: 195.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/6.487, allocations: 151.6 kB / 3.1 GB, free: 195.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/6.487, allocations: 65.3 kB / 3.1 GB, free: 195.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/6.487, allocations: 4.438 kB / 3.1 GB, free: 195.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004418/6.487, allocations: 178.3 kB / 3.1 GB, free: 195.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/6.487, allocations: 7.984 kB / 3.1 GB, free: 195.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/6.487, allocations: 4.281 kB / 3.1 GB, free: 195.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/6.487, allocations: 13.48 kB / 3.1 GB, free: 195.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/6.488, allocations: 39.19 kB / 3.1 GB, free: 195.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.83e-05/6.488, allocations: 11 kB / 3.1 GB, free: 195.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/6.488, allocations: 21.67 kB / 3.1 GB, free: 195.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/6.488, allocations: 14.02 kB / 3.1 GB, free: 195.4 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 9.392e-05/6.488, allocations: 183.1 kB / 3.1 GB, free: 195.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.219e-05/6.488, allocations: 116.5 kB / 3.1 GB, free: 195.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.255e-05/6.488, allocations: 120.5 kB / 3.101 GB, free: 195 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.263e-05/6.488, allocations: 186.5 kB / 3.101 GB, free: 194.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.31e-05/6.488, allocations: 180.2 kB / 3.101 GB, free: 194.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.97e-05/6.488, allocations: 187.5 kB / 3.101 GB, free: 194.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/6.489, allocations: 442.5 kB / 3.101 GB, free: 194 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.711e-05/6.489, allocations: 104.6 kB / 3.102 GB, free: 193.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.09e-05/6.489, allocations: 107.7 kB / 3.102 GB, free: 193.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.441e-05/6.489, allocations: 177.4 kB / 3.102 GB, free: 193.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.694e-05/6.489, allocations: 180.8 kB / 3.102 GB, free: 193.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-05/6.489, allocations: 183.2 kB / 3.102 GB, free: 193.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.413e-05/6.489, allocations: 177.9 kB / 3.102 GB, free: 193.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/6.489, allocations: 323.2 kB / 3.103 GB, free: 192.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-05/6.489, allocations: 194 kB / 3.103 GB, free: 192.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.356e-05/6.489, allocations: 181.1 kB / 3.103 GB, free: 192.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/6.489, allocations: 105.7 kB / 3.103 GB, free: 192.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.639e-05/6.489, allocations: 183.7 kB / 3.103 GB, free: 192.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/6.489, allocations: 101.6 kB / 3.103 GB, free: 192 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001575/6.489, allocations: 149.3 kB / 3.104 GB, free: 191.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/6.489, allocations: 0.8438 kB / 3.104 GB, free: 191.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006807/6.49, allocations: 120.4 kB / 3.104 GB, free: 191.9 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.002147/6.492, allocations: 1.157 MB / 3.105 GB, free: 191.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001814/6.493, allocations: 71.72 kB / 3.105 GB, free: 191.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/6.493, allocations: 0 / 3.105 GB, free: 191.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/6.493, allocations: 0 / 3.105 GB, free: 191.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/6.493, allocations: 0.5295 MB / 3.105 GB, free: 191.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004142/6.493, allocations: 266.7 kB / 3.106 GB, free: 190.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/6.493, allocations: 0.7457 MB / 3.106 GB, free: 190.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001414/6.494, allocations: 28.03 kB / 3.106 GB, free: 190.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/6.494, allocations: 13.81 kB / 3.106 GB, free: 190.2 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/6.494, allocations: 0 / 3.106 GB, free: 190.2 MB / 0.698 GB Notification: Performance of Templates: time 0.01157/6.505, allocations: 6.792 MB / 3.113 GB, free: 190.1 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)