Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.001357/0.001357, allocations: 99.66 kB / 18.94 MB, free: 2.84 MB / 14.72 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.001508/0.001508, allocations: 220 kB / 22.24 MB, free: 5.109 MB / 14.72 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.002655/0.002655, allocations: 289.6 kB / 312.7 MB, free: 2.594 MB / 238.1 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 1.308/1.308, allocations: 180.6 MB / 0.5369 GB, free: 14.43 MB / 382.1 MB " [Timeout remaining time 178] 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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002973/0.002973, allocations: 104 kB / 0.74 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2144, allocations: 95.39 MB / 0.8331 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005366/0.2198, allocations: 3.233 MB / 0.8363 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001155/0.2199, allocations: 47.88 kB / 0.8363 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.607e-05/0.2199, allocations: 4 kB / 0.8363 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.22, allocations: 3.938 kB / 0.8363 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.586e-05/0.2201, allocations: 15.91 kB / 0.8364 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006024/0.2207, allocations: 192.5 kB / 0.8365 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.337e-05/0.2208, allocations: 31.8 kB / 0.8366 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.468e-05/0.2209, allocations: 7.984 kB / 0.8366 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.72e-05/0.2209, allocations: 23.92 kB / 0.8366 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.351e-05/0.221, allocations: 7.984 kB / 0.8366 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.221, allocations: 4 kB / 0.8366 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003046/0.2213, allocations: 131.5 kB / 0.8367 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.894e-05/0.2213, allocations: 4 kB / 0.8367 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.541e-05/0.2214, allocations: 11.92 kB / 0.8368 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.2216, allocations: 123.7 kB / 0.8369 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2216, allocations: 3.984 kB / 0.8369 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2216, allocations: 0 / 0.8369 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.2216, allocations: 4 kB / 0.8369 GB, free: 3.949 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003964/0.222, allocations: 274.1 kB / 0.8371 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.2221, allocations: 12.62 kB / 0.8372 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.883e-05/0.2221, allocations: 0.9375 kB / 0.8372 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.2222, allocations: 110.5 kB / 0.8373 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.505e-05/0.2223, allocations: 51.97 kB / 0.8373 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-06/0.2223, allocations: 384 / 0.8373 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.2224, allocations: 83.3 kB / 0.8374 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.2225, allocations: 0 / 0.8374 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.2225, allocations: 0 / 0.8374 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.2225, allocations: 4 kB / 0.8374 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.457e-05/0.2225, allocations: 15.98 kB / 0.8374 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.223, allocations: 240.5 kB / 0.8376 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.083e-05/0.2231, allocations: 14.58 kB / 0.8377 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.372e-05/0.2231, allocations: 4.859 kB / 0.8377 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/0.2232, allocations: 36.03 kB / 0.8377 GB, free: 3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.2232, allocations: 34.56 kB / 0.8377 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.2232, allocations: 0 / 0.8377 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001336/0.2233, allocations: 37.64 kB / 0.8378 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.2234, allocations: 59.53 kB / 0.8378 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.374e-05/0.2235, allocations: 97.84 kB / 0.8379 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.2235, allocations: 29.7 kB / 0.8379 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.729e-05/0.2235, allocations: 92.03 kB / 0.838 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.423e-06/0.2236, allocations: 3.953 kB / 0.838 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.2236, allocations: 17.7 kB / 0.838 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.2238, allocations: 322.7 kB / 0.8384 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.527e-05/0.2238, allocations: 4 kB / 0.8384 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.948e-05/0.2238, allocations: 21.7 kB / 0.8384 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.328e-05/0.2238, allocations: 29.66 kB / 0.8384 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2238, allocations: 0 / 0.8384 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.966e-05/0.2239, allocations: 45.69 kB / 0.8385 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.2239, allocations: 7.938 kB / 0.8385 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.2239, allocations: 4 kB / 0.8385 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.2239, allocations: 0 / 0.8385 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.538e-05/0.224, allocations: 7.938 kB / 0.8385 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.224, allocations: 0 / 0.8385 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.65e-05/0.224, allocations: 0 / 0.8385 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.224, allocations: 4 kB / 0.8385 GB, free: 2.117 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 9.399e-05/0.2241, allocations: 114.5 kB / 0.8386 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.2241, allocations: 7.984 kB / 0.8386 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.2243, allocations: 121.2 kB / 0.8387 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.25e-05/0.2244, allocations: 184.2 kB / 0.8389 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.78e-05/0.2244, allocations: 176.3 kB / 0.8391 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001011/0.2246, allocations: 192.2 kB / 0.8392 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.2248, allocations: 360.8 kB / 0.8396 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.516e-05/0.2249, allocations: 101 kB / 0.8397 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-05/0.2249, allocations: 108.9 kB / 0.8398 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.214e-05/0.225, allocations: 184.3 kB / 0.84 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.2251, allocations: 184.2 kB / 0.8401 GB, free: 320 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.443e-05/0.2252, allocations: 176.3 kB / 0.8403 GB, free: 136 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001034/0.2253, allocations: 180.3 kB / 0.8405 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.2255, allocations: 311.7 kB / 0.8408 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.648e-05/0.2255, allocations: 108.9 kB / 0.8409 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.2256, allocations: 176.3 kB / 0.841 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.2258, allocations: 109 kB / 0.8411 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.946e-05/0.2259, allocations: 180.2 kB / 0.8413 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/0.2259, allocations: 105 kB / 0.8414 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.492e-05/0.226, allocations: 99.27 kB / 0.8415 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.226, allocations: 0 / 0.8415 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002762/0.2263, allocations: 35.88 kB / 0.8415 GB, free: 14.79 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002976/0.2266, allocations: 236.2 kB / 0.8418 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.156e-05/0.2266, allocations: 15.92 kB / 0.8418 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2267, allocations: 0 / 0.8418 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.837e-06/0.2267, allocations: 4 kB / 0.8418 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004888/0.2271, allocations: 459.6 kB / 0.8422 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/0.2274, allocations: 194 kB / 0.8424 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.023e-05/0.2275, allocations: 55.36 kB / 0.8425 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.381e-05/0.2275, allocations: 14.08 kB / 0.8425 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.104e-05/0.2276, allocations: 11.44 kB / 0.8425 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.2276, allocations: 0 / 0.8425 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of Templates: time 0.004239/0.2318, allocations: 1.269 MB / 0.8437 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.472536353394389] Failed to read output from testmodel.py, exit status != 0: 0.23914781026542187 0.255465913 0.030596007 Calling exit ...