Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.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.ProcessComponents.Thermal.Liquid.TubeWall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.Liquid.TubeWall") translateModel(AES.ProcessComponents.Thermal.Liquid.TubeWall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.Liquid.TubeWall") [/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.09493/0.09493, allocations: 21.41 MB / 36.66 MB, free: 1.125 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.001038/0.001038, allocations: 172.5 kB / 42.83 MB, free: 3.879 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.468/1.468, allocations: 205 MB / 253.9 MB, free: 15.02 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.0007582/0.0007582, allocations: 87.27 kB / 307.2 MB, free: 11.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003303, allocations: 9 kB / 372.5 MB, free: 59.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09936/0.0997, allocations: 52.51 MB / 425 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Liquid.TubeWall): time 0.002216/0.102, allocations: 1.661 MB / 426.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005687/0.1025, allocations: 0.4888 MB / 427.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.792e-05/0.1026, allocations: 7.938 kB / 427.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.46e-05/0.1027, allocations: 11.92 kB / 427.2 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.825e-05/0.1028, allocations: 83.61 kB / 427.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.665e-05/0.1029, allocations: 23.97 kB / 427.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003331/0.1032, allocations: 0.5731 MB / 427.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.1034, allocations: 121.6 kB / 428 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.1035, allocations: 151.6 kB / 428.1 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.1037, allocations: 207.5 kB / 428.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.414e-05/0.1038, allocations: 20 kB / 428.3 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.666e-05/0.1039, allocations: 24 kB / 428.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.864e-05/0.104, allocations: 135.7 kB / 428.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.1041, allocations: 143.4 kB / 428.6 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.1043, allocations: 358.9 kB / 429 MB, free: 10.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1043, allocations: 4 kB / 429 MB, free: 10.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1043, allocations: 0 / 429 MB, free: 10.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1043, allocations: 0 / 429 MB, free: 10.3 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009031/0.1052, allocations: 0.6864 MB / 429.7 MB, free: 9.562 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.532e-05/0.1053, allocations: 12.03 kB / 429.7 MB, free: 9.551 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.83e-05/0.1053, allocations: 28.56 kB / 429.7 MB, free: 9.523 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.1056, allocations: 283.8 kB / 430 MB, free: 9.207 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.1056, allocations: 16.94 kB / 430 MB, free: 9.191 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.641e-05/0.1056, allocations: 28.38 kB / 430 MB, free: 9.164 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004034/0.106, allocations: 377.3 kB / 430.4 MB, free: 8.773 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.1061, allocations: 3.938 kB / 430.4 MB, free: 8.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.1061, allocations: 8 kB / 430.4 MB, free: 8.762 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1061, allocations: 8 kB / 430.4 MB, free: 8.754 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002917/0.1064, allocations: 251.7 kB / 430.7 MB, free: 8.508 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.1078, allocations: 1.756 MB / 432.4 MB, free: 6.562 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/0.1083, allocations: 445.2 kB / 432.9 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.1084, allocations: 152.2 kB / 433 MB, free: 5.918 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.1085, allocations: 12 kB / 433 MB, free: 5.906 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.1085, allocations: 38.5 kB / 433.1 MB, free: 5.859 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 1.262e-06/0.1085, allocations: 0 / 433.1 MB, free: 5.859 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.0005971/0.1091, allocations: 433.1 kB / 433.5 MB, free: 5.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1091, allocations: 158.2 kB / 433.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.1093, allocations: 203.2 kB / 433.8 MB, free: 5.031 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.1093, allocations: 33.7 kB / 433.9 MB, free: 4.992 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.1094, allocations: 160 kB / 434 MB, free: 4.832 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.038e-05/0.1094, allocations: 114.4 kB / 434.1 MB, free: 4.719 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-05/0.1095, allocations: 74.14 kB / 434.2 MB, free: 4.641 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.861e-05/0.1096, allocations: 338.8 kB / 434.5 MB, free: 4.301 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.1098, allocations: 160.8 kB / 434.7 MB, free: 4.145 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.11, allocations: 281.1 kB / 435 MB, free: 3.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004242/0.1104, allocations: 477.8 kB / 435.4 MB, free: 3.309 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1104, allocations: 0 / 435.4 MB, free: 3.309 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005533/0.111, allocations: 0.497 MB / 435.9 MB, free: 2.805 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.111, allocations: 4.312 kB / 435.9 MB, free: 2.801 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.111, allocations: 8 kB / 435.9 MB, free: 2.793 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.1111, allocations: 8 kB / 435.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004525/0.1115, allocations: 147.8 kB / 436.1 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1115, allocations: 7.938 kB / 436.1 MB, free: 2.633 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.1117, allocations: 43.66 kB / 436.1 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.1117, allocations: 16 kB / 436.2 MB, free: 2.574 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (50): * Single equations (assignments): 50 * 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.0001398/0.1119, allocations: 173.6 kB / 436.3 MB, free: 2.395 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.112, allocations: 31.72 kB / 436.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.455e-05/0.1121, allocations: 36.98 kB / 436.4 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1121, allocations: 4 kB / 436.4 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1121, allocations: 11.94 kB / 436.4 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1121, allocations: 0 / 436.4 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004892/0.1126, allocations: 405.2 kB / 436.8 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1126, allocations: 0 / 436.8 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000541/0.1132, allocations: 123.9 kB / 436.9 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1132, allocations: 4 kB / 436.9 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.1132, allocations: 23.98 kB / 437 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1132, allocations: 4 kB / 437 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1132, allocations: 7.875 kB / 437 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005088/0.1137, allocations: 0.792 MB / 437.8 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/0.1138, allocations: 104.9 kB / 437.9 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.1138, allocations: 20 kB / 437.9 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.1141, allocations: 19.97 kB / 437.9 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.1142, allocations: 19.92 kB / 437.9 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.1142, allocations: 15.92 kB / 437.9 MB, free: 0.707 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.119e-05/0.1143, allocations: 147.4 kB / 438.1 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1143, allocations: 4 kB / 438.1 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004181/0.1147, allocations: 99.84 kB / 438.2 MB, free: 472 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 15 (wall.T[1,1],wall.T[1,2],wall.T[1,3],wall.T[2,1],wall.T[2,2],wall.T[2,3],wall.T[3,1],wall.T[3,2],wall.T[3,3],wall.T[4,1],wall.T[4,2],wall.T[4,3],wall.T[5,1],wall.T[5,2],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 (25): * Single equations (assignments): 25 * 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.0001027/0.1148, allocations: 127.1 kB / 438.3 MB, free: 336 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004218/0.1152, allocations: 355.6 kB / 438.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1152, allocations: 0.625 kB / 438.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.1154, allocations: 147.8 kB / 438.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006999/0.1162, allocations: 92.2 kB / 438.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.118, allocations: 1.521 MB / 440.4 MB, free: 14.19 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.1184, allocations: 0.7952 MB / 441.2 MB, free: 13.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002999/0.1187, allocations: 150.1 kB / 441.3 MB, free: 13.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.514e-05/0.1188, allocations: 27.44 kB / 441.4 MB, free: 13.18 MB / 314.7 MB Notification: Performance of SimCode: time 3.11e-07/0.1188, allocations: 0 / 441.4 MB, free: 13.18 MB / 314.7 MB Notification: Performance of Templates: time 0.006573/0.1254, allocations: 3.834 MB / 445.2 MB, free: 9.355 MB / 314.7 MB make -j1 -f AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.makefile (rm -f AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe ; mkfifo AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe >> ../files/AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.sim & ./AES_AES.ProcessComponents.Thermal.Liquid.TubeWall -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe 2>&1)