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.0007344/0.0007344, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007105/0.0007105, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8281/0.8281, allocations: 177.1 MB / 203.5 MB, free: 5.559 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.001217/0.001217, allocations: 233.8 kB / 260.2 MB, free: 12.88 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.6479/0.6479, allocations: 138.4 MB / 455.1 MB, free: 30.04 MB / 410.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.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.333e-06/1.333e-06, allocations: 0 / 0.6475 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.66e-05/1.794e-05, allocations: 5.234 kB / 0.6475 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.2272/0.2272, allocations: 3.22 MB / 0.6507 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 8.952e-05/0.2273, allocations: 53.88 kB / 0.6507 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.667e-05/0.2273, allocations: 0.9375 kB / 0.6507 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.2274, allocations: 5.609 kB / 0.6507 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.599e-05/0.2275, allocations: 5.891 kB / 0.6507 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005972/0.2281, allocations: 201.9 kB / 0.6509 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.657e-05/0.2282, allocations: 35.52 kB / 0.651 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.898e-05/0.2282, allocations: 2.609 kB / 0.651 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.536e-05/0.2283, allocations: 22.86 kB / 0.651 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.862e-05/0.2283, allocations: 13.45 kB / 0.651 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.2283, allocations: 1.594 kB / 0.651 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002727/0.2286, allocations: 138.8 kB / 0.6511 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 5.247e-05/0.2287, allocations: 4.969 kB / 0.6511 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.2287, allocations: 7.547 kB / 0.6511 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.2289, allocations: 130.5 kB / 0.6513 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2289, allocations: 0 / 0.6513 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2289, allocations: 0 / 0.6513 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.2289, allocations: 0.5312 kB / 0.6513 GB, free: 55.72 MB / 0.5573 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.0003019/0.2293, allocations: 273.2 kB / 0.6515 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.2293, allocations: 10.72 kB / 0.6515 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.2293, allocations: 4.844 kB / 0.6515 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.747e-05/0.2294, allocations: 111.5 kB / 0.6516 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.572e-05/0.2294, allocations: 53.75 kB / 0.6517 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/0.2294, allocations: 1.156 kB / 0.6517 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.2296, allocations: 74.19 kB / 0.6518 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.2296, allocations: 4.625 kB / 0.6518 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.2296, allocations: 6.312 kB / 0.6518 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.2296, allocations: 0.6094 kB / 0.6518 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.152e-05/0.2296, allocations: 13.8 kB / 0.6518 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/0.23, allocations: 240.9 kB / 0.652 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.444e-05/0.2301, allocations: 24.52 kB / 0.652 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.126e-05/0.2301, allocations: 10.5 kB / 0.6521 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.565e-05/0.2301, allocations: 35.47 kB / 0.6521 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.43e-05/0.2301, allocations: 31.31 kB / 0.6521 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/0.2301, allocations: 2.438 kB / 0.6521 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001241/0.2303, allocations: 38.27 kB / 0.6522 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.862e-05/0.2303, allocations: 53.7 kB / 0.6522 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.042e-05/0.2303, allocations: 105.2 kB / 0.6523 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.813e-06/0.2303, allocations: 31.27 kB / 0.6523 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.478e-05/0.2304, allocations: 88.81 kB / 0.6524 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.059e-06/0.2304, allocations: 5.844 kB / 0.6524 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/0.2304, allocations: 18.11 kB / 0.6524 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.889e-05/0.2304, allocations: 314 kB / 0.6527 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.108e-05/0.2304, allocations: 1.906 kB / 0.6528 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.825e-05/0.2305, allocations: 20.42 kB / 0.6528 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.515e-05/0.2305, allocations: 21.22 kB / 0.6528 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2305, allocations: 1.656 kB / 0.6528 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.044e-05/0.2305, allocations: 52.98 kB / 0.6528 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.2306, allocations: 5.672 kB / 0.6528 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.2306, allocations: 2.75 kB / 0.6529 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.2306, allocations: 4.969 kB / 0.6529 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.191e-05/0.2306, allocations: 4.969 kB / 0.6529 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2306, allocations: 1.969 kB / 0.6529 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.299e-05/0.2306, allocations: 3.469 kB / 0.6529 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.2306, allocations: 5.688 kB / 0.6529 GB, free: 54.19 MB / 0.5573 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 3.781e-05/0.2307, allocations: 110.5 kB / 0.653 GB, free: 54.08 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.2307, allocations: 6.516 kB / 0.653 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.667e-05/0.2308, allocations: 122.5 kB / 0.6531 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.2308, allocations: 182.4 kB / 0.6533 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.535e-05/0.2308, allocations: 178.9 kB / 0.6534 GB, free: 53.59 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.2308, allocations: 181.4 kB / 0.6536 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.506e-05/0.2309, allocations: 363.1 kB / 0.654 GB, free: 53.03 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.2309, allocations: 105.1 kB / 0.6541 GB, free: 52.92 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.707e-06/0.2309, allocations: 105.4 kB / 0.6542 GB, free: 52.81 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.4e-05/0.2309, allocations: 182.3 kB / 0.6543 GB, free: 52.63 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.2309, allocations: 181.7 kB / 0.6545 GB, free: 52.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.416e-05/0.231, allocations: 183.2 kB / 0.6547 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.494e-05/0.231, allocations: 181 kB / 0.6549 GB, free: 52.09 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.182e-05/0.231, allocations: 311.5 kB / 0.6552 GB, free: 51.77 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.418e-05/0.231, allocations: 109 kB / 0.6553 GB, free: 51.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.2311, allocations: 184.2 kB / 0.6554 GB, free: 51.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.498e-05/0.2311, allocations: 110.2 kB / 0.6555 GB, free: 51.37 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.84e-05/0.2312, allocations: 182.8 kB / 0.6557 GB, free: 51.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.2312, allocations: 103.5 kB / 0.6558 GB, free: 51.08 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.539e-05/0.2312, allocations: 85.78 kB / 0.6559 GB, free: 51 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2312, allocations: 1.781 kB / 0.6559 GB, free: 51 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002091/0.2314, allocations: 36.75 kB / 0.6559 GB, free: 50.99 MB / 0.5573 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.000221/0.2316, allocations: 235.2 kB / 0.6562 GB, free: 50.82 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 6.738e-05/0.2317, allocations: 19.75 kB / 0.6562 GB, free: 50.82 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2317, allocations: 0 / 0.6562 GB, free: 50.82 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.2317, allocations: 0 / 0.6562 GB, free: 50.82 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.232, allocations: 463.8 kB / 0.6566 GB, free: 50.37 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002097/0.2322, allocations: 205.1 kB / 0.6568 GB, free: 50.16 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.358e-05/0.2322, allocations: 57.38 kB / 0.6569 GB, free: 50.09 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.2322, allocations: 15.66 kB / 0.6569 GB, free: 50.08 MB / 0.5573 GB Notification: Performance of SimCode: time 5.11e-07/0.2322, allocations: 3.906 kB / 0.6569 GB, free: 50.08 MB / 0.5573 GB Notification: Performance of Templates: time 0.002165/0.2344, allocations: 1.215 MB / 0.6581 GB, free: 49.95 MB / 0.5573 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.190495480783284] Failed to read output from testmodel.py, exit status != 0: 0.23958076164126396 0.24797923400000002 0.017453733000000003 Calling exit ...