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.001619/0.001619, allocations: 80.22 kB / 19.18 MB, free: 2.516 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.002109/0.002109, allocations: 166.6 kB / 22.46 MB, free: 5.375 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.439/1.439, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.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.002708/0.002708, allocations: 237.7 kB / 259.4 MB, free: 468 kB / 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.099/1.099, allocations: 138.4 MB / 454.3 MB, free: 1.988 MB / 366.1 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.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: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.6468 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.412e-05, allocations: 5.797 kB / 0.6468 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004716/0.00474, allocations: 3.234 MB / 0.6499 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 9.864e-05/0.004839, allocations: 55.8 kB / 0.65 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.291e-05/0.004862, allocations: 0 / 0.65 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.004966, allocations: 7.938 kB / 0.65 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.064e-05/0.005046, allocations: 19.84 kB / 0.65 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005676/0.005614, allocations: 187.2 kB / 0.6502 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.906e-05/0.005703, allocations: 35.86 kB / 0.6502 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.846e-05/0.005742, allocations: 4 kB / 0.6502 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.964e-05/0.005811, allocations: 27.89 kB / 0.6503 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.972e-05/0.005881, allocations: 8 kB / 0.6503 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.005897, allocations: 0 / 0.6503 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002972/0.006194, allocations: 135.5 kB / 0.6504 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.542e-05/0.00625, allocations: 11.98 kB / 0.6504 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.491e-05/0.006275, allocations: 7.984 kB / 0.6504 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.006548, allocations: 127.7 kB / 0.6505 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.006552, allocations: 3.984 kB / 0.6505 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.51e-07/0.006553, allocations: 4 kB / 0.6506 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.006557, allocations: 0 / 0.6506 GB, free: 1.16 MB / 0.5606 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.000439/0.006996, allocations: 274.2 kB / 0.6508 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.007035, allocations: 8.625 kB / 0.6508 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.007078, allocations: 0.9375 kB / 0.6508 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.007189, allocations: 113.7 kB / 0.6509 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-05/0.007272, allocations: 51.97 kB / 0.651 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.007282, allocations: 4.375 kB / 0.651 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.007435, allocations: 71.94 kB / 0.6511 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.007444, allocations: 4.188 kB / 0.6511 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.007457, allocations: 3.938 kB / 0.6511 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.007473, allocations: 3.938 kB / 0.6511 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.493e-05/0.007518, allocations: 15.98 kB / 0.6511 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005023/0.008021, allocations: 236.6 kB / 0.6513 GB, free: 288 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.794e-05/0.008069, allocations: 22.45 kB / 0.6513 GB, free: 256 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.128e-05/0.00809, allocations: 12.86 kB / 0.6513 GB, free: 240 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.008191, allocations: 39.91 kB / 0.6514 GB, free: 200 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.008224, allocations: 30.56 kB / 0.6514 GB, free: 160 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.008226, allocations: 0 / 0.6514 GB, free: 160 kB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001505/0.008376, allocations: 45.62 kB / 0.6515 GB, free: 108 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.008423, allocations: 55.41 kB / 0.6515 GB, free: 40 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2579/0.2663, allocations: 98.69 kB / 0.6516 GB, free: 57.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.2663, allocations: 25.7 kB / 0.6516 GB, free: 57.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.626e-05/0.2664, allocations: 87.64 kB / 0.6517 GB, free: 57.08 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.953e-06/0.2664, allocations: 2.312 kB / 0.6517 GB, free: 57.08 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.2664, allocations: 18.72 kB / 0.6517 GB, free: 57.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.396e-05/0.2665, allocations: 314.1 kB / 0.652 GB, free: 56.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.626e-05/0.2665, allocations: 2.75 kB / 0.652 GB, free: 56.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.727e-05/0.2665, allocations: 16.78 kB / 0.652 GB, free: 56.74 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.771e-05/0.2665, allocations: 21.31 kB / 0.6521 GB, free: 56.72 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2665, allocations: 2.109 kB / 0.6521 GB, free: 56.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.917e-05/0.2666, allocations: 54 kB / 0.6521 GB, free: 56.69 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.2667, allocations: 10.14 kB / 0.6521 GB, free: 56.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2667, allocations: 0.7812 kB / 0.6521 GB, free: 56.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.2667, allocations: 4.344 kB / 0.6521 GB, free: 56.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.994e-05/0.2667, allocations: 6.875 kB / 0.6521 GB, free: 56.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.2667, allocations: 1.031 kB / 0.6521 GB, free: 56.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.192e-05/0.2668, allocations: 0.625 kB / 0.6521 GB, free: 56.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.2668, allocations: 3.438 kB / 0.6521 GB, free: 56.69 MB / 0.5606 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 4.878e-05/0.2668, allocations: 114.4 kB / 0.6523 GB, free: 56.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.2668, allocations: 0.5 kB / 0.6523 GB, free: 56.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.47e-05/0.2669, allocations: 124.5 kB / 0.6524 GB, free: 56.46 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.276e-05/0.267, allocations: 184.7 kB / 0.6525 GB, free: 56.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-05/0.267, allocations: 177 kB / 0.6527 GB, free: 56.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.416e-05/0.267, allocations: 182.8 kB / 0.6529 GB, free: 55.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.2671, allocations: 355 kB / 0.6532 GB, free: 55.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/0.2671, allocations: 106.1 kB / 0.6533 GB, free: 55.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.56e-05/0.2672, allocations: 107.3 kB / 0.6534 GB, free: 55.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.359e-05/0.2672, allocations: 180.1 kB / 0.6536 GB, free: 55.15 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.2672, allocations: 179.5 kB / 0.6538 GB, free: 54.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.289e-05/0.2672, allocations: 185.2 kB / 0.654 GB, free: 54.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-05/0.2673, allocations: 187.1 kB / 0.6541 GB, free: 54.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.021e-05/0.2673, allocations: 311.2 kB / 0.6544 GB, free: 54.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.975e-05/0.2674, allocations: 104.9 kB / 0.6545 GB, free: 54.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.2674, allocations: 183.7 kB / 0.6547 GB, free: 54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.2675, allocations: 108.8 kB / 0.6548 GB, free: 53.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.2676, allocations: 189.1 kB / 0.655 GB, free: 53.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.2676, allocations: 104.5 kB / 0.6551 GB, free: 53.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.725e-05/0.2676, allocations: 80.34 kB / 0.6552 GB, free: 53.53 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2676, allocations: 0 / 0.6552 GB, free: 53.53 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003447/0.268, allocations: 36.78 kB / 0.6552 GB, free: 53.53 MB / 0.5606 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.0003172/0.2683, allocations: 234.9 kB / 0.6554 GB, free: 53.36 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.662e-05/0.2684, allocations: 15.67 kB / 0.6554 GB, free: 53.36 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2684, allocations: 0 / 0.6554 GB, free: 53.36 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.2684, allocations: 2.406 kB / 0.6554 GB, free: 53.36 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.2688, allocations: 459.4 kB / 0.6559 GB, free: 52.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002625/0.269, allocations: 183.3 kB / 0.6561 GB, free: 52.74 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.911e-05/0.2691, allocations: 61.02 kB / 0.6561 GB, free: 52.67 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.691e-05/0.2691, allocations: 11.05 kB / 0.6561 GB, free: 52.67 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.773e-05/0.2691, allocations: 8.5 kB / 0.6561 GB, free: 52.66 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.2691, allocations: 4.25 kB / 0.6561 GB, free: 52.66 MB / 0.5606 GB Notification: Performance of Templates: time 0.004456/0.2736, allocations: 1.284 MB / 0.6574 GB, free: 52.54 MB / 0.5606 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: 5.913947444409132] Failed to read output from testmodel.py, exit status != 0: 0.2812810651957989 0.290597928 0.28180788 Calling exit ...