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.008909/0.008909, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001919/0.001919, allocations: 192.4 kB / 16.67 MB, free: 5.969 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09198/0.09198, allocations: 22.32 MB / 312.9 MB, free: 8.844 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 63.89 kB / 437.1 MB, free: 11.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1245, allocations: 54.95 MB / 492 MB, free: 4.703 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_001): time 0.005002/0.1295, allocations: 2.616 MB / 494.6 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.1315, allocations: 0.8066 MB / 495.4 MB, free: 1.254 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002489/0.1318, allocations: 4 kB / 495.4 MB, free: 1.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.132, allocations: 43.52 kB / 495.5 MB, free: 1.207 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003364/0.1324, allocations: 131 kB / 495.6 MB, free: 1.078 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004483/0.1328, allocations: 135.6 kB / 495.7 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004752/0.1333, allocations: 478.8 kB / 496.2 MB, free: 488 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004559/0.1338, allocations: 332.5 kB / 496.5 MB, free: 156 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003129/0.1341, allocations: 215.3 kB / 496.7 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000418/0.1345, allocations: 295 kB / 497 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.119e-05/0.1346, allocations: 48 kB / 497.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.1348, allocations: 83.97 kB / 497.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001665/0.135, allocations: 155.5 kB / 497.3 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002686/0.1353, allocations: 239 kB / 497.5 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006614/0.1359, allocations: 0.5682 MB / 498.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1359, allocations: 4 kB / 498.1 MB, free: 14.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1359, allocations: 0 / 498.1 MB, free: 14.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.136, allocations: 0 / 498.1 MB, free: 14.56 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001413/0.1374, allocations: 0.7479 MB / 498.9 MB, free: 13.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.1374, allocations: 8.031 kB / 498.9 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.1375, allocations: 48.66 kB / 498.9 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004143/0.138, allocations: 334.7 kB / 499.2 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.138, allocations: 21.03 kB / 499.3 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.965e-05/0.1381, allocations: 32.38 kB / 499.3 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007053/0.1388, allocations: 414.1 kB / 499.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1388, allocations: 3.984 kB / 499.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.266e-05/0.1389, allocations: 8 kB / 499.7 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.1389, allocations: 15.94 kB / 499.7 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006665/0.1396, allocations: 386.4 kB / 0.4884 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002404/0.142, allocations: 1.314 MB / 0.4897 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005449/0.1425, allocations: 317.7 kB / 0.49 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003512/0.1429, allocations: 204.7 kB / 0.4902 GB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.1429, allocations: 12.06 kB / 0.4902 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.143, allocations: 38.55 kB / 0.4902 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002828/0.1433, allocations: 55.77 kB / 0.4903 GB, free: 10.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.653e-06/0.1433, allocations: 0 / 0.4903 GB, free: 10.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.001809/0.1451, allocations: 0.6989 MB / 0.4909 GB, free: 9.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.1451, allocations: 55.41 kB / 0.491 GB, free: 9.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003461/0.1455, allocations: 320.5 kB / 0.4913 GB, free: 9.352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.1455, allocations: 29.7 kB / 0.4913 GB, free: 9.316 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.1457, allocations: 200.6 kB / 0.4915 GB, free: 9.117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.665e-05/0.1458, allocations: 115 kB / 0.4916 GB, free: 9.004 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.1459, allocations: 81.61 kB / 0.4917 GB, free: 8.918 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1461, allocations: 342.8 kB / 0.492 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/0.1464, allocations: 163.9 kB / 0.4922 GB, free: 8.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000328/0.1467, allocations: 222 kB / 0.4924 GB, free: 8.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006457/0.1474, allocations: 406.4 kB / 0.4928 GB, free: 7.766 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1474, allocations: 0 / 0.4928 GB, free: 7.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001126/0.1485, allocations: 0.5409 MB / 0.4933 GB, free: 7.215 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1486, allocations: 4 kB / 0.4933 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1486, allocations: 0 / 0.4933 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006053/0.1492, allocations: 84.78 kB / 0.4934 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000499/0.1497, allocations: 103.9 kB / 0.4935 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004745/0.1502, allocations: 0.5835 MB / 0.4941 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.1504, allocations: 16.02 kB / 0.4941 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/0.1505, allocations: 15.98 kB / 0.4941 GB, free: 6.383 MB / 382.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.0001753/0.1507, allocations: 158.6 kB / 0.4943 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/0.1508, allocations: 35.77 kB / 0.4943 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.1519, allocations: 0.5291 MB / 0.4948 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.152, allocations: 4 kB / 0.4948 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.152, allocations: 4 kB / 0.4948 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.152, allocations: 0 / 0.4948 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005274/0.1525, allocations: 461.1 kB / 0.4952 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1525, allocations: 4 kB / 0.4953 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004507/0.153, allocations: 79.89 kB / 0.4953 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004142/0.1534, allocations: 84.78 kB / 0.4954 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.405e-05/0.1535, allocations: 11.98 kB / 0.4954 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003768/0.1538, allocations: 0.5719 MB / 0.496 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1539, allocations: 4.031 kB / 0.496 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.1552, allocations: 0.7735 MB / 0.4967 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.009e-05/0.1553, allocations: 116.8 kB / 0.4968 GB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.542e-05/0.1553, allocations: 12 kB / 0.4969 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/0.1556, allocations: 11.98 kB / 0.4969 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.481e-05/0.1557, allocations: 27.95 kB / 0.4969 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.1557, allocations: 8 kB / 0.4969 GB, free: 3.363 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002215/0.1559, allocations: 227.1 kB / 0.4971 GB, free: 3.145 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1559, allocations: 0 / 0.4971 GB, free: 3.145 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003874/0.1563, allocations: 115.8 kB / 0.4972 GB, free: 3.031 MB / 382.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.0001593/0.1565, allocations: 107.2 kB / 0.4973 GB, free: 2.918 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008894/0.1574, allocations: 427.5 kB / 0.4977 GB, free: 2.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1574, allocations: 0 / 0.4977 GB, free: 2.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004781/0.1579, allocations: 227.8 kB / 0.498 GB, free: 2.277 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004647/0.1584, allocations: 101.4 kB / 0.4981 GB, free: 2.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.1601, allocations: 1.012 MB / 0.499 GB, free: 1.141 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.1605, allocations: 0.8079 MB / 0.4998 GB, free: 312 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002519/0.1608, allocations: 75.25 kB / 0.4999 GB, free: 232 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.1609, allocations: 35.42 kB / 0.4999 GB, free: 196 kB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1609, allocations: 0 / 0.4999 GB, free: 196 kB / 382.1 MB Notification: Performance of Templates: time 0.2545/0.4154, allocations: 6.102 MB / 0.5059 GB, free: 21.65 MB / 382.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)