Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_001.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.Devel_test_models.Test_liquid_circuit_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_001") translateModel(AES.Devel_test_models.Test_liquid_circuit_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 104 kB / 15.98 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 198.9 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.181/1.181, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08539/0.08539, allocations: 22.32 MB / 313.1 MB, free: 8.902 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 66.62 kB / 380.9 MB, free: 40.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06886/0.07, allocations: 54.97 MB / 435.9 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_001): time 0.003361/0.07338, allocations: 2.897 MB / 438.8 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.07451, allocations: 0.8338 MB / 439.6 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.749e-05/0.07462, allocations: 4 kB / 439.6 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.07476, allocations: 39.69 kB / 439.7 MB, free: 9.539 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.07502, allocations: 111.3 kB / 439.8 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.07533, allocations: 115.8 kB / 439.9 MB, free: 9.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003858/0.07573, allocations: 478.8 kB / 440.3 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003586/0.07609, allocations: 328.5 kB / 440.7 MB, free: 8.527 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.07631, allocations: 215.3 kB / 440.9 MB, free: 8.316 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003037/0.07662, allocations: 299 kB / 441.2 MB, free: 8.023 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.701e-05/0.0767, allocations: 52 kB / 441.2 MB, free: 7.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.07682, allocations: 75.97 kB / 441.3 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.07695, allocations: 155.6 kB / 441.4 MB, free: 7.746 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.07714, allocations: 238.9 kB / 441.7 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.07749, allocations: 439.2 kB / 442.1 MB, free: 7.082 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.0775, allocations: 0 / 442.1 MB, free: 7.082 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.07751, allocations: 7.938 kB / 442.1 MB, free: 7.074 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.07752, allocations: 0 / 442.1 MB, free: 7.074 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001342/0.07886, allocations: 0.7405 MB / 442.9 MB, free: 6.285 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.706e-05/0.0789, allocations: 12.03 kB / 442.9 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.438e-05/0.07899, allocations: 40.47 kB / 442.9 MB, free: 6.234 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.07933, allocations: 330.5 kB / 443.2 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.07937, allocations: 29.03 kB / 443.3 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.318e-05/0.07944, allocations: 36.28 kB / 443.3 MB, free: 5.805 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006644/0.0801, allocations: 410.1 kB / 443.7 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.08012, allocations: 0 / 443.7 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.379e-05/0.08017, allocations: 15.98 kB / 443.7 MB, free: 5.383 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.08019, allocations: 8 kB / 443.7 MB, free: 5.375 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006579/0.08085, allocations: 390.4 kB / 444.1 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002297/0.08316, allocations: 1.317 MB / 445.4 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004871/0.08366, allocations: 314.5 kB / 445.7 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/0.08399, allocations: 212.8 kB / 445.9 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.08402, allocations: 4 kB / 445.9 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.08405, allocations: 34.56 kB / 446 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003082/0.08436, allocations: 55.78 kB / 446 MB, free: 2.988 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.323e-06/0.08437, allocations: 4 kB / 446 MB, free: 2.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001688/0.08607, allocations: 0.6942 MB / 446.7 MB, free: 2.262 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.0861, allocations: 51.41 kB / 446.8 MB, free: 2.199 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.08639, allocations: 324.4 kB / 447.1 MB, free: 1.871 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.08643, allocations: 33.7 kB / 447.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.08654, allocations: 192.2 kB / 447.3 MB, free: 1.641 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.421e-05/0.08663, allocations: 110.5 kB / 447.4 MB, free: 1.531 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.08676, allocations: 77.58 kB / 447.5 MB, free: 1.449 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.08687, allocations: 342.8 kB / 447.8 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002965/0.08718, allocations: 167.9 kB / 448 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.0875, allocations: 226 kB / 448.2 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000595/0.0881, allocations: 402.4 kB / 448.6 MB, free: 300 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.08811, allocations: 0 / 448.6 MB, free: 300 kB / 318.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001105/0.08922, allocations: 0.5369 MB / 449.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.08925, allocations: 8 kB / 449.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.08927, allocations: 3.984 kB / 449.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005985/0.08987, allocations: 84.78 kB / 449.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005039/0.09038, allocations: 103.8 kB / 449.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000376/0.09077, allocations: 0.5835 MB / 449.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/0.09106, allocations: 16.05 kB / 449.9 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.09111, allocations: 19.98 kB / 450 MB, free: 14.9 MB / 334.1 MB 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 (41): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001621/0.09128, allocations: 161.7 kB / 450.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.395e-05/0.09134, allocations: 31.62 kB / 450.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/0.09248, allocations: 0.5213 MB / 450.7 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.0925, allocations: 4 kB / 450.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.09251, allocations: 4 kB / 450.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.09252, allocations: 3.984 kB / 450.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000469/0.09299, allocations: 465 kB / 451.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.093, allocations: 0 / 451.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004738/0.09348, allocations: 83.89 kB / 451.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004274/0.09392, allocations: 88.78 kB / 451.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.209e-05/0.09396, allocations: 7.984 kB / 451.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003496/0.09432, allocations: 0.5758 MB / 451.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.09433, allocations: 0 / 451.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.0956, allocations: 0.7619 MB / 452.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.506e-05/0.09568, allocations: 116.6 kB / 452.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.951e-05/0.09575, allocations: 12 kB / 452.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/0.09601, allocations: 19.98 kB / 452.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/0.09609, allocations: 19.97 kB / 452.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.09612, allocations: 11.98 kB / 452.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000202/0.09633, allocations: 227.1 kB / 453 MB, free: 11.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09633, allocations: 0 / 453 MB, free: 11.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003448/0.09668, allocations: 107.8 kB / 453.1 MB, free: 11.57 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (tube.T[1],tube.T[2],tube.T[3],tube.T[4],tube.T[5]) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001317/0.09682, allocations: 115.2 kB / 453.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008951/0.09772, allocations: 455.5 kB / 453.7 MB, free: 11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.09774, allocations: 4 kB / 453.7 MB, free: 11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004492/0.09819, allocations: 223.8 kB / 453.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.09862, allocations: 93.41 kB / 454 MB, free: 10.69 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.1001, allocations: 1.179 MB / 455.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.1004, allocations: 0.8157 MB / 456 MB, free: 8.633 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.1006, allocations: 35.42 kB / 456 MB, free: 8.598 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1006, allocations: 0 / 456 MB, free: 8.598 MB / 334.1 MB Notification: Performance of Templates: time 0.007467/0.108, allocations: 6.473 MB / 462.5 MB, free: 2.152 MB / 334.1 MB make -j1 -f AES_AES.Devel_test_models.Test_liquid_circuit_001.makefile (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_001.sim & ./AES_AES.Devel_test_models.Test_liquid_circuit_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe 2>&1)