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.0007251/0.0007251, allocations: 84.44 kB / 20.71 MB, free: 3.855 MB / 18.57 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.0007266/0.0007266, allocations: 169.2 kB / 23.98 MB, free: 0.582 MB / 18.57 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 0.821/0.821, allocations: 177.2 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.06059/0.06059, allocations: 18.12 MB / 278.8 MB, free: 11.54 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 416.3 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.362e-05, allocations: 6.219 kB / 416.3 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_002): time 0.002323/0.002346, allocations: 2.882 MB / 419.2 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.003386, allocations: 0.8875 MB / 420.1 MB, free: 9.902 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.003524, allocations: 9.406 kB / 420.1 MB, free: 9.898 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.003695, allocations: 92.75 kB / 420.2 MB, free: 9.84 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00031/0.004005, allocations: 250.1 kB / 420.4 MB, free: 9.676 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.004361, allocations: 162.3 kB / 420.6 MB, free: 9.582 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000745/0.005106, allocations: 1.125 MB / 421.7 MB, free: 9.012 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005571/0.005663, allocations: 0.572 MB / 422.3 MB, free: 8.746 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004183/0.006081, allocations: 431.8 kB / 422.7 MB, free: 8.551 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004503/0.006532, allocations: 439.4 kB / 423.2 MB, free: 8.398 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.006653, allocations: 115.7 kB / 423.3 MB, free: 8.398 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.006772, allocations: 116.8 kB / 423.4 MB, free: 8.398 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.00697, allocations: 365.3 kB / 423.7 MB, free: 8.199 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002563/0.007227, allocations: 351.5 kB / 424.1 MB, free: 8.035 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009263/0.008153, allocations: 1.344 MB / 425.4 MB, free: 7.551 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.008155, allocations: 1.031 kB / 425.4 MB, free: 7.551 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.008156, allocations: 0 / 425.4 MB, free: 7.551 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.008168, allocations: 0 / 425.4 MB, free: 7.551 MB / 330.7 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.001482/0.00965, allocations: 1.122 MB / 426.5 MB, free: 6.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.00968, allocations: 9.766 kB / 426.6 MB, free: 6.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.009795, allocations: 83.52 kB / 426.6 MB, free: 6.867 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005043/0.0103, allocations: 481.8 kB / 427.1 MB, free: 6.539 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.01033, allocations: 48.53 kB / 427.2 MB, free: 6.516 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.429e-05/0.01042, allocations: 67.86 kB / 427.2 MB, free: 6.492 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008594/0.01128, allocations: 0.8219 MB / 428 MB, free: 6.117 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.01129, allocations: 1.406 kB / 428 MB, free: 6.117 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.39e-05/0.01134, allocations: 25.38 kB / 428.1 MB, free: 6.098 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.01135, allocations: 16.88 kB / 428.1 MB, free: 6.094 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007396/0.01209, allocations: 0.6853 MB / 428.8 MB, free: 5.832 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00259/0.01468, allocations: 2.341 MB / 431.1 MB, free: 4.691 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.01587, allocations: 0.8648 MB / 432 MB, free: 4.379 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003405/0.01621, allocations: 358.7 kB / 432.3 MB, free: 4.223 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.01624, allocations: 6.281 kB / 432.3 MB, free: 4.223 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.01625, allocations: 41.91 kB / 432.4 MB, free: 4.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 1.563e-06/0.01626, allocations: 3.938 kB / 432.4 MB, free: 4.176 MB / 330.7 MB Notification: Performance of matching and sorting (n=56): time 0.004788/0.02104, allocations: 2.917 MB / 435.3 MB, free: 2.672 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.02107, allocations: 61.38 kB / 435.4 MB, free: 2.605 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003963/0.02147, allocations: 474.4 kB / 435.8 MB, free: 2.312 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/0.02151, allocations: 36.11 kB / 435.9 MB, free: 2.273 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.02162, allocations: 323.8 kB / 436.2 MB, free: 1.988 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.02177, allocations: 235.1 kB / 436.4 MB, free: 1.785 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.02194, allocations: 157.2 kB / 436.6 MB, free: 1.688 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.743e-05/0.02201, allocations: 371.1 kB / 436.9 MB, free: 1.332 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004719/0.02248, allocations: 434.6 kB / 437.3 MB, free: 1.117 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005037/0.02298, allocations: 0.5944 MB / 437.9 MB, free: 0.7031 MB / 330.7 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.004039/0.02702, allocations: 2.475 MB / 440.4 MB, free: 15.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.02703, allocations: 1.375 kB / 440.4 MB, free: 15.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002164/0.02919, allocations: 1.452 MB / 441.9 MB, free: 14.33 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.02921, allocations: 10.03 kB / 441.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.02922, allocations: 4 kB / 441.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007836/0.03, allocations: 381.7 kB / 442.3 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004638/0.03046, allocations: 211.7 kB / 442.5 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005506/0.03597, allocations: 10.29 MB / 452.7 MB, free: 2.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003526/0.03632, allocations: 55.91 kB / 452.8 MB, free: 2.625 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.51e-05/0.03637, allocations: 27.98 kB / 452.8 MB, free: 2.598 MB / 346.7 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.0002965/0.03666, allocations: 265.9 kB / 453.1 MB, free: 2.328 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.019e-05/0.03673, allocations: 63.59 kB / 453.2 MB, free: 2.266 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/0.0382, allocations: 1.173 MB / 454.3 MB, free: 1.066 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.03821, allocations: 4 kB / 454.3 MB, free: 1.062 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.03821, allocations: 4 kB / 454.3 MB, free: 1.059 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.03822, allocations: 3.984 kB / 454.3 MB, free: 1.055 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00239/0.04061, allocations: 1.88 MB / 456.2 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.04061, allocations: 0 / 456.2 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005006/0.04111, allocations: 171.8 kB / 456.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006073/0.04172, allocations: 325.7 kB / 456.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.135e-05/0.04178, allocations: 35.98 kB / 456.7 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004713/0.04649, allocations: 9.752 MB / 466.5 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.04649, allocations: 8.094 kB / 466.5 MB, free: 4.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.04831, allocations: 1.586 MB / 468.1 MB, free: 2.465 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.731e-05/0.04838, allocations: 55.83 kB / 468.1 MB, free: 2.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.875e-05/0.04844, allocations: 27.98 kB / 468.2 MB, free: 2.383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.04867, allocations: 39.95 kB / 468.2 MB, free: 2.344 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.04879, allocations: 52.39 kB / 468.3 MB, free: 2.293 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.04882, allocations: 19.98 kB / 468.3 MB, free: 2.273 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002313/0.04905, allocations: 323.1 kB / 468.6 MB, free: 1.957 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04905, allocations: 0 / 468.6 MB, free: 1.957 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006038/0.04966, allocations: 244 kB / 468.8 MB, free: 1.719 MB / 362.7 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.0001325/0.04979, allocations: 145 kB / 469 MB, free: 1.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001767/0.05156, allocations: 1.752 MB / 470.7 MB, free: 15.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.05156, allocations: 0 / 470.7 MB, free: 15.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008207/0.05238, allocations: 1.232 MB / 472 MB, free: 14.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.05284, allocations: 178.6 kB / 472.1 MB, free: 14.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.05534, allocations: 2.42 MB / 474.6 MB, free: 11.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.0556, allocations: 375.6 kB / 474.9 MB, free: 11.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.05578, allocations: 48.5 kB / 475 MB, free: 11.34 MB / 378.7 MB Notification: Performance of SimCode: time 6.22e-07/0.05578, allocations: 4 kB / 475 MB, free: 11.34 MB / 378.7 MB Notification: Performance of Templates: time 0.01843/0.07421, allocations: 27.4 MB / 0.4906 GB, free: 15.92 MB / 410.7 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: 5.989226724021137] Failed to read output from testmodel.py, exit status != 0: 0.07956518419086933 0.087485901 0.07773740400000001 Calling exit ...