Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.InletToAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8612/0.8612, allocations: 141.8 MB / 149.3 MB, free: 9.238 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.001131/0.001131, allocations: 184.9 kB / 182.2 MB, free: 9.465 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.613/1.613, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.0009752/0.0009748, allocations: 84.12 kB / 0.5074 GB, free: 10.2 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001834/0.001834, allocations: 268.3 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.568e-05/1.57e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6128/0.6128, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.848/6.461, allocations: 2.127 GB / 2.884 GB, free: 162.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/6.461, allocations: 95.05 kB / 2.884 GB, free: 162.5 MB / 0.698 GB [/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$conAir$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$conAir$inlet$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$conAirRevFlo$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$conAirRevFlo$inlet$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$conAirRevFlo$inlet$backward 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/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$sou$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/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$souRev$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$souRev$outlet$backward is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd - DAE generated: time 0.239/6.7, allocations: 136.2 MB / 3.017 GB, free: 34.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.834e-06/6.7, allocations: 0 / 3.017 GB, free: 34.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.6e-05/6.7, allocations: 7.984 kB / 3.017 GB, free: 34.89 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0003774/6.701, allocations: 394.2 kB / 3.017 GB, free: 34.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/6.701, allocations: 12.03 kB / 3.017 GB, free: 34.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.743e-05/6.701, allocations: 23.7 kB / 3.018 GB, free: 34.42 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/6.701, allocations: 253.1 kB / 3.018 GB, free: 34.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/6.701, allocations: 8 kB / 3.018 GB, free: 34.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/6.701, allocations: 8 kB / 3.018 GB, free: 34.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001046/6.701, allocations: 36 kB / 3.018 GB, free: 34.08 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/6.702, allocations: 220.4 kB / 3.018 GB, free: 33.81 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/6.702, allocations: 3.938 kB / 3.018 GB, free: 33.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/6.702, allocations: 0 / 3.018 GB, free: 33.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/6.702, allocations: 4 kB / 3.018 GB, free: 33.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007614/6.702, allocations: 1.525 MB / 3.02 GB, free: 32.19 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.119e-05/6.702, allocations: 173.1 kB / 3.02 GB, free: 32.01 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.057e-05/6.703, allocations: 88.08 kB / 3.02 GB, free: 31.92 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/6.703, allocations: 75.28 kB / 3.02 GB, free: 31.85 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/6.703, allocations: 109.8 kB / 3.02 GB, free: 31.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/6.703, allocations: 0 / 3.02 GB, free: 31.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.338e-05/6.703, allocations: 38.47 kB / 3.02 GB, free: 31.69 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.067e-05/6.703, allocations: 51.41 kB / 3.02 GB, free: 31.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/6.703, allocations: 134.5 kB / 3.02 GB, free: 31.48 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/6.703, allocations: 29.92 kB / 3.02 GB, free: 31.45 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/6.703, allocations: 159.2 kB / 3.02 GB, free: 31.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/6.703, allocations: 3.938 kB / 3.02 GB, free: 31.28 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/6.703, allocations: 0 / 3.02 GB, free: 31.28 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.389e-05/6.703, allocations: 326.8 kB / 3.021 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.18e-05/6.703, allocations: 4 kB / 3.021 GB, free: 30.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.549e-05/6.703, allocations: 45.95 kB / 3.021 GB, free: 30.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.658e-05/6.703, allocations: 16 kB / 3.021 GB, free: 30.87 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/6.703, allocations: 3.938 kB / 3.021 GB, free: 30.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001211/6.703, allocations: 73.42 kB / 3.021 GB, free: 30.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/6.703, allocations: 8 kB / 3.021 GB, free: 30.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/6.703, allocations: 0 / 3.021 GB, free: 30.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/6.703, allocations: 4.219 kB / 3.021 GB, free: 30.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.422e-05/6.703, allocations: 15.98 kB / 3.021 GB, free: 30.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/6.703, allocations: 7.938 kB / 3.021 GB, free: 30.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.933e-05/6.703, allocations: 11.84 kB / 3.021 GB, free: 30.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/6.703, allocations: 4 kB / 3.021 GB, free: 30.73 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.64e-05/6.703, allocations: 176.3 kB / 3.021 GB, free: 30.55 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/6.703, allocations: 112.8 kB / 3.021 GB, free: 30.44 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.592e-05/6.704, allocations: 126.1 kB / 3.021 GB, free: 30.31 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-05/6.704, allocations: 180.3 kB / 3.021 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.779e-05/6.704, allocations: 176.3 kB / 3.022 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.691e-05/6.704, allocations: 184.2 kB / 3.022 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/6.704, allocations: 429.7 kB / 3.022 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-05/6.704, allocations: 101 kB / 3.022 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.891e-05/6.704, allocations: 108.9 kB / 3.022 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.002e-05/6.704, allocations: 176.3 kB / 3.023 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/6.704, allocations: 180.3 kB / 3.023 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.112e-05/6.704, allocations: 188.3 kB / 3.023 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.182e-05/6.704, allocations: 176.3 kB / 3.023 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.811e-05/6.704, allocations: 316.9 kB / 3.023 GB, free: 28.01 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/6.704, allocations: 182 kB / 3.024 GB, free: 27.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/6.704, allocations: 184.2 kB / 3.024 GB, free: 27.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.97e-05/6.704, allocations: 104.9 kB / 3.024 GB, free: 27.51 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/6.704, allocations: 188.2 kB / 3.024 GB, free: 27.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/6.704, allocations: 105 kB / 3.024 GB, free: 27.21 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.136e-05/6.704, allocations: 108 kB / 3.024 GB, free: 27.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.21e-07/6.704, allocations: 0 / 3.024 GB, free: 27.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003421/6.705, allocations: 71.77 kB / 3.024 GB, free: 27.03 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.0007129/6.705, allocations: 0.7243 MB / 3.025 GB, free: 26.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.813e-05/6.706, allocations: 23.94 kB / 3.025 GB, free: 26.28 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/6.706, allocations: 0 / 3.025 GB, free: 26.28 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.525e-06/6.706, allocations: 3.938 kB / 3.025 GB, free: 26.27 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/6.706, allocations: 0.5234 MB / 3.025 GB, free: 25.75 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002916/6.706, allocations: 220.2 kB / 3.026 GB, free: 25.52 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/6.706, allocations: 0.7128 MB / 3.026 GB, free: 24.78 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.426e-05/6.706, allocations: 8.422 kB / 3.026 GB, free: 24.77 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.625e-05/6.706, allocations: 15.44 kB / 3.026 GB, free: 24.75 MB / 0.698 GB Notification: Performance of SimCode: time 3.41e-07/6.706, allocations: 0 / 3.026 GB, free: 24.75 MB / 0.698 GB Notification: Performance of Templates: time 0.006666/6.713, allocations: 3.961 MB / 3.03 GB, free: 20.79 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)