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.7618/0.7618, allocations: 143.4 MB / 158.3 MB, free: 5.777 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.001373/0.001373, allocations: 177.1 kB / 191.5 MB, free: 5.754 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.422/1.422, allocations: 223.2 MB / 447.7 MB, free: 4.805 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.0008626/0.0008625, allocations: 92.31 kB / 0.5188 GB, free: 1.168 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001775/0.001775, allocations: 277.1 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004233/0.0004233, allocations: 23.08 kB / 0.6929 GB, free: 59.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1792, allocations: 82.8 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.393/5.573, allocations: 2.122 GB / 2.896 GB, free: 247.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/5.573, allocations: 94.38 kB / 2.896 GB, free: 247.7 MB / 0.7136 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.3797/5.953, allocations: 224.3 MB / 3.115 GB, free: 23.86 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.562e-06/5.953, allocations: 0 / 3.115 GB, free: 23.86 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.721e-05/5.953, allocations: 8 kB / 3.115 GB, free: 23.85 MB / 0.7136 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.0004898/5.953, allocations: 473.1 kB / 3.116 GB, free: 23.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/5.953, allocations: 16.5 kB / 3.116 GB, free: 23.33 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002268/5.953, allocations: 43.7 kB / 3.116 GB, free: 23.29 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/5.954, allocations: 258.5 kB / 3.116 GB, free: 22.99 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/5.954, allocations: 131.4 kB / 3.116 GB, free: 22.84 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/5.954, allocations: 24 kB / 3.116 GB, free: 22.82 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003744/5.954, allocations: 286.8 kB / 3.117 GB, free: 22.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/5.954, allocations: 3.938 kB / 3.117 GB, free: 22.49 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/5.954, allocations: 12 kB / 3.117 GB, free: 22.48 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/5.954, allocations: 8 kB / 3.117 GB, free: 22.47 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002526/5.955, allocations: 160.6 kB / 3.117 GB, free: 22.32 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/5.956, allocations: 1.594 MB / 3.118 GB, free: 20.64 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.389e-05/5.956, allocations: 173.1 kB / 3.118 GB, free: 20.46 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/5.956, allocations: 75.28 kB / 3.118 GB, free: 20.38 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/5.956, allocations: 109.8 kB / 3.119 GB, free: 20.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/5.956, allocations: 4 kB / 3.119 GB, free: 20.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.971e-05/5.956, allocations: 53.39 kB / 3.119 GB, free: 20.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/5.956, allocations: 126.7 kB / 3.119 GB, free: 20.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/5.956, allocations: 285.7 kB / 3.119 GB, free: 19.78 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.301e-06/5.956, allocations: 25.7 kB / 3.119 GB, free: 19.75 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.524e-05/5.956, allocations: 183.2 kB / 3.119 GB, free: 19.57 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.679e-06/5.956, allocations: 8 kB / 3.119 GB, free: 19.56 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.196e-06/5.956, allocations: 0 / 3.119 GB, free: 19.56 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.876e-05/5.956, allocations: 334.8 kB / 3.12 GB, free: 19.22 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.205e-05/5.956, allocations: 43.91 kB / 3.12 GB, free: 19.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/5.957, allocations: 159.7 kB / 3.12 GB, free: 18.96 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.794e-05/5.957, allocations: 55.97 kB / 3.12 GB, free: 18.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/5.957, allocations: 7.938 kB / 3.12 GB, free: 18.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003308/5.957, allocations: 209 kB / 3.12 GB, free: 18.69 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/5.957, allocations: 8 kB / 3.12 GB, free: 18.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/5.957, allocations: 4.625 kB / 3.12 GB, free: 18.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/5.957, allocations: 8 kB / 3.12 GB, free: 18.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/5.957, allocations: 43.91 kB / 3.12 GB, free: 18.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/5.957, allocations: 15.92 kB / 3.12 GB, free: 18.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/5.957, allocations: 31.62 kB / 3.12 GB, free: 18.58 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/5.957, allocations: 12 kB / 3.12 GB, free: 18.57 MB / 0.7136 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.0001065/5.958, allocations: 217 kB / 3.12 GB, free: 18.35 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/5.958, allocations: 128.7 kB / 3.12 GB, free: 18.21 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.317e-05/5.958, allocations: 121.8 kB / 3.121 GB, free: 18.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-05/5.958, allocations: 184.3 kB / 3.121 GB, free: 17.9 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.023e-05/5.958, allocations: 176.3 kB / 3.121 GB, free: 17.72 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.28e-05/5.958, allocations: 180.2 kB / 3.121 GB, free: 17.54 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/5.958, allocations: 489.1 kB / 3.122 GB, free: 17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.902e-05/5.958, allocations: 104.9 kB / 3.122 GB, free: 16.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.082e-05/5.958, allocations: 113 kB / 3.122 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.172e-05/5.958, allocations: 180.2 kB / 3.122 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/5.958, allocations: 180.2 kB / 3.122 GB, free: 16.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.909e-05/5.958, allocations: 176.3 kB / 3.122 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.972e-05/5.958, allocations: 188.2 kB / 3.122 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.711e-05/5.958, allocations: 319.6 kB / 3.123 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-05/5.958, allocations: 201.8 kB / 3.123 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.399e-05/5.958, allocations: 188.2 kB / 3.123 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/5.958, allocations: 112.9 kB / 3.123 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/5.959, allocations: 176.3 kB / 3.123 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/5.959, allocations: 109 kB / 3.124 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001789/5.959, allocations: 217.9 kB / 3.124 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/5.959, allocations: 3.938 kB / 3.124 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005977/5.959, allocations: 131.8 kB / 3.124 GB, free: 14.54 MB / 0.7136 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.001035/5.96, allocations: 1.006 MB / 3.125 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001707/5.961, allocations: 83.77 kB / 3.125 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/5.961, allocations: 0 / 3.125 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/5.961, allocations: 0 / 3.125 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/5.961, allocations: 0.5476 MB / 3.125 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004535/5.961, allocations: 445 kB / 3.126 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/5.962, allocations: 0.7475 MB / 3.127 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001345/5.962, allocations: 33.94 kB / 3.127 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/5.962, allocations: 19.44 kB / 3.127 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of SimCode: time 3.4e-07/5.962, allocations: 0 / 3.127 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of Templates: time 0.4016/6.363, allocations: 13.6 MB / 3.14 GB, free: 196 MB / 0.7136 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)