Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_HE_LiquidLiquid_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_HE_LiquidLiquid_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001") translateModel(AES.Devel_test_models.Test_HE_LiquidLiquid_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_HE_LiquidLiquid_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.09245/0.09245, allocations: 21.61 MB / 37.41 MB, free: 0.75 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.001078/0.001078, allocations: 184.5 kB / 43.63 MB, free: 3.562 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.286/1.286, allocations: 205.1 MB / 254.8 MB, free: 14.27 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.0008924/0.0008924, allocations: 102.2 kB / 307.5 MB, free: 11.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 52.17 kB / 372.3 MB, free: 59.53 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07544/0.0766, allocations: 51.97 MB / 424.3 MB, free: 14.51 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HE_LiquidLiquid_001): time 0.02108/0.09772, allocations: 19.15 MB / 443.5 MB, free: 11.28 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006697/0.0984, allocations: 243 kB / 443.7 MB, free: 11.04 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.09856, allocations: 15.94 kB / 443.7 MB, free: 11.02 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 7.975e-05/0.09865, allocations: 19.83 kB / 443.7 MB, free: 11 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.09885, allocations: 83.38 kB / 443.8 MB, free: 10.92 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001337/0.099, allocations: 31.97 kB / 443.8 MB, free: 10.89 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002471/0.09925, allocations: 286.5 kB / 444.1 MB, free: 10.61 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.09945, allocations: 108.2 kB / 444.2 MB, free: 10.5 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.09961, allocations: 111.4 kB / 444.3 MB, free: 10.39 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.09974, allocations: 95.56 kB / 444.4 MB, free: 10.3 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.09978, allocations: 12 kB / 444.4 MB, free: 10.29 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.533e-05/0.09982, allocations: 12 kB / 444.5 MB, free: 10.28 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.146e-05/0.09986, allocations: 27.84 kB / 444.5 MB, free: 10.25 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.09996, allocations: 107.4 kB / 444.6 MB, free: 10.14 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.1002, allocations: 211.2 kB / 444.8 MB, free: 9.938 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1002, allocations: 0 / 444.8 MB, free: 9.938 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1002, allocations: 0 / 444.8 MB, free: 9.938 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1002, allocations: 0 / 444.8 MB, free: 9.938 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0006649/0.1009, allocations: 0.5139 MB / 445.3 MB, free: 9.371 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.1009, allocations: 12.03 kB / 445.3 MB, free: 9.359 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.101, allocations: 24.66 kB / 445.3 MB, free: 9.336 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.1012, allocations: 256.8 kB / 445.6 MB, free: 9.043 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.1012, allocations: 8.375 kB / 445.6 MB, free: 9.035 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.307e-05/0.1013, allocations: 16.28 kB / 445.6 MB, free: 9.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.1015, allocations: 174.6 kB / 445.8 MB, free: 8.828 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1016, allocations: 7.922 kB / 445.8 MB, free: 8.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.1016, allocations: 8 kB / 445.8 MB, free: 8.812 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1016, allocations: 4 kB / 445.8 MB, free: 8.809 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.1018, allocations: 91.89 kB / 445.9 MB, free: 8.719 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007627/0.1026, allocations: 0.8017 MB / 446.7 MB, free: 7.852 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.1027, allocations: 74.5 kB / 446.8 MB, free: 7.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.807e-05/0.1028, allocations: 52.78 kB / 446.8 MB, free: 7.715 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.1028, allocations: 0 / 446.8 MB, free: 7.715 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.1029, allocations: 34.56 kB / 446.9 MB, free: 7.672 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.1029, allocations: 0 / 446.9 MB, free: 7.672 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002628/0.1031, allocations: 121.4 kB / 447 MB, free: 7.547 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.1032, allocations: 55.34 kB / 447 MB, free: 7.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.1034, allocations: 275 kB / 447.3 MB, free: 7.207 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.1034, allocations: 29.7 kB / 447.3 MB, free: 7.172 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.892e-05/0.1035, allocations: 151.8 kB / 447.5 MB, free: 7.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.1036, allocations: 27.56 kB / 447.5 MB, free: 6.992 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.1036, allocations: 29.7 kB / 447.5 MB, free: 6.957 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1037, allocations: 334.8 kB / 447.9 MB, free: 6.621 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.317e-05/0.1038, allocations: 20 kB / 447.9 MB, free: 6.602 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.693e-05/0.1039, allocations: 58.55 kB / 447.9 MB, free: 6.535 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004937/0.1044, allocations: 158.6 kB / 448.1 MB, free: 6.371 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1044, allocations: 0 / 448.1 MB, free: 6.371 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002037/0.1046, allocations: 141.3 kB / 448.2 MB, free: 6.227 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1046, allocations: 4 kB / 448.2 MB, free: 6.223 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1046, allocations: 0 / 448.2 MB, free: 6.223 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1046, allocations: 0 / 448.2 MB, free: 6.223 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.1048, allocations: 31.98 kB / 448.3 MB, free: 6.191 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.1048, allocations: 7.875 kB / 448.3 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.183e-05/0.1049, allocations: 15.75 kB / 448.3 MB, free: 6.168 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.105, allocations: 7.984 kB / 448.3 MB, free: 6.16 MB / 314.7 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 unit = "K" fixed = true nominal = 300.0 ) type: Real HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = "K" fixed = true nominal = 300.0 ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 14 * 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.0001782/0.1051, allocations: 129.9 kB / 448.4 MB, free: 6.023 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/0.1052, allocations: 23.72 kB / 448.4 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.989e-05/0.1053, allocations: 25.73 kB / 448.5 MB, free: 5.969 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1053, allocations: 0 / 448.5 MB, free: 5.969 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.1053, allocations: 3.938 kB / 448.5 MB, free: 5.965 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1053, allocations: 0 / 448.5 MB, free: 5.965 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002457/0.1055, allocations: 245.5 kB / 448.7 MB, free: 5.676 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1055, allocations: 0 / 448.7 MB, free: 5.676 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.1057, allocations: 20 kB / 448.7 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.1057, allocations: 0 / 448.7 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.1057, allocations: 7.922 kB / 448.7 MB, free: 5.648 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1057, allocations: 0 / 448.7 MB, free: 5.648 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1058, allocations: 7.938 kB / 448.7 MB, free: 5.641 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.1074, allocations: 1.393 MB / 450.1 MB, free: 4.113 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.533e-05/0.1075, allocations: 104.8 kB / 450.2 MB, free: 3.992 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.1076, allocations: 4 kB / 450.2 MB, free: 3.988 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.497e-05/0.1077, allocations: 0 / 450.2 MB, free: 3.988 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.1077, allocations: 15.92 kB / 450.3 MB, free: 3.973 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.1077, allocations: 8 kB / 450.3 MB, free: 3.965 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001696/0.1079, allocations: 194 kB / 450.5 MB, free: 3.773 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1079, allocations: 0 / 450.5 MB, free: 3.773 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000307/0.1082, allocations: 64 kB / 450.5 MB, free: 3.711 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (HE.Tho,HE.Tco) * 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 (8): * Single equations (assignments): 8 * 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.0001091/0.1083, allocations: 91.25 kB / 450.6 MB, free: 3.613 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001668/0.1085, allocations: 71.92 kB / 450.7 MB, free: 3.543 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1085, allocations: 0 / 450.7 MB, free: 3.543 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.576e-05/0.1086, allocations: 40.11 kB / 450.7 MB, free: 3.504 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.1089, allocations: 44.8 kB / 450.8 MB, free: 3.461 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009201/0.1099, allocations: 0.6653 MB / 451.4 MB, free: 2.754 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.1102, allocations: 0.7365 MB / 452.2 MB, free: 1.992 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001349/0.1103, allocations: 34.2 kB / 452.2 MB, free: 1.957 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.064e-05/0.1104, allocations: 23.44 kB / 452.2 MB, free: 1.934 MB / 314.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1104, allocations: 0 / 452.2 MB, free: 1.934 MB / 314.7 MB Notification: Performance of Templates: time 0.004941/0.1153, allocations: 2.447 MB / 454.7 MB, free: 15.48 MB / 330.7 MB make -j1 -f AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.makefile (rm -f AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe >> ../files/AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.sim & ./AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe 2>&1)