Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000995/0.000995, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 173 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1/1, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001775/0.001775, allocations: 247.4 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7622/0.7622, allocations: 138.4 MB / 402.2 MB, free: 0.543 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 462.3 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.153e-05, allocations: 7.797 kB / 462.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.2255/0.2256, allocations: 143.6 MB / 0.5917 GB, free: 2.797 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0001225/0.2257, allocations: 56.66 kB / 0.5918 GB, free: 2.742 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.211e-05/0.2257, allocations: 4 kB / 0.5918 GB, free: 2.738 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.2258, allocations: 4 kB / 0.5918 GB, free: 2.734 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 7.182e-05/0.2259, allocations: 15.86 kB / 0.5918 GB, free: 2.719 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005927/0.2265, allocations: 219.1 kB / 0.592 GB, free: 2.504 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 7.036e-05/0.2266, allocations: 35.84 kB / 0.592 GB, free: 2.469 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 3.508e-05/0.2266, allocations: 4 kB / 0.592 GB, free: 2.465 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 4.656e-05/0.2266, allocations: 27.91 kB / 0.5921 GB, free: 2.438 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 5.728e-05/0.2267, allocations: 11.98 kB / 0.5921 GB, free: 2.426 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.2267, allocations: 0 / 0.5921 GB, free: 2.426 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002613/0.227, allocations: 171.3 kB / 0.5922 GB, free: 2.258 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 3.572e-05/0.227, allocations: 8 kB / 0.5923 GB, free: 2.25 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 1.534e-05/0.227, allocations: 11.97 kB / 0.5923 GB, free: 2.238 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.2272, allocations: 119.6 kB / 0.5924 GB, free: 2.121 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2272, allocations: 0 / 0.5924 GB, free: 2.121 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2272, allocations: 0 / 0.5924 GB, free: 2.121 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.2272, allocations: 0 / 0.5924 GB, free: 2.121 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002405/0.2274, allocations: 243.3 kB / 0.5926 GB, free: 1.863 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.2275, allocations: 8.75 kB / 0.5926 GB, free: 1.855 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002361/0.2277, allocations: 40.83 kB / 0.5927 GB, free: 1.816 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.71e-05/0.2278, allocations: 105.8 kB / 0.5928 GB, free: 1.688 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.765e-05/0.2278, allocations: 55.97 kB / 0.5928 GB, free: 1.621 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.2278, allocations: 4.125 kB / 0.5928 GB, free: 1.617 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.594e-05/0.2279, allocations: 83.7 kB / 0.5929 GB, free: 1.52 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.2279, allocations: 0 / 0.5929 GB, free: 1.52 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.2279, allocations: 4 kB / 0.5929 GB, free: 1.516 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.2279, allocations: 8 kB / 0.5929 GB, free: 1.508 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.779e-05/0.228, allocations: 7.984 kB / 0.5929 GB, free: 1.5 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002009/0.2282, allocations: 161.1 kB / 0.5931 GB, free: 1.328 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 3.31e-05/0.2282, allocations: 30.11 kB / 0.5931 GB, free: 1.293 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.117e-05/0.2282, allocations: 8.797 kB / 0.5931 GB, free: 1.281 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.476e-05/0.2283, allocations: 16.09 kB / 0.5931 GB, free: 1.266 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.2283, allocations: 30.56 kB / 0.5932 GB, free: 1.227 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.2283, allocations: 11.94 kB / 0.5932 GB, free: 1.215 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001379/0.2284, allocations: 45.69 kB / 0.5932 GB, free: 1.164 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.984e-05/0.2285, allocations: 51.41 kB / 0.5933 GB, free: 1.102 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.9e-05/0.2285, allocations: 102.7 kB / 0.5934 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.2285, allocations: 25.7 kB / 0.5934 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.2286, allocations: 96.36 kB / 0.5935 GB, free: 0.8594 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.299e-06/0.2286, allocations: 3.953 kB / 0.5935 GB, free: 0.8555 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/0.2286, allocations: 17.72 kB / 0.5935 GB, free: 0.832 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.199e-05/0.2286, allocations: 314.8 kB / 0.5938 GB, free: 0.5156 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.933e-06/0.2286, allocations: 12.06 kB / 0.5938 GB, free: 0.5039 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.678e-05/0.2287, allocations: 22.56 kB / 0.5938 GB, free: 484 kB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.793e-05/0.2287, allocations: 29.39 kB / 0.5939 GB, free: 444 kB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2287, allocations: 3.938 kB / 0.5939 GB, free: 440 kB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.677e-05/0.2287, allocations: 49.56 kB / 0.5939 GB, free: 384 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/0.2288, allocations: 4 kB / 0.5939 GB, free: 380 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2288, allocations: 4.094 kB / 0.5939 GB, free: 376 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.2288, allocations: 4 kB / 0.5939 GB, free: 372 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.343e-05/0.2288, allocations: 4 kB / 0.5939 GB, free: 368 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.2288, allocations: 4.812 kB / 0.5939 GB, free: 364 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.543e-05/0.2288, allocations: 4 kB / 0.5939 GB, free: 360 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-06/0.2288, allocations: 0 / 0.5939 GB, free: 360 kB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.612e-05/0.2289, allocations: 116.6 kB / 0.594 GB, free: 232 kB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.434e-05/0.2289, allocations: 0 / 0.594 GB, free: 232 kB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.73e-05/0.2289, allocations: 15.3 kB / 0.5941 GB, free: 220 kB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.2289, allocations: 0 / 0.5941 GB, free: 220 kB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.2289, allocations: 0 / 0.5941 GB, free: 220 kB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.2289, allocations: 4 kB / 0.5941 GB, free: 216 kB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.2291, allocations: 276.4 kB / 0.5943 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2291, allocations: 0 / 0.5943 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.187e-05/0.2291, allocations: 4 kB / 0.5943 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2291, allocations: 0 / 0.5943 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-06/0.2291, allocations: 0.8125 kB / 0.5943 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.2291, allocations: 7.984 kB / 0.5943 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.2291, allocations: 0 / 0.5943 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.658e-05/0.2291, allocations: 73.86 kB / 0.5944 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-06/0.2291, allocations: 8.094 kB / 0.5944 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.2292, allocations: 3.938 kB / 0.5944 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.175e-05/0.2292, allocations: 9.922 kB / 0.5944 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.215e-06/0.2292, allocations: 0 / 0.5944 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.2292, allocations: 0 / 0.5944 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.043e-05/0.2292, allocations: 10.97 kB / 0.5944 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2292, allocations: 0 / 0.5944 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001003/0.2293, allocations: 8 kB / 0.5944 GB, free: 15.77 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.505e-05/0.2294, allocations: 84.41 kB / 0.5945 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 4.924e-05/0.2295, allocations: 28.36 kB / 0.5946 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2295, allocations: 0 / 0.5946 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.115e-06/0.2295, allocations: 12.84 kB / 0.5946 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001025/0.2296, allocations: 17.34 kB / 0.5946 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003126/0.2299, allocations: 131.1 kB / 0.5947 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.759e-05/0.2299, allocations: 59.34 kB / 0.5948 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.237e-05/0.2299, allocations: 4 kB / 0.5948 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.73e-05/0.23, allocations: 63.34 kB / 0.5948 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of SimCode: time 4.81e-07/0.23, allocations: 0 / 0.5948 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of Templates: time 0.002134/0.2321, allocations: 0.7995 MB / 0.5956 GB, free: 14.57 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7162570459768176]