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.001683/0.001683, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 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.002141/0.002141, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.478/1.478, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.002627/0.002627, allocations: 226.2 kB / 259.8 MB, free: 12.84 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 1.082/1.082, allocations: 138.4 MB / 454.7 MB, free: 1.492 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.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.483e-06/1.483e-06, allocations: 0 / 0.5543 GB, free: 0.875 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.167e-05/3.315e-05, allocations: 6.25 kB / 0.5543 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005458/0.005492, allocations: 3.224 MB / 0.5575 GB, free: 13.62 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001334/0.005625, allocations: 51.8 kB / 0.5575 GB, free: 13.57 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.665e-05/0.005652, allocations: 0 / 0.5575 GB, free: 13.57 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.00576, allocations: 4 kB / 0.5575 GB, free: 13.57 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.305e-05/0.005843, allocations: 19.8 kB / 0.5575 GB, free: 13.55 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006083/0.006451, allocations: 187.2 kB / 0.5577 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.444e-05/0.006546, allocations: 43.77 kB / 0.5578 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.398e-05/0.00658, allocations: 4 kB / 0.5578 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.374e-05/0.006633, allocations: 11.98 kB / 0.5578 GB, free: 13.3 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.372e-05/0.006707, allocations: 27.91 kB / 0.5578 GB, free: 13.28 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.00672, allocations: 0 / 0.5578 GB, free: 13.28 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003045/0.007024, allocations: 131.5 kB / 0.5579 GB, free: 13.15 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.282e-05/0.007067, allocations: 7.938 kB / 0.5579 GB, free: 13.14 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.007094, allocations: 8 kB / 0.5579 GB, free: 13.13 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.007374, allocations: 135.6 kB / 0.5581 GB, free: 13 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.007376, allocations: 0 / 0.5581 GB, free: 13 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.007376, allocations: 0 / 0.5581 GB, free: 13 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.00738, allocations: 0 / 0.5581 GB, free: 13 MB / 490.7 MB 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.0005576/0.007938, allocations: 274.2 kB / 0.5583 GB, free: 12.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.007975, allocations: 12.03 kB / 0.5584 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.008023, allocations: 4.938 kB / 0.5584 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.008146, allocations: 105.8 kB / 0.5585 GB, free: 12.56 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.293e-05/0.008229, allocations: 51.97 kB / 0.5585 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.008242, allocations: 4.375 kB / 0.5585 GB, free: 12.49 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.008391, allocations: 67.95 kB / 0.5586 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.008401, allocations: 4.125 kB / 0.5586 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.008415, allocations: 3.938 kB / 0.5586 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.719e-05/0.008442, allocations: 4 kB / 0.5586 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.769e-05/0.008489, allocations: 11.98 kB / 0.5586 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005397/0.009029, allocations: 248.5 kB / 0.5588 GB, free: 12.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.957e-05/0.009079, allocations: 18.58 kB / 0.5589 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.955e-05/0.009098, allocations: 8.797 kB / 0.5589 GB, free: 12.08 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.009212, allocations: 39.97 kB / 0.5589 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.009248, allocations: 34.56 kB / 0.5589 GB, free: 12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.009249, allocations: 0 / 0.5589 GB, free: 12 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001739/0.009423, allocations: 41.62 kB / 0.559 GB, free: 11.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.009468, allocations: 51.41 kB / 0.559 GB, free: 11.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.009571, allocations: 97.86 kB / 0.5591 GB, free: 11.78 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.009595, allocations: 29.83 kB / 0.5591 GB, free: 11.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.455e-05/0.00966, allocations: 92.09 kB / 0.5592 GB, free: 11.65 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.856e-06/0.009669, allocations: 3.984 kB / 0.5592 GB, free: 11.65 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.009706, allocations: 13.72 kB / 0.5592 GB, free: 11.63 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.009874, allocations: 318.8 kB / 0.5596 GB, free: 11.31 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.527e-05/0.009889, allocations: 4 kB / 0.5596 GB, free: 11.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.112e-05/0.009921, allocations: 17.7 kB / 0.5596 GB, free: 11.28 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.73e-05/0.009958, allocations: 17.72 kB / 0.5596 GB, free: 11.26 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.009959, allocations: 4 kB / 0.5596 GB, free: 11.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.507e-05/0.01005, allocations: 61.8 kB / 0.5597 GB, free: 11.19 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.01007, allocations: 4 kB / 0.5597 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.01008, allocations: 4 kB / 0.5597 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.0101, allocations: 0 / 0.5597 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.343e-05/0.01014, allocations: 4 kB / 0.5597 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.01014, allocations: 0 / 0.5597 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.449e-05/0.01017, allocations: 7.922 kB / 0.5597 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.01018, allocations: 4 kB / 0.5597 GB, free: 11.16 MB / 490.7 MB 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.038e-05/0.01027, allocations: 109.8 kB / 0.5598 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.0103, allocations: 16 kB / 0.5598 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.01043, allocations: 117 kB / 0.5599 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001012/0.01053, allocations: 184.3 kB / 0.5601 GB, free: 10.72 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001008/0.01063, allocations: 184.2 kB / 0.5603 GB, free: 10.53 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-05/0.01073, allocations: 180.3 kB / 0.5604 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.011, allocations: 360.8 kB / 0.5608 GB, free: 9.957 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.742e-05/0.01105, allocations: 101 kB / 0.5609 GB, free: 9.852 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.951e-05/0.01111, allocations: 101 kB / 0.561 GB, free: 9.746 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001129/0.01123, allocations: 192.1 kB / 0.5611 GB, free: 9.551 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.812e-05/0.01133, allocations: 176.3 kB / 0.5613 GB, free: 9.371 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.613e-05/0.01142, allocations: 184.2 kB / 0.5615 GB, free: 9.184 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001088/0.01153, allocations: 184.2 kB / 0.5617 GB, free: 8.996 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.01174, allocations: 307.7 kB / 0.562 GB, free: 8.672 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.917e-05/0.0118, allocations: 112.9 kB / 0.5621 GB, free: 8.555 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.01192, allocations: 184.2 kB / 0.5622 GB, free: 8.367 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.0121, allocations: 108.9 kB / 0.5623 GB, free: 8.254 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.0122, allocations: 176.3 kB / 0.5625 GB, free: 8.074 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.063e-05/0.01227, allocations: 108.9 kB / 0.5626 GB, free: 7.961 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.326e-05/0.01233, allocations: 87.27 kB / 0.5627 GB, free: 7.875 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01233, allocations: 0 / 0.5627 GB, free: 7.875 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002996/0.01263, allocations: 35.88 kB / 0.5627 GB, free: 7.84 MB / 490.7 MB 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.0003235/0.01295, allocations: 237.2 kB / 0.563 GB, free: 7.602 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.212e-05/0.01302, allocations: 8 kB / 0.563 GB, free: 7.594 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01303, allocations: 0 / 0.563 GB, free: 7.594 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.099e-06/0.01303, allocations: 7.938 kB / 0.563 GB, free: 7.586 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000559/0.01359, allocations: 460.7 kB / 0.5634 GB, free: 7.133 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003074/0.0139, allocations: 180.1 kB / 0.5636 GB, free: 6.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.919e-05/0.01397, allocations: 63.34 kB / 0.5637 GB, free: 6.848 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.17e-05/0.01401, allocations: 8.125 kB / 0.5637 GB, free: 6.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.01403, allocations: 8.5 kB / 0.5637 GB, free: 6.832 MB / 490.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01404, allocations: 0 / 0.5637 GB, free: 6.832 MB / 490.7 MB Notification: Performance of Templates: time 0.004342/0.01838, allocations: 1.308 MB / 0.5649 GB, free: 5.586 MB / 490.7 MB " [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.595411709975451]