Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_005.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.001624/0.001624, allocations: 96.36 kB / 20.46 MB, free: 1.367 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.001446/0.001446, allocations: 216.7 kB / 23.77 MB, free: 4.52 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.461/1.461, 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.1122/0.1122, allocations: 24.03 MB / 338 MB, free: 11.33 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_005,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_005") translateModel(AES.Devel_test_models.Test_liquid_circuit_005,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_005") [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.002172/0.002172, allocations: 71.89 kB / 475.1 MB, free: 5.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2748, allocations: 59.57 MB / 0.5221 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_005): time 0.004156/0.2789, allocations: 3.628 MB / 0.5257 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002109/0.2811, allocations: 1.194 MB / 0.5268 GB, free: 7.156 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004223/0.2815, allocations: 19.44 kB / 0.5269 GB, free: 7.145 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003456/0.2818, allocations: 151.1 kB / 0.527 GB, free: 7.051 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007354/0.2826, allocations: 399.3 kB / 0.5274 GB, free: 6.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007491/0.2833, allocations: 294 kB / 0.5277 GB, free: 6.629 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001748/0.2851, allocations: 2.004 MB / 0.5296 GB, free: 5.633 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001214/0.2863, allocations: 1.055 MB / 0.5307 GB, free: 5.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008657/0.2871, allocations: 0.7676 MB / 0.5314 GB, free: 4.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.2882, allocations: 0.8437 MB / 0.5322 GB, free: 4.434 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002885/0.2885, allocations: 218.6 kB / 0.5324 GB, free: 4.434 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004101/0.2889, allocations: 219.4 kB / 0.5326 GB, free: 4.434 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005167/0.2894, allocations: 0.6432 MB / 0.5333 GB, free: 4.121 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006562/0.2901, allocations: 0.716 MB / 0.534 GB, free: 3.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002049/0.2921, allocations: 2.407 MB / 0.5363 GB, free: 2.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2921, allocations: 0.6562 kB / 0.5363 GB, free: 2.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2921, allocations: 1.062 kB / 0.5363 GB, free: 2.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.212e-05/0.2922, allocations: 0 / 0.5363 GB, free: 2.883 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003947/0.2961, allocations: 1.839 MB / 0.5381 GB, free: 1.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.2962, allocations: 10.11 kB / 0.5381 GB, free: 1.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002569/0.2964, allocations: 139.7 kB / 0.5383 GB, free: 1.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/0.2978, allocations: 0.7515 MB / 0.539 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.846e-05/0.2978, allocations: 78.08 kB / 0.5391 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002234/0.2981, allocations: 123.6 kB / 0.5392 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002242/0.3003, allocations: 1.488 MB / 0.5406 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.3003, allocations: 3.938 kB / 0.5406 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.3004, allocations: 40.44 kB / 0.5407 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.3005, allocations: 24.56 kB / 0.5407 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002126/0.3026, allocations: 1.276 MB / 0.542 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008549/0.3111, allocations: 4.313 MB / 0.5462 GB, free: 13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004325/0.3155, allocations: 1.758 MB / 0.5479 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001145/0.3166, allocations: 0.6917 MB / 0.5486 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.711e-05/0.3167, allocations: 10.47 kB / 0.5486 GB, free: 11.76 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.3167, allocations: 44.09 kB / 0.5486 GB, free: 11.71 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 2.785e-06/0.3167, allocations: 0 / 0.5486 GB, free: 11.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.01462/0.3313, allocations: 5.179 MB / 0.5537 GB, free: 8.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.3314, allocations: 65.59 kB / 0.5537 GB, free: 8.789 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008805/0.3323, allocations: 0.6273 MB / 0.5543 GB, free: 8.414 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.3324, allocations: 44.8 kB / 0.5544 GB, free: 8.367 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003505/0.3327, allocations: 471.5 kB / 0.5548 GB, free: 7.953 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004631/0.3332, allocations: 438 kB / 0.5553 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004663/0.3337, allocations: 233.5 kB / 0.5555 GB, free: 7.441 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002298/0.3339, allocations: 408.8 kB / 0.5559 GB, free: 7.059 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/0.3353, allocations: 0.7908 MB / 0.5566 GB, free: 6.648 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001542/0.3368, allocations: 0.9831 MB / 0.5576 GB, free: 6.043 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.0144/0.3512, allocations: 4.552 MB / 0.562 GB, free: 1.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3512, allocations: 0 / 0.562 GB, free: 1.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.005816/0.357, allocations: 2.529 MB / 0.5645 GB, free: 15.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.357, allocations: 10.19 kB / 0.5645 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.3571, allocations: 7.938 kB / 0.5645 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002777/0.3598, allocations: 0.654 MB / 0.5652 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/0.3614, allocations: 359.5 kB / 0.5655 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01924/0.3807, allocations: 18.42 MB / 0.5835 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.382, allocations: 75.83 kB / 0.5836 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002341/0.3823, allocations: 56.05 kB / 0.5836 GB, free: 10.5 MB / 430.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $DER.tubeH.fluidStream.w = 0.0 $DER.tubeC.fluidStream.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (144): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,6,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000926/0.3832, allocations: 397.5 kB / 0.584 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002795/0.3835, allocations: 87.44 kB / 0.5841 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005105/0.3886, allocations: 2.108 MB / 0.5861 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.3886, allocations: 12 kB / 0.5862 GB, free: 7.848 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.3886, allocations: 4 kB / 0.5862 GB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.3886, allocations: 7.922 kB / 0.5862 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008049/0.3967, allocations: 3.514 MB / 0.5896 GB, free: 4.242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.902e-06/0.3967, allocations: 3.984 kB / 0.5896 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001963/0.3986, allocations: 323.7 kB / 0.5899 GB, free: 3.922 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002051/0.4007, allocations: 0.5369 MB / 0.5904 GB, free: 3.348 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001761/0.4009, allocations: 63.97 kB / 0.5905 GB, free: 3.285 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01657/0.4174, allocations: 16.97 MB / 0.6071 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4174, allocations: 0 / 0.6071 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005968/0.4234, allocations: 2.766 MB / 0.6098 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00031/0.4237, allocations: 95.41 kB / 0.6099 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/0.424, allocations: 63.97 kB / 0.6099 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008463/0.4248, allocations: 51.94 kB / 0.61 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002986/0.4251, allocations: 104.7 kB / 0.6101 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.4252, allocations: 31.98 kB / 0.6101 GB, free: 13.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006448/0.4258, allocations: 447.1 kB / 0.6105 GB, free: 13.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4258, allocations: 4 kB / 0.6105 GB, free: 13.49 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001635/0.4275, allocations: 436 kB / 0.611 GB, free: 13.07 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 40 (tubeH.fluidStream.T[1],tubeH.fluidStream.T[2],tubeH.fluidStream.T[3],tubeH.fluidStream.T[4],tubeH.fluidStream.T[5],tubeH.wall.wall.T[1,1],tubeH.wall.wall.T[1,2],tubeH.wall.wall.T[1,3],tubeH.wall.wall.T[2,1],tubeH.wall.wall.T[2,2],tubeH.wall.wall.T[2,3],tubeH.wall.wall.T[3,1],tubeH.wall.wall.T[3,2],tubeH.wall.wall.T[3,3],tubeH.wall.wall.T[4,1],tubeH.wall.wall.T[4,2],tubeH.wall.wall.T[4,3],tubeH.wall.wall.T[5,1],tubeH.wall.wall.T[5,2],tubeH.wall.wall.T[5,3],tubeC.fluidStream.T[1],tubeC.fluidStream.T[2],tubeC.fluidStream.T[3],tubeC.fluidStream.T[4],tubeC.fluidStream.T[5],tubeC.wall.wall.T[1,1],tubeC.wall.wall.T[1,2],tubeC.wall.wall.T[1,3],tubeC.wall.wall.T[2,1],tubeC.wall.wall.T[2,2],tubeC.wall.wall.T[2,3],tubeC.wall.wall.T[3,1],tubeC.wall.wall.T[3,2],tubeC.wall.wall.T[3,3],tubeC.wall.wall.T[4,1],tubeC.wall.wall.T[4,2],tubeC.wall.wall.T[4,3],tubeC.wall.wall.T[5,1],tubeC.wall.wall.T[5,2],tubeC.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 (89): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000295/0.4278, allocations: 171.1 kB / 0.6111 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005156/0.4329, allocations: 3.108 MB / 0.6142 GB, free: 9.621 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4329, allocations: 0 / 0.6142 GB, free: 9.621 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003125/0.4361, allocations: 2.197 MB / 0.6163 GB, free: 7.266 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.4372, allocations: 290.5 kB / 0.6166 GB, free: 6.984 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009711/0.4469, allocations: 5.431 MB / 0.6219 GB, free: 1.516 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008541/0.4478, allocations: 0.6259 MB / 0.6225 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004931/0.4483, allocations: 83.42 kB / 0.6226 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4483, allocations: 0 / 0.6226 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of Templates: time 0.07659/0.5249, allocations: 65.01 MB / 0.6861 GB, free: 15.7 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f AES_AES.Devel_test_models.Test_liquid_circuit_005.makefile [Timeout 660] (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_005.sim & ./AES_AES.Devel_test_models.Test_liquid_circuit_005 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.907222573179752] Failed to read output from testmodel.py, exit status != 0: 0.5336684840731323 0.54844747 0.25322553800000003 Calling exit ...