Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_002.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.001368/0.001368, allocations: 92.42 kB / 20.46 MB, free: 1.246 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.001456/0.001456, allocations: 221.8 kB / 23.77 MB, free: 4.422 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.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1422/0.1422, allocations: 24.04 MB / 338 MB, free: 11.32 MB / 270.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.Devel_test_models.Test_liquid_circuit_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_002") translateModel(AES.Devel_test_models.Test_liquid_circuit_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_002") [Timeout 660] "Notification: AES 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.002168/0.002168, allocations: 63.91 kB / 475.1 MB, free: 5.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2761, allocations: 59.59 MB / 0.5221 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_002): time 0.003323/0.2794, allocations: 2.873 MB / 0.5249 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.2807, allocations: 0.8905 MB / 0.5258 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.2808, allocations: 8.625 kB / 0.5258 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.281, allocations: 89.95 kB / 0.5259 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003605/0.2814, allocations: 235.3 kB / 0.5261 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.2818, allocations: 168.7 kB / 0.5263 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008449/0.2826, allocations: 1.106 MB / 0.5274 GB, free: 6.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005972/0.2832, allocations: 0.5689 MB / 0.5279 GB, free: 6.715 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004582/0.2837, allocations: 435 kB / 0.5283 GB, free: 6.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000549/0.2842, allocations: 475.2 kB / 0.5288 GB, free: 6.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.2844, allocations: 116.1 kB / 0.5289 GB, free: 6.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.2846, allocations: 117 kB / 0.529 GB, free: 6.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002497/0.2848, allocations: 346.6 kB / 0.5294 GB, free: 6.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000369/0.2852, allocations: 403.6 kB / 0.5297 GB, free: 5.945 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.2863, allocations: 1.306 MB / 0.531 GB, free: 5.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2863, allocations: 0 / 0.531 GB, free: 5.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2863, allocations: 5.719 kB / 0.531 GB, free: 5.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.2863, allocations: 0 / 0.531 GB, free: 5.477 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002195/0.2885, allocations: 1.121 MB / 0.5321 GB, free: 4.848 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.2885, allocations: 15.23 kB / 0.5321 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.2887, allocations: 82.78 kB / 0.5322 GB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007917/0.2895, allocations: 476.6 kB / 0.5327 GB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.073e-05/0.2895, allocations: 45.83 kB / 0.5327 GB, free: 4.449 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.2896, allocations: 70.58 kB / 0.5328 GB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.291, allocations: 0.8307 MB / 0.5336 GB, free: 4.039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.291, allocations: 0 / 0.5336 GB, free: 4.039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.059e-05/0.2911, allocations: 20.91 kB / 0.5336 GB, free: 4.023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.2911, allocations: 17.75 kB / 0.5336 GB, free: 4.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.2923, allocations: 0.6795 MB / 0.5343 GB, free: 3.762 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004221/0.2965, allocations: 2.349 MB / 0.5366 GB, free: 2.617 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002118/0.2986, allocations: 0.861 MB / 0.5374 GB, free: 2.305 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005363/0.2991, allocations: 362.7 kB / 0.5378 GB, free: 2.145 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.917e-05/0.2992, allocations: 9.781 kB / 0.5378 GB, free: 2.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.2992, allocations: 38.91 kB / 0.5378 GB, free: 2.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.354e-06/0.2992, allocations: 0 / 0.5378 GB, free: 2.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=56): time 0.008802/0.308, allocations: 2.915 MB / 0.5407 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/0.308, allocations: 58.06 kB / 0.5407 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004939/0.3085, allocations: 471.1 kB / 0.5412 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.516e-05/0.3086, allocations: 37.22 kB / 0.5412 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.3087, allocations: 337 kB / 0.5415 GB, free: 252 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/0.3089, allocations: 234.9 kB / 0.5417 GB, free: 44 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002901/0.3092, allocations: 143 kB / 0.5419 GB, free: 15.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.3094, allocations: 371.5 kB / 0.5422 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008096/0.3102, allocations: 442 kB / 0.5427 GB, free: 15.38 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009293/0.3111, allocations: 0.5939 MB / 0.5432 GB, free: 14.96 MB / 398.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.008048/0.3191, allocations: 2.475 MB / 0.5457 GB, free: 13.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.3191, allocations: 6.781 kB / 0.5457 GB, free: 13.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003521/0.3227, allocations: 1.447 MB / 0.5471 GB, free: 12.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.3227, allocations: 11.94 kB / 0.5471 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.3227, allocations: 3.469 kB / 0.5471 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001698/0.3244, allocations: 380.3 kB / 0.5475 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009443/0.3253, allocations: 214.9 kB / 0.5477 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/0.3358, allocations: 10.29 MB / 0.5577 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006912/0.3365, allocations: 50.34 kB / 0.5578 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.581e-05/0.3366, allocations: 30.45 kB / 0.5578 GB, free: 2.59 MB / 398.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.tube.fluidStream.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (88): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,3,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004636/0.3371, allocations: 269.4 kB / 0.558 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.3372, allocations: 57.53 kB / 0.5581 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002992/0.3402, allocations: 1.168 MB / 0.5592 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.3402, allocations: 11.2 kB / 0.5592 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.3402, allocations: 1.906 kB / 0.5593 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.3402, allocations: 3.984 kB / 0.5593 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00411/0.3443, allocations: 1.87 MB / 0.5611 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3443, allocations: 0 / 0.5611 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.3454, allocations: 182.7 kB / 0.5613 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001308/0.3467, allocations: 323.6 kB / 0.5616 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.3468, allocations: 41.66 kB / 0.5616 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009247/0.356, allocations: 9.77 MB / 0.5711 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.356, allocations: 0 / 0.5711 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003638/0.3597, allocations: 1.585 MB / 0.5727 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002122/0.3599, allocations: 63.78 kB / 0.5728 GB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.36, allocations: 31.98 kB / 0.5728 GB, free: 5.391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005353/0.3606, allocations: 27.97 kB / 0.5728 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/0.3607, allocations: 60.38 kB / 0.5729 GB, free: 5.305 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.805e-05/0.3608, allocations: 19.98 kB / 0.5729 GB, free: 5.285 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004477/0.3612, allocations: 323.1 kB / 0.5732 GB, free: 4.973 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3612, allocations: 0 / 0.5732 GB, free: 4.973 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009975/0.3622, allocations: 244 kB / 0.5734 GB, free: 4.734 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (tube.fluidStream.T[1],tube.fluidStream.T[2],tube.fluidStream.T[3],tube.fluidStream.T[4],tube.fluidStream.T[5],tube.wall.wall.T[1,1],tube.wall.wall.T[1,2],tube.wall.wall.T[1,3],tube.wall.wall.T[2,1],tube.wall.wall.T[2,2],tube.wall.wall.T[2,3],tube.wall.wall.T[3,1],tube.wall.wall.T[3,2],tube.wall.wall.T[3,3],tube.wall.wall.T[4,1],tube.wall.wall.T[4,2],tube.wall.wall.T[4,3],tube.wall.wall.T[5,1],tube.wall.wall.T[5,2],tube.wall.wall.T[5,3]) * 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 (49): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002038/0.3624, allocations: 137.1 kB / 0.5736 GB, free: 4.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002978/0.3654, allocations: 1.752 MB / 0.5753 GB, free: 2.738 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3654, allocations: 0 / 0.5753 GB, free: 2.738 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001727/0.3672, allocations: 1.237 MB / 0.5765 GB, free: 1.414 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007857/0.3679, allocations: 173.7 kB / 0.5766 GB, free: 1.246 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004923/0.3729, allocations: 2.857 MB / 0.5794 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/0.3733, allocations: 371.6 kB / 0.5798 GB, free: 13.97 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000268/0.3736, allocations: 55.42 kB / 0.5798 GB, free: 13.92 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3736, allocations: 0 / 0.5798 GB, free: 13.92 MB / 430.1 MB Notification: Performance of Templates: time 0.03395/0.4075, allocations: 26.91 MB / 0.6061 GB, free: 3 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Devel_test_models.Test_liquid_circuit_002.makefile [Timeout 660] (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_002.sim & ./AES_AES.Devel_test_models.Test_liquid_circuit_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.267459199298173] Failed to read output from testmodel.py, exit status != 0: 0.4162904969416559 0.431493012 0.142041101 Calling exit ...