Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 116.2 kB / 17.81 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 187.8 kB / 20.74 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8175/0.8175, allocations: 128.4 MB / 432.4 MB, free: 13.34 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 71.81 kB / 0.5987 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3858, allocations: 83.26 MB / 0.68 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004483/0.3903, allocations: 4.042 MB / 0.684 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001607/0.3905, allocations: 150.3 kB / 0.6841 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.237e-05/0.3905, allocations: 4 kB / 0.6841 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.3906, allocations: 3.938 kB / 0.6841 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.021e-05/0.3907, allocations: 15.88 kB / 0.6841 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.391, allocations: 78.72 kB / 0.6842 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.399e-05/0.3911, allocations: 41.31 kB / 0.6842 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.737e-05/0.3911, allocations: 5.406 kB / 0.6842 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.693e-05/0.3912, allocations: 12.77 kB / 0.6843 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.325e-05/0.3912, allocations: 18.38 kB / 0.6843 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.3913, allocations: 0.9688 kB / 0.6843 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.3914, allocations: 57.88 kB / 0.6843 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.617e-05/0.3915, allocations: 6.156 kB / 0.6843 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.3915, allocations: 17.47 kB / 0.6843 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.3917, allocations: 34.47 kB / 0.6844 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3917, allocations: 0 / 0.6844 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.605e-06/0.3917, allocations: 1.188 kB / 0.6844 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3917, allocations: 0 / 0.6844 GB, free: 3.426 MB / 0.4981 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.0003527/0.392, allocations: 339.2 kB / 0.6847 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.3921, allocations: 9.844 kB / 0.6847 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.3921, allocations: 5.984 kB / 0.6847 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.72e-05/0.3922, allocations: 169.4 kB / 0.6849 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.307e-05/0.3922, allocations: 27.42 kB / 0.6849 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.3923, allocations: 2.438 kB / 0.6849 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.3924, allocations: 50.12 kB / 0.685 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3924, allocations: 0 / 0.685 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3924, allocations: 1.031 kB / 0.685 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.3924, allocations: 5.094 kB / 0.685 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.463e-05/0.3925, allocations: 21.61 kB / 0.685 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004957/0.393, allocations: 333.2 kB / 0.6853 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.826e-05/0.393, allocations: 19.73 kB / 0.6853 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.495e-05/0.393, allocations: 5.859 kB / 0.6853 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.804e-05/0.3931, allocations: 82.39 kB / 0.6854 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.3931, allocations: 40 kB / 0.6854 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.824e-06/0.3931, allocations: 3.984 kB / 0.6854 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001634/0.3933, allocations: 39.53 kB / 0.6855 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.3933, allocations: 52.53 kB / 0.6855 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.929e-05/0.3934, allocations: 99.39 kB / 0.6856 GB, free: 2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.3934, allocations: 30.94 kB / 0.6857 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.766e-05/0.3935, allocations: 89.47 kB / 0.6857 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.254e-06/0.3935, allocations: 12.02 kB / 0.6858 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.3935, allocations: 17.66 kB / 0.6858 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.184e-05/0.3936, allocations: 316.3 kB / 0.6861 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.718e-05/0.3936, allocations: 6.797 kB / 0.6861 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.256e-05/0.3936, allocations: 16.94 kB / 0.6861 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.389e-05/0.3936, allocations: 15.62 kB / 0.6861 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3936, allocations: 5.094 kB / 0.6861 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.156e-05/0.3937, allocations: 50.94 kB / 0.6862 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3937, allocations: 4.844 kB / 0.6862 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3937, allocations: 1.125 kB / 0.6862 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.3938, allocations: 0 / 0.6862 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.532e-05/0.3938, allocations: 13.33 kB / 0.6862 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3938, allocations: 1.188 kB / 0.6862 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.944e-05/0.3938, allocations: 1.25 kB / 0.6862 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.3938, allocations: 4.875 kB / 0.6862 GB, free: 1.43 MB / 0.4981 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 6.254e-05/0.3939, allocations: 123.7 kB / 0.6863 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.3939, allocations: 6.016 kB / 0.6863 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.716e-05/0.394, allocations: 115.4 kB / 0.6864 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.107e-05/0.3941, allocations: 181.9 kB / 0.6866 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.138e-05/0.3941, allocations: 177.4 kB / 0.6868 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.362e-05/0.3941, allocations: 185.4 kB / 0.6869 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.3943, allocations: 407.2 kB / 0.6873 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-05/0.3943, allocations: 102.8 kB / 0.6874 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.257e-05/0.3944, allocations: 108.9 kB / 0.6875 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001085/0.3945, allocations: 186.2 kB / 0.6877 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/0.3946, allocations: 181.5 kB / 0.6879 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.907e-05/0.3947, allocations: 184.2 kB / 0.6881 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-05/0.3948, allocations: 177.3 kB / 0.6882 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.395, allocations: 312.4 kB / 0.6885 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.662e-05/0.3951, allocations: 179.4 kB / 0.6887 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.3952, allocations: 185.5 kB / 0.6889 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.3954, allocations: 107.4 kB / 0.689 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.445e-05/0.3954, allocations: 185.6 kB / 0.6892 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.406e-05/0.3955, allocations: 102.4 kB / 0.6893 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.907e-05/0.3955, allocations: 84.3 kB / 0.6893 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.3955, allocations: 0 / 0.6893 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002752/0.3958, allocations: 15.47 kB / 0.6893 GB, free: 14.02 MB / 0.5137 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.0002521/0.3961, allocations: 203 kB / 0.6895 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.516e-05/0.3962, allocations: 13.58 kB / 0.6896 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3962, allocations: 1.156 kB / 0.6896 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.3962, allocations: 0 / 0.6896 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004562/0.3966, allocations: 459.2 kB / 0.69 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002954/0.3969, allocations: 215 kB / 0.6902 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.3972, allocations: 0.6762 MB / 0.6909 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.215e-05/0.3973, allocations: 13.69 kB / 0.6909 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.3973, allocations: 0 / 0.6909 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of Templates: time 0.002382/0.3996, allocations: 0.7478 MB / 0.6916 GB, free: 12.08 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.846212931908667] Failed to read output from testmodel.py, exit status != 0: 0.40719339600764215 0.420171938 0.025827077 Calling exit ...