Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.HeatingOfWater.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.001292/0.001292, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001438/0.001438, allocations: 208 kB / 23 MB, free: 4.934 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1365/0.1365, allocations: 23.89 MB / 337.1 MB, free: 10.97 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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(Chemical.Obsolete.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.HeatingOfWater") translateModel(Chemical.Obsolete.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.HeatingOfWater") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 75.88 kB / 472.4 MB, free: 7.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2917, allocations: 59.86 MB / 0.5197 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.003887/0.2956, allocations: 3.212 MB / 0.5229 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004568/0.3001, allocations: 4.242 MB / 0.527 GB, free: 4.742 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002488/0.3004, allocations: 8.094 kB / 0.527 GB, free: 4.738 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003656/0.3007, allocations: 106.6 kB / 0.5271 GB, free: 4.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009233/0.3017, allocations: 451 kB / 0.5276 GB, free: 4.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.3027, allocations: 0.531 MB / 0.5281 GB, free: 4.102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005466/0.3033, allocations: 0.585 MB / 0.5287 GB, free: 3.805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003659/0.3036, allocations: 304.4 kB / 0.5289 GB, free: 3.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002686/0.3039, allocations: 291.6 kB / 0.5292 GB, free: 3.543 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00036/0.3043, allocations: 309.2 kB / 0.5295 GB, free: 3.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.759e-05/0.3043, allocations: 53.28 kB / 0.5296 GB, free: 3.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000881/0.3052, allocations: 466 kB / 0.53 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.3053, allocations: 123.9 kB / 0.5301 GB, free: 3.223 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.3055, allocations: 233 kB / 0.5304 GB, free: 3.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001418/0.307, allocations: 1.077 MB / 0.5314 GB, free: 2.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.307, allocations: 0 / 0.5314 GB, free: 2.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.307, allocations: 1.562 kB / 0.5314 GB, free: 2.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.307, allocations: 0 / 0.5314 GB, free: 2.648 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001357/0.3083, allocations: 0.8025 MB / 0.5322 GB, free: 2.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.3084, allocations: 8.719 kB / 0.5322 GB, free: 2.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003775/0.3087, allocations: 98.34 kB / 0.5323 GB, free: 2.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005329/0.3093, allocations: 305.4 kB / 0.5326 GB, free: 1.824 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.3093, allocations: 33.16 kB / 0.5326 GB, free: 1.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.038e-05/0.3094, allocations: 51.47 kB / 0.5327 GB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007428/0.3101, allocations: 457.1 kB / 0.5331 GB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.3101, allocations: 1.094 kB / 0.5331 GB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.587e-05/0.3102, allocations: 19.84 kB / 0.5331 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.3102, allocations: 11.25 kB / 0.5331 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008021/0.311, allocations: 0.5035 MB / 0.5336 GB, free: 1.434 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002047/0.3131, allocations: 1.143 MB / 0.5347 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007326/0.3138, allocations: 345.5 kB / 0.5351 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.314, allocations: 103 kB / 0.5352 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001899/0.3159, allocations: 0.8746 MB / 0.536 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.3159, allocations: 36.72 kB / 0.5361 GB, free: 72 kB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.773e-06/0.3159, allocations: 0 / 0.5361 GB, free: 72 kB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.01729/0.3332, allocations: 2.112 MB / 0.5381 GB, free: 15.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.3332, allocations: 56.41 kB / 0.5382 GB, free: 15.28 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.3335, allocations: 282.3 kB / 0.5384 GB, free: 15.12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/0.3336, allocations: 32.88 kB / 0.5385 GB, free: 15.08 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.3338, allocations: 283.2 kB / 0.5387 GB, free: 14.85 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.3339, allocations: 119.2 kB / 0.5389 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.3341, allocations: 80.56 kB / 0.5389 GB, free: 14.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3343, allocations: 345 kB / 0.5393 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.3345, allocations: 132 kB / 0.5394 GB, free: 14.33 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.3349, allocations: 263.7 kB / 0.5396 GB, free: 14.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006744/0.3355, allocations: 424.9 kB / 0.54 GB, free: 13.81 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.3355, allocations: 5.594 kB / 0.5401 GB, free: 13.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004863/0.3404, allocations: 0.8105 MB / 0.5408 GB, free: 13.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3404, allocations: 6.75 kB / 0.5409 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.3404, allocations: 8.938 kB / 0.5409 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004313/0.3448, allocations: 413.1 kB / 0.5413 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.3451, allocations: 81.42 kB / 0.5413 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007357/0.3524, allocations: 3.701 MB / 0.5449 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004732/0.3529, allocations: 17.62 kB / 0.545 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.408e-05/0.3529, allocations: 21.23 kB / 0.545 GB, free: 10.38 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,5,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002826/0.3532, allocations: 169.4 kB / 0.5451 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.3533, allocations: 30.64 kB / 0.5452 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00601/0.3593, allocations: 0.8221 MB / 0.546 GB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.3593, allocations: 2.141 kB / 0.546 GB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.3593, allocations: 0 / 0.546 GB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.3595, allocations: 33.66 kB / 0.546 GB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.53e-05/0.3595, allocations: 9.984 kB / 0.546 GB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003015/0.3598, allocations: 7.859 kB / 0.546 GB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.3599, allocations: 36.73 kB / 0.5461 GB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002586/0.3625, allocations: 0.5988 MB / 0.5466 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009941/0.3635, allocations: 0.6278 MB / 0.5473 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002285/0.3638, allocations: 116.2 kB / 0.5474 GB, free: 9.133 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002202/0.364, allocations: 185.6 kB / 0.5475 GB, free: 9.008 MB / 398.1 MB Notification: Performance of Backend: time 6.21e-07/0.364, allocations: 5.156 kB / 0.5476 GB, free: 9.004 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002335/0.3663, allocations: 0.8305 MB / 0.5484 GB, free: 8.434 MB / 398.1 MB Notification: Performance of SimCode: time 0.002141/0.3685, allocations: 1.484 MB / 0.5498 GB, free: 7.301 MB / 398.1 MB Notification: Performance of Templates: time 0.01943/0.3879, allocations: 11.42 MB / 0.561 GB, free: 14.97 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.HeatingOfWater.sim & ./Chemical_Chemical.Obsolete.Examples.HeatingOfWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.993142087012529] Failed to read output from testmodel.py, exit status != 0: 0.39655595399381127 0.41115287999999994 0.10107899699999995 Calling exit ...