Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.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_analogue_TITOdecoupler_zeroInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit") translateModel(AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit") [/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.1035/0.1035, allocations: 21.44 MB / 36.39 MB, free: 1.184 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.001001/0.001001, allocations: 184.2 kB / 42.62 MB, free: 3.988 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.708/1.708, allocations: 205.4 MB / 254.1 MB, free: 15.49 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.001111/0.001111, allocations: 101.3 kB / 307.8 MB, free: 11.31 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004939/0.0004939, allocations: 8.281 kB / 371.2 MB, free: 60.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1412, allocations: 52.95 MB / 424.2 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3963/0.5376, allocations: 79.3 MB / 0.4917 GB, free: 77.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/0.538, allocations: 74.73 kB / 0.4917 GB, free: 77.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04723/0.5852, allocations: 13.44 MB / 0.5049 GB, free: 73.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.5853, allocations: 0 / 0.5049 GB, free: 73.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.474e-05/0.5854, allocations: 32.38 kB / 0.5049 GB, free: 73.81 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.003777/0.5892, allocations: 1.328 MB / 0.5062 GB, free: 72.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/0.5892, allocations: 7.875 kB / 0.5062 GB, free: 72.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/0.5895, allocations: 91.41 kB / 0.5063 GB, free: 72.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002783/0.5922, allocations: 1.066 MB / 0.5073 GB, free: 72.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.5923, allocations: 27.75 kB / 0.5073 GB, free: 72.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.547e-05/0.5924, allocations: 42.55 kB / 0.5074 GB, free: 72.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006994/0.5931, allocations: 403.8 kB / 0.5078 GB, free: 71.99 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.5931, allocations: 0 / 0.5078 GB, free: 71.99 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/0.5932, allocations: 15.88 kB / 0.5078 GB, free: 71.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.5932, allocations: 7.438 kB / 0.5078 GB, free: 71.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006857/0.5939, allocations: 485.9 kB / 0.5083 GB, free: 71.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002565/0.5964, allocations: 1.488 MB / 0.5097 GB, free: 69.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008878/0.5973, allocations: 0.6421 MB / 0.5103 GB, free: 69.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.502e-05/0.5974, allocations: 7.938 kB / 0.5103 GB, free: 69.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.5974, allocations: 46.52 kB / 0.5104 GB, free: 69.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.334e-06/0.5974, allocations: 4 kB / 0.5104 GB, free: 69.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.001848/0.5993, allocations: 0.9481 MB / 0.5113 GB, free: 68.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.5993, allocations: 55.41 kB / 0.5114 GB, free: 68.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002133/0.6015, allocations: 0.9841 MB / 0.5123 GB, free: 67.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.121e-05/0.6015, allocations: 41.64 kB / 0.5124 GB, free: 67.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.6018, allocations: 344.7 kB / 0.5127 GB, free: 66.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.602, allocations: 160.9 kB / 0.5129 GB, free: 66.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.493e-05/0.602, allocations: 8 kB / 0.5129 GB, free: 66.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.6021, allocations: 333.9 kB / 0.5132 GB, free: 66.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.6024, allocations: 216.9 kB / 0.5134 GB, free: 66.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002948/0.6028, allocations: 228.4 kB / 0.5136 GB, free: 65.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.6031, allocations: 257.7 kB / 0.5139 GB, free: 65.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.6031, allocations: 0 / 0.5139 GB, free: 65.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008124/0.604, allocations: 0.6434 MB / 0.5145 GB, free: 65.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.604, allocations: 4 kB / 0.5145 GB, free: 65.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.604, allocations: 4 kB / 0.5145 GB, free: 65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/0.604, allocations: 4 kB / 0.5145 GB, free: 65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000789/0.6048, allocations: 147.8 kB / 0.5146 GB, free: 64.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.6048, allocations: 4 kB / 0.5146 GB, free: 64.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008111/0.6057, allocations: 147.5 kB / 0.5148 GB, free: 64.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.6057, allocations: 12 kB / 0.5148 GB, free: 64.7 MB / 362.7 MB Warning: Assuming fixed start value for the following 2 variables: D.Fcs1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] D.Fcs2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (55): * Single equations (assignments): 55 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003581/0.6061, allocations: 271 kB / 0.515 GB, free: 64.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.6062, allocations: 75.06 kB / 0.5151 GB, free: 64.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001862/0.6064, allocations: 103.9 kB / 0.5152 GB, free: 64.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.6064, allocations: 4 kB / 0.5152 GB, free: 64.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/0.6064, allocations: 0 / 0.5152 GB, free: 64.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-06/0.6064, allocations: 3.984 kB / 0.5152 GB, free: 64.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006728/0.6071, allocations: 0.7141 MB / 0.5159 GB, free: 63.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.6071, allocations: 0 / 0.5159 GB, free: 63.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004011/0.6075, allocations: 63.91 kB / 0.516 GB, free: 63.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002749/0.6078, allocations: 72.8 kB / 0.5161 GB, free: 63.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.425e-05/0.6079, allocations: 16 kB / 0.5161 GB, free: 63.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/0.6091, allocations: 1.622 MB / 0.5177 GB, free: 61.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.6092, allocations: 0 / 0.5177 GB, free: 61.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.6104, allocations: 1.032 MB / 0.5187 GB, free: 60.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001884/0.6106, allocations: 176 kB / 0.5188 GB, free: 60.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.08e-05/0.6107, allocations: 15.95 kB / 0.5188 GB, free: 60.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008488/0.6116, allocations: 127.8 kB / 0.519 GB, free: 60.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.965e-05/0.6117, allocations: 31.95 kB / 0.519 GB, free: 60.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.6117, allocations: 12 kB / 0.519 GB, free: 60.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001945/0.6137, allocations: 0.8267 MB / 0.5198 GB, free: 59.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6137, allocations: 0 / 0.5198 GB, free: 59.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005291/0.6142, allocations: 120.1 kB / 0.5199 GB, free: 59.21 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (Pdec.P11.x_scaled[1],Pdec.P12.x_scaled[1],Pdec.P21.x_scaled[1],Pdec.P22.x_scaled[1],D.D12.x_scaled[1],D.D21.x_scaled[1],D.Fcs2.x_scaled[1],D.Fcs1.x_scaled[1],P.P11.x_scaled[1],P.P12.x_scaled[1],P.P21.x_scaled[1],P.P22.x_scaled[1]) * 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 (38): * Single equations (assignments): 37 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002275/0.6145, allocations: 123 kB / 0.52 GB, free: 59.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007901/0.6153, allocations: 0.5108 MB / 0.5205 GB, free: 58.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6153, allocations: 0 / 0.5205 GB, free: 58.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005909/0.6159, allocations: 398.9 kB / 0.5209 GB, free: 58.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005489/0.6164, allocations: 111.2 kB / 0.521 GB, free: 58.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.6189, allocations: 1.782 MB / 0.5228 GB, free: 56.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004726/0.6194, allocations: 1.05 MB / 0.5238 GB, free: 55.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004019/0.6198, allocations: 153.2 kB / 0.5239 GB, free: 55.01 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.62, allocations: 47.44 kB / 0.524 GB, free: 54.96 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.62, allocations: 0 / 0.524 GB, free: 54.96 MB / 362.7 MB Notification: Performance of Templates: time 0.0119/0.6319, allocations: 6.757 MB / 0.5306 GB, free: 48.21 MB / 362.7 MB make -j1 -f AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.makefile (rm -f AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.pipe ; mkfifo AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.pipe >> ../files/AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.sim & ./AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.pipe 2>&1)