Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_multilayer_walls_001.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.Devel_test_models.Test_multilayer_walls_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_multilayer_walls_001") translateModel(AES.Devel_test_models.Test_multilayer_walls_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_multilayer_walls_001") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_SS_case_001.mo:3:1-67:19:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_case_001.mo:3:1-55:16:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_002.mo:3:1-91:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_001.mo:3:1-85:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.118/0.118, allocations: 21.46 MB / 36.42 MB, free: 1.176 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 174.7 kB / 42.64 MB, free: 3.992 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 205.4 MB / 254.1 MB, free: 15.2 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007436/0.0007436, allocations: 96.31 kB / 307.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002916/0.0002916, allocations: 8.156 kB / 373.3 MB, free: 58.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08784/0.08815, allocations: 52.96 MB / 426.2 MB, free: 13 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_multilayer_walls_001): time 0.001917/0.09013, allocations: 1.595 MB / 427.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000486/0.09065, allocations: 231.4 kB / 428 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.985e-05/0.09073, allocations: 0 / 428 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001701/0.09091, allocations: 19.84 kB / 428.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003594/0.09129, allocations: 99.53 kB / 428.2 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.001e-05/0.09139, allocations: 39.89 kB / 428.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.09168, allocations: 310.9 kB / 428.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.09184, allocations: 45.06 kB / 428.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.653e-05/0.09192, allocations: 75.77 kB / 428.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.0921, allocations: 127.6 kB / 428.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.09214, allocations: 8 kB / 428.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.09228, allocations: 63.88 kB / 428.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.794e-05/0.09236, allocations: 71.77 kB / 428.9 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.658e-05/0.09242, allocations: 57.64 kB / 428.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.09262, allocations: 199.5 kB / 429.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.09264, allocations: 0 / 429.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.09264, allocations: 0 / 429.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.09266, allocations: 0 / 429.1 MB, free: 10.06 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009111/0.09357, allocations: 0.522 MB / 429.7 MB, free: 9.488 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.09362, allocations: 8.031 kB / 429.7 MB, free: 9.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.026e-05/0.09369, allocations: 23.72 kB / 429.7 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.09401, allocations: 310.7 kB / 430 MB, free: 9.113 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.09404, allocations: 12 kB / 430 MB, free: 9.102 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.09407, allocations: 11.95 kB / 430 MB, free: 9.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.0943, allocations: 145.6 kB / 430.2 MB, free: 8.941 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.09432, allocations: 0 / 430.2 MB, free: 8.941 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.09434, allocations: 11.88 kB / 430.2 MB, free: 8.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.09436, allocations: 0 / 430.2 MB, free: 8.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.09452, allocations: 99.94 kB / 430.3 MB, free: 8.832 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008216/0.09535, allocations: 0.663 MB / 430.9 MB, free: 8.094 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007544/0.09612, allocations: 266.3 kB / 431.2 MB, free: 7.824 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.09624, allocations: 84.81 kB / 431.3 MB, free: 7.738 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.09626, allocations: 0 / 431.3 MB, free: 7.738 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.09628, allocations: 38.56 kB / 431.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 9.72e-07/0.09629, allocations: 0 / 431.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009342/0.09723, allocations: 0.4974 MB / 431.8 MB, free: 7.145 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.09726, allocations: 51.41 kB / 431.9 MB, free: 7.082 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.09751, allocations: 319.7 kB / 432.2 MB, free: 6.758 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.09753, allocations: 25.7 kB / 432.2 MB, free: 6.727 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.467e-05/0.09759, allocations: 124 kB / 432.3 MB, free: 6.602 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.09763, allocations: 59.19 kB / 432.4 MB, free: 6.543 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-06/0.09765, allocations: 0 / 432.4 MB, free: 6.543 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.876e-05/0.09771, allocations: 334.8 kB / 432.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.183e-05/0.09781, allocations: 72.14 kB / 432.8 MB, free: 6.137 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.729e-05/0.09791, allocations: 85.98 kB / 432.9 MB, free: 6.047 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.09804, allocations: 92.56 kB / 432.9 MB, free: 5.957 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.09806, allocations: 0 / 432.9 MB, free: 5.957 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004483/0.09851, allocations: 305.5 kB / 433.2 MB, free: 5.648 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.09853, allocations: 8.031 kB / 433.3 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.09854, allocations: 0 / 433.3 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002331/0.09878, allocations: 49.67 kB / 433.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.09901, allocations: 59.84 kB / 433.4 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.1004, allocations: 2.623 MB / 436 MB, free: 2.633 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.1006, allocations: 19.83 kB / 436 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.1006, allocations: 8 kB / 436 MB, free: 2.605 MB / 298.7 MB Warning: Assuming fixed start value for the following 7 variables: nonhomogeneous.T[3]:VARIABLE(min = 0.0 start = nonhomogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [3] nonhomogeneous.T[2]:VARIABLE(min = 0.0 start = nonhomogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [3] nonhomogeneous.T[1]:VARIABLE(min = 0.0 start = nonhomogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [3] homogeneous.T[4]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [4] homogeneous.T[3]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [4] homogeneous.T[2]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [4] homogeneous.T[1]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00019/0.1008, allocations: 177.1 kB / 436.2 MB, free: 2.426 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.1009, allocations: 19.81 kB / 436.2 MB, free: 2.406 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.701e-05/0.1009, allocations: 29.52 kB / 436.2 MB, free: 2.383 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1009, allocations: 0 / 436.2 MB, free: 2.383 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.101, allocations: 4 kB / 436.2 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.101, allocations: 3.938 kB / 436.2 MB, free: 2.375 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.1012, allocations: 293.3 kB / 436.5 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1012, allocations: 0 / 436.5 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/0.1015, allocations: 51.97 kB / 436.6 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001569/0.1017, allocations: 45.69 kB / 436.6 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.1017, allocations: 11.98 kB / 436.6 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/0.1032, allocations: 2.608 MB / 439.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1032, allocations: 0 / 439.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000654/0.1039, allocations: 428.9 kB / 439.7 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.111e-05/0.104, allocations: 104.8 kB / 439.8 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.104, allocations: 11.94 kB / 439.8 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.1042, allocations: 8 kB / 439.8 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.1042, allocations: 7.984 kB / 439.8 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.1043, allocations: 4 kB / 439.8 MB, free: 14.46 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002638/0.1045, allocations: 241.5 kB / 440 MB, free: 14.22 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1045, allocations: 0 / 440 MB, free: 14.22 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004238/0.105, allocations: 72 kB / 440.1 MB, free: 14.15 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (homogeneous.T[1],homogeneous.T[2],homogeneous.T[3],homogeneous.T[4],nonhomogeneous.T[1],nonhomogeneous.T[2],nonhomogeneous.T[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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002045/0.1052, allocations: 117.8 kB / 440.2 MB, free: 14.03 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007136/0.1059, allocations: 425.1 kB / 440.6 MB, free: 13.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1059, allocations: 4 kB / 440.6 MB, free: 13.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004053/0.1063, allocations: 313.4 kB / 440.9 MB, free: 13.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.1068, allocations: 55.89 kB / 441 MB, free: 13.2 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.1085, allocations: 1.003 MB / 442 MB, free: 12.17 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.1089, allocations: 0.7479 MB / 442.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001584/0.109, allocations: 45.52 kB / 442.8 MB, free: 11.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.282e-05/0.1091, allocations: 15.44 kB / 442.8 MB, free: 11.33 MB / 314.7 MB Notification: Performance of SimCode: time 2.6e-07/0.1091, allocations: 0 / 442.8 MB, free: 11.33 MB / 314.7 MB Notification: Performance of Templates: time 0.007178/0.1163, allocations: 3.639 MB / 446.4 MB, free: 7.695 MB / 314.7 MB make -j1 -f AES_AES.Devel_test_models.Test_multilayer_walls_001.makefile (rm -f AES_AES.Devel_test_models.Test_multilayer_walls_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_multilayer_walls_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_multilayer_walls_001.pipe >> ../files/AES_AES.Devel_test_models.Test_multilayer_walls_001.sim & ./AES_AES.Devel_test_models.Test_multilayer_walls_001 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Devel_test_models.Test_multilayer_walls_001.pipe 2>&1)