Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_004.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 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.Devel_test_models.Test_liquid_circuit_004,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_004") translateModel(AES.Devel_test_models.Test_liquid_circuit_004,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_004") [/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.09469/0.09469, allocations: 21.61 MB / 36.56 MB, free: 1.09 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009761/0.0009761, allocations: 183.1 kB / 42.82 MB, free: 3.789 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 223.2 MB / 272.1 MB, free: 1.793 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 103.2 kB / 328.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003477, allocations: 15.92 kB / 397 MB, free: 46.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07671/0.07708, allocations: 55.81 MB / 452.9 MB, free: 6.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2794/0.3565, allocations: 82.92 MB / 0.5232 GB, free: 12.85 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001881/0.3567, allocations: 67.72 kB / 0.5233 GB, free: 12.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04158/0.3983, allocations: 19.37 MB / 0.5422 GB, free: 6.012 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3984, allocations: 7.812 kB / 0.5422 GB, free: 6.008 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.986e-05/0.3984, allocations: 27.31 kB / 0.5422 GB, free: 6 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.002935/0.4014, allocations: 1.545 MB / 0.5437 GB, free: 5.074 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.4014, allocations: 7.625 kB / 0.5438 GB, free: 5.074 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002156/0.4016, allocations: 131.2 kB / 0.5439 GB, free: 5.012 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.4031, allocations: 0.8933 MB / 0.5447 GB, free: 4.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.045e-05/0.4031, allocations: 74.78 kB / 0.5448 GB, free: 4.566 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/0.4033, allocations: 122.4 kB / 0.5449 GB, free: 4.555 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002107/0.4054, allocations: 1.591 MB / 0.5465 GB, free: 4.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.4055, allocations: 3.953 kB / 0.5465 GB, free: 4.066 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/0.4056, allocations: 44.06 kB / 0.5465 GB, free: 4.066 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.4056, allocations: 26.97 kB / 0.5466 GB, free: 4.062 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.4073, allocations: 1.266 MB / 0.5478 GB, free: 3.883 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007565/0.4149, allocations: 6.232 MB / 0.5539 GB, free: 15.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00406/0.419, allocations: 1.784 MB / 0.5556 GB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-05/0.4191, allocations: 16.03 kB / 0.5556 GB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.4191, allocations: 43.88 kB / 0.5557 GB, free: 14.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=95): time 3.096e-06/0.4191, allocations: 3.938 kB / 0.5557 GB, free: 14.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=98): time 0.008704/0.4278, allocations: 5.199 MB / 0.5608 GB, free: 9.988 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.4279, allocations: 68.34 kB / 0.5608 GB, free: 9.906 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006062/0.4285, allocations: 0.4926 MB / 0.5613 GB, free: 9.527 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.619e-05/0.4286, allocations: 43.02 kB / 0.5614 GB, free: 9.492 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/0.4288, allocations: 425 kB / 0.5618 GB, free: 9.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003234/0.4292, allocations: 393.6 kB / 0.5621 GB, free: 8.855 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.632e-05/0.4293, allocations: 25.69 kB / 0.5622 GB, free: 8.848 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.4294, allocations: 400.1 kB / 0.5625 GB, free: 8.484 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.4305, allocations: 0.7276 MB / 0.5632 GB, free: 8.051 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/0.4317, allocations: 0.8665 MB / 0.5641 GB, free: 7.316 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01008/0.4418, allocations: 3.056 MB / 0.5671 GB, free: 4.227 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.4419, allocations: 0 / 0.5671 GB, free: 4.227 MB / 378.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004084/0.446, allocations: 2.187 MB / 0.5692 GB, free: 2.004 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002685/0.4462, allocations: 0.795 MB / 0.57 GB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.4463, allocations: 7.938 kB / 0.57 GB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/0.4476, allocations: 416.2 kB / 0.5704 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/0.4494, allocations: 379.6 kB / 0.5708 GB, free: 340 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009975/0.4594, allocations: 14.81 MB / 0.5852 GB, free: 144 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.4607, allocations: 75.77 kB / 0.5853 GB, free: 68 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/0.4608, allocations: 43.98 kB / 0.5853 GB, free: 24 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.4608, allocations: 4 kB / 0.5853 GB, free: 20 kB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004056/0.4649, allocations: 2.082 MB / 0.5874 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.4649, allocations: 0 / 0.5874 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001402/0.4663, allocations: 420.3 kB / 0.5878 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/0.4681, allocations: 371.6 kB / 0.5881 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/0.4787, allocations: 14.81 MB / 0.6026 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.4799, allocations: 75.83 kB / 0.6027 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.48, allocations: 40 kB / 0.6027 GB, free: 12.78 MB / 426.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: $DER.tubeH.fluidStream.w = 0.0 $DER.tubeC.fluidStream.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (140): * Single equations (assignments): 130 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007714/0.4808, allocations: 466.3 kB / 0.6031 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.4809, allocations: 83.05 kB / 0.6032 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003217/0.4842, allocations: 1.817 MB / 0.605 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.4842, allocations: 12 kB / 0.605 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.4842, allocations: 4 kB / 0.605 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.4842, allocations: 3.984 kB / 0.605 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005798/0.49, allocations: 3.634 MB / 0.6086 GB, free: 6.652 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.49, allocations: 0 / 0.6086 GB, free: 6.652 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001995/0.492, allocations: 355.7 kB / 0.6089 GB, free: 6.305 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000932/0.493, allocations: 348.1 kB / 0.6092 GB, free: 5.938 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001352/0.4931, allocations: 59.97 kB / 0.6093 GB, free: 5.879 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008969/0.5021, allocations: 13.93 MB / 0.6229 GB, free: 6.621 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.5021, allocations: 4 kB / 0.6229 GB, free: 6.617 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003976/0.5061, allocations: 2.521 MB / 0.6254 GB, free: 4.023 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002314/0.5064, allocations: 164.1 kB / 0.6255 GB, free: 3.844 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/0.5065, allocations: 59.97 kB / 0.6256 GB, free: 3.785 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000721/0.5073, allocations: 59.83 kB / 0.6256 GB, free: 3.727 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002131/0.5075, allocations: 92.77 kB / 0.6257 GB, free: 3.637 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.079e-05/0.5076, allocations: 31.98 kB / 0.6257 GB, free: 3.605 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005008/0.5081, allocations: 390.8 kB / 0.6261 GB, free: 3.223 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5081, allocations: 4 kB / 0.6261 GB, free: 3.219 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001801/0.5099, allocations: 0.6484 MB / 0.6268 GB, free: 2.57 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 40 (tubeH.fluidStream.T[1],tubeH.fluidStream.T[2],tubeH.fluidStream.T[3],tubeH.fluidStream.T[4],tubeH.fluidStream.T[5],tubeH.wall.wall.T[1,1],tubeH.wall.wall.T[1,2],tubeH.wall.wall.T[1,3],tubeH.wall.wall.T[2,1],tubeH.wall.wall.T[2,2],tubeH.wall.wall.T[2,3],tubeH.wall.wall.T[3,1],tubeH.wall.wall.T[3,2],tubeH.wall.wall.T[3,3],tubeH.wall.wall.T[4,1],tubeH.wall.wall.T[4,2],tubeH.wall.wall.T[4,3],tubeH.wall.wall.T[5,1],tubeH.wall.wall.T[5,2],tubeH.wall.wall.T[5,3],tubeC.fluidStream.T[1],tubeC.fluidStream.T[2],tubeC.fluidStream.T[3],tubeC.fluidStream.T[4],tubeC.fluidStream.T[5],tubeC.wall.wall.T[1,1],tubeC.wall.wall.T[1,2],tubeC.wall.wall.T[1,3],tubeC.wall.wall.T[2,1],tubeC.wall.wall.T[2,2],tubeC.wall.wall.T[2,3],tubeC.wall.wall.T[3,1],tubeC.wall.wall.T[3,2],tubeC.wall.wall.T[3,3],tubeC.wall.wall.T[4,1],tubeC.wall.wall.T[4,2],tubeC.wall.wall.T[4,3],tubeC.wall.wall.T[5,1],tubeC.wall.wall.T[5,2],tubeC.wall.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 (90): * Single equations (assignments): 80 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(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.0002602/0.5102, allocations: 173.4 kB / 0.6269 GB, free: 2.391 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006142/0.5163, allocations: 4.89 MB / 0.6317 GB, free: 13.24 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.5164, allocations: 0 / 0.6317 GB, free: 13.24 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00233/0.5187, allocations: 1.876 MB / 0.6335 GB, free: 11.23 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.5199, allocations: 262.1 kB / 0.6338 GB, free: 10.98 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.53, allocations: 6.527 MB / 0.6402 GB, free: 4.43 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008827/0.5309, allocations: 1.237 MB / 0.6414 GB, free: 3.16 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001564/0.5324, allocations: 0.5569 MB / 0.6419 GB, free: 2.598 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000336/0.5328, allocations: 75.36 kB / 0.642 GB, free: 2.523 MB / 458.7 MB Notification: Performance of SimCode: time 1.222e-06/0.5328, allocations: 0 / 0.642 GB, free: 2.523 MB / 458.7 MB Notification: Performance of Templates: time 0.03135/0.5641, allocations: 21.89 MB / 0.6634 GB, free: 12.87 MB / 490.7 MB make -j1 -f AES_AES.Devel_test_models.Test_liquid_circuit_004.makefile (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_004.sim & ./AES_AES.Devel_test_models.Test_liquid_circuit_004 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe 2>&1)