Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.001466/0.001466, allocations: 117.7 kB / 17.13 MB, free: 5.918 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.001548/0.001548, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.338/1.338, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002265/0.002265, allocations: 283.9 kB / 303.6 MB, free: 3.648 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.006/1.006, allocations: 180.9 MB / 0.5268 GB, free: 2.688 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002647/0.002647, allocations: 99.84 kB / 0.7259 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.483/0.4856, allocations: 94.15 MB / 0.8178 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002125/0.4877, allocations: 1.272 MB / 0.8191 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002552/0.4903, allocations: 2.503 MB / 0.8215 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.542e-05/0.4903, allocations: 4 kB / 0.8215 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.861e-05/0.4903, allocations: 7.219 kB / 0.8215 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.739e-05/0.4904, allocations: 5.328 kB / 0.8215 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000479/0.4908, allocations: 135.2 kB / 0.8217 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.389e-05/0.4909, allocations: 40.72 kB / 0.8217 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.763e-05/0.4909, allocations: 0.9062 kB / 0.8217 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.554e-05/0.491, allocations: 25.17 kB / 0.8217 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.099e-05/0.4911, allocations: 18.06 kB / 0.8217 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.4911, allocations: 1.344 kB / 0.8217 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002792/0.4913, allocations: 119.9 kB / 0.8219 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.4914, allocations: 10.22 kB / 0.8219 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.4914, allocations: 22.17 kB / 0.8219 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.4916, allocations: 82.05 kB / 0.822 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4916, allocations: 0 / 0.822 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4916, allocations: 3.938 kB / 0.822 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.4916, allocations: 0.7812 kB / 0.822 GB, free: 4.539 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003526/0.492, allocations: 360.3 kB / 0.8223 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.492, allocations: 8.75 kB / 0.8223 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002081/0.4922, allocations: 10.34 kB / 0.8223 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.425e-05/0.4923, allocations: 164.5 kB / 0.8225 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.4923, allocations: 6.688 kB / 0.8225 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.4923, allocations: 3.062 kB / 0.8225 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.4924, allocations: 75.31 kB / 0.8226 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.4924, allocations: 4 kB / 0.8226 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.4924, allocations: 1.531 kB / 0.8226 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.4924, allocations: 1.594 kB / 0.8226 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.936e-05/0.4925, allocations: 16.56 kB / 0.8226 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.4929, allocations: 465.6 kB / 0.823 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.493, allocations: 73.8 kB / 0.8231 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.347e-05/0.4931, allocations: 20.31 kB / 0.8231 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.4931, allocations: 0 / 0.8231 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.4931, allocations: 45.66 kB / 0.8232 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.4931, allocations: 0 / 0.8232 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0005385/0.4936, allocations: 305.6 kB / 0.8235 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.4937, allocations: 104.7 kB / 0.8236 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.891e-05/0.4937, allocations: 100.7 kB / 0.8237 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.4937, allocations: 31.3 kB / 0.8237 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.626e-05/0.4937, allocations: 89.62 kB / 0.8238 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.4938, allocations: 33.48 kB / 0.8238 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.4938, allocations: 23.86 kB / 0.8238 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.336e-05/0.4938, allocations: 321.7 kB / 0.8241 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.83e-05/0.4939, allocations: 17.44 kB / 0.8242 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.271e-05/0.4939, allocations: 63.25 kB / 0.8242 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.286e-05/0.494, allocations: 65.66 kB / 0.8243 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.494, allocations: 2.047 kB / 0.8243 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001105/0.4941, allocations: 97.72 kB / 0.8244 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.4941, allocations: 9.125 kB / 0.8244 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.4941, allocations: 3.234 kB / 0.8244 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.4941, allocations: 1.25 kB / 0.8244 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.065e-05/0.4942, allocations: 21.52 kB / 0.8244 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.4942, allocations: 3.938 kB / 0.8244 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.463e-05/0.4942, allocations: 6.766 kB / 0.8244 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.4942, allocations: 14.11 kB / 0.8244 GB, free: 2.035 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 5.026e-05/0.4943, allocations: 121.2 kB / 0.8245 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.545e-05/0.4943, allocations: 3.422 kB / 0.8246 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.545e-05/0.4944, allocations: 8.125 kB / 0.8246 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4944, allocations: 2.75 kB / 0.8246 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4944, allocations: 0.6094 kB / 0.8246 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4944, allocations: 3.109 kB / 0.8246 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/0.4947, allocations: 173.5 kB / 0.8247 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4947, allocations: 0.6562 kB / 0.8247 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.083e-05/0.4947, allocations: 15.16 kB / 0.8247 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.4947, allocations: 6.203 kB / 0.8248 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.4948, allocations: 5.125 kB / 0.8248 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.4948, allocations: 7.406 kB / 0.8248 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4948, allocations: 0 / 0.8248 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.4949, allocations: 328.1 kB / 0.8251 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/0.4949, allocations: 81.77 kB / 0.8252 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.495, allocations: 3.391 kB / 0.8252 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.4951, allocations: 11.45 kB / 0.8252 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.4951, allocations: 12.81 kB / 0.8252 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.4951, allocations: 5.656 kB / 0.8252 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.076e-05/0.4952, allocations: 83.45 kB / 0.8253 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4952, allocations: 3.938 kB / 0.8253 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002942/0.4955, allocations: 11.22 kB / 0.8253 GB, free: 1.203 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001045/0.4956, allocations: 114.7 kB / 0.8254 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.4957, allocations: 41.75 kB / 0.8254 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4957, allocations: 0 / 0.8254 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.17e-05/0.4957, allocations: 17.3 kB / 0.8254 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.4961, allocations: 10.39 kB / 0.8255 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004864/0.4966, allocations: 374.9 kB / 0.8258 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.4967, allocations: 0.6855 MB / 0.8265 GB, free: 60 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.224e-05/0.4967, allocations: 12.16 kB / 0.8265 GB, free: 52 kB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/0.4967, allocations: 0 / 0.8265 GB, free: 52 kB / 0.5762 GB Notification: Performance of Templates: time 0.002357/0.4991, allocations: 0.8013 MB / 0.8273 GB, free: 15.98 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.754563230089843] Failed to read output from testmodel.py, exit status != 0: 0.5062499409541488 0.518467676 0.023846153000000002 Calling exit ...