Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_stank_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_stank_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_001") translateModel(AES.Devel_test_models.Test_stank_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005748/0.005748, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001239/0.001239, allocations: 190 kB / 16.67 MB, free: 5.977 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2425/0.2425, allocations: 22.36 MB / 312.9 MB, free: 12.51 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 65.61 kB / 437.1 MB, free: 33.74 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1144, allocations: 54.97 MB / 492 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.003244/0.1177, allocations: 1.837 MB / 493.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004516/0.1182, allocations: 171.5 kB / 494 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.523e-05/0.1183, allocations: 4 kB / 494 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.553e-05/0.1183, allocations: 19.78 kB / 494.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.1185, allocations: 43.61 kB / 494.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.1187, allocations: 75.84 kB / 494.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.119, allocations: 231.1 kB / 494.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.1192, allocations: 97.02 kB / 494.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.1193, allocations: 103.7 kB / 494.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.1195, allocations: 95.72 kB / 494.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.084e-05/0.1196, allocations: 27.98 kB / 494.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.724e-05/0.1196, allocations: 24 kB / 494.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.961e-05/0.1196, allocations: 51.77 kB / 494.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.1198, allocations: 87.69 kB / 494.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.1201, allocations: 215.4 kB / 495.1 MB, free: 14.15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1201, allocations: 0 / 495.1 MB, free: 14.15 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1201, allocations: 4 kB / 495.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1201, allocations: 0 / 495.1 MB, free: 14.14 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008037/0.1209, allocations: 474.9 kB / 495.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.1209, allocations: 16.03 kB / 495.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.498e-05/0.121, allocations: 16.75 kB / 495.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.1212, allocations: 202 kB / 495.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.1213, allocations: 50.44 kB / 495.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.332e-05/0.1213, allocations: 16.03 kB / 495.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008145/0.1222, allocations: 300.4 kB / 496.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/0.1222, allocations: 3.938 kB / 496.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.1222, allocations: 4 kB / 496.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1222, allocations: 4 kB / 496.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007204/0.1229, allocations: 227.7 kB / 496.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/0.1248, allocations: 0.9459 MB / 497.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003325/0.1252, allocations: 264.6 kB / 497.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.218e-05/0.1253, allocations: 40.84 kB / 497.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.1253, allocations: 8 kB / 497.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.1253, allocations: 30.56 kB / 497.7 MB, free: 11.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.1253, allocations: 224 / 497.7 MB, free: 11.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.001728/0.127, allocations: 0.642 MB / 498.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.1271, allocations: 51.41 kB / 498.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.1273, allocations: 187.5 kB / 498.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.1273, allocations: 25.7 kB / 498.6 MB, free: 10.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.009e-05/0.1274, allocations: 119.8 kB / 498.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.1275, allocations: 59.19 kB / 498.7 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-05/0.1275, allocations: 33.72 kB / 498.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1276, allocations: 338.8 kB / 499.1 MB, free: 9.812 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.681e-05/0.1277, allocations: 39.98 kB / 499.1 MB, free: 9.773 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.231e-05/0.1278, allocations: 82 kB / 499.2 MB, free: 9.672 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007754/0.1286, allocations: 320.1 kB / 499.5 MB, free: 9.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1286, allocations: 3.938 kB / 499.5 MB, free: 9.336 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002742/0.1289, allocations: 181.4 kB / 499.7 MB, free: 9.152 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.1289, allocations: 13.91 kB / 499.7 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1289, allocations: 0 / 499.7 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.129, allocations: 4 kB / 499.7 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.1292, allocations: 55.91 kB / 499.8 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.1292, allocations: 4 kB / 499.8 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.25e-05/0.1293, allocations: 11.94 kB / 499.8 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1293, allocations: 4 kB / 499.8 MB, free: 9.062 MB / 366.1 MB Warning: Assuming fixed start value for the following 3 variables: stank.lcold:VARIABLE(start = stank.lcoldstart unit = "m" fixed = true stateSelect=StateSelect.prefer ) "cold height" type: Real stank.Thot:VARIABLE(min = 0.0 start = stank.Thotstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.Tcold:VARIABLE(min = 0.0 start = stank.Tcoldstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001845/0.1295, allocations: 156.8 kB / 500 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.1296, allocations: 15.91 kB / 500 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.827e-05/0.1296, allocations: 25.52 kB / 0.4883 GB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1296, allocations: 0 / 0.4883 GB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1296, allocations: 0 / 0.4883 GB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1297, allocations: 3.938 kB / 0.4883 GB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006576/0.1303, allocations: 499.2 kB / 0.4888 GB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1303, allocations: 0 / 0.4888 GB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.1306, allocations: 47.84 kB / 0.4888 GB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.1306, allocations: 7.938 kB / 0.4888 GB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.1306, allocations: 4 kB / 0.4888 GB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.1306, allocations: 0 / 0.4888 GB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1306, allocations: 4 kB / 0.4888 GB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/0.131, allocations: 288.1 kB / 0.4891 GB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.887e-05/0.131, allocations: 100.9 kB / 0.4892 GB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.1311, allocations: 0 / 0.4892 GB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.963e-05/0.1312, allocations: 8 kB / 0.4892 GB, free: 7.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-05/0.1312, allocations: 7.984 kB / 0.4892 GB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.1312, allocations: 4 kB / 0.4892 GB, free: 7.809 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.1314, allocations: 140.3 kB / 0.4893 GB, free: 7.672 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1314, allocations: 0 / 0.4893 GB, free: 7.672 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.1316, allocations: 36 kB / 0.4894 GB, free: 7.637 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (stank.lcold,stank.Thot,stank.Tcold) * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001056/0.1317, allocations: 99.25 kB / 0.4895 GB, free: 7.531 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002198/0.132, allocations: 125.9 kB / 0.4896 GB, free: 7.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.132, allocations: 0 / 0.4896 GB, free: 7.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.991e-05/0.1321, allocations: 57.61 kB / 0.4897 GB, free: 7.355 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.1324, allocations: 44.34 kB / 0.4897 GB, free: 7.312 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007393/0.1331, allocations: 0.4897 MB / 0.4902 GB, free: 6.793 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.1335, allocations: 0.7202 MB / 0.4909 GB, free: 6.047 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.767e-05/0.1336, allocations: 17.53 kB / 0.4909 GB, free: 6.031 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.445e-05/0.1336, allocations: 19.38 kB / 0.4909 GB, free: 6.012 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1336, allocations: 0 / 0.4909 GB, free: 6.012 MB / 366.1 MB Notification: Performance of Templates: time 0.004899/0.1385, allocations: 1.851 MB / 0.4927 GB, free: 4.184 MB / 366.1 MB make -j1 -f AES_AES.Devel_test_models.Test_stank_001.makefile (rm -f AES_AES.Devel_test_models.Test_stank_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_stank_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_stank_001.pipe >> ../files/AES_AES.Devel_test_models.Test_stank_001.sim & ./AES_AES.Devel_test_models.Test_stank_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_stank_001.pipe 2>&1)