Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SOPDT_overdamped.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_SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_SOPDT_overdamped") translateModel(AES.Devel_test_models.Test_SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_SOPDT_overdamped") [/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.09615/0.09615, allocations: 21.61 MB / 36.55 MB, free: 1.094 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.001051/0.001051, allocations: 183.2 kB / 42.82 MB, free: 3.84 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.261/1.261, allocations: 223.2 MB / 272.1 MB, free: 1.426 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.0008828/0.0008828, allocations: 99.05 kB / 328.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002784/0.0002785, allocations: 12 kB / 395 MB, free: 48.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07911/0.0794, allocations: 55.83 MB / 450.8 MB, free: 8.672 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.294/0.3734, allocations: 79.27 MB / 0.5177 GB, free: 11.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.3737, allocations: 67.45 kB / 0.5178 GB, free: 11.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01103/0.3847, allocations: 4.289 MB / 0.522 GB, free: 11.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3848, allocations: 4 kB / 0.522 GB, free: 11.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.3848, allocations: 3.906 kB / 0.522 GB, free: 11.11 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007982/0.3856, allocations: 0.5431 MB / 0.5225 GB, free: 10.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.3856, allocations: 11.41 kB / 0.5225 GB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.3857, allocations: 19.44 kB / 0.5225 GB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005605/0.3862, allocations: 337.1 kB / 0.5228 GB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.3863, allocations: 7.031 kB / 0.5228 GB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.3863, allocations: 14.84 kB / 0.5229 GB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.3865, allocations: 137.6 kB / 0.523 GB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3865, allocations: 3.984 kB / 0.523 GB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.3866, allocations: 11.5 kB / 0.523 GB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3866, allocations: 3.953 kB / 0.523 GB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.3868, allocations: 124.5 kB / 0.5231 GB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007776/0.3876, allocations: 0.5813 MB / 0.5237 GB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.3878, allocations: 149.8 kB / 0.5238 GB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.3878, allocations: 7.906 kB / 0.5238 GB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.3878, allocations: 34.41 kB / 0.5239 GB, free: 10.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.3878, allocations: 0 / 0.5239 GB, free: 10.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.000396/0.3882, allocations: 261.2 kB / 0.5241 GB, free: 9.996 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/0.3883, allocations: 51.41 kB / 0.5242 GB, free: 9.934 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004518/0.3887, allocations: 277.5 kB / 0.5244 GB, free: 9.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.3887, allocations: 25.7 kB / 0.5245 GB, free: 9.809 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.3888, allocations: 127.6 kB / 0.5246 GB, free: 9.723 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.3888, allocations: 50.73 kB / 0.5246 GB, free: 9.691 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-06/0.3888, allocations: 7.875 kB / 0.5246 GB, free: 9.684 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.019e-05/0.3889, allocations: 330.5 kB / 0.525 GB, free: 9.371 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.389, allocations: 74.94 kB / 0.525 GB, free: 9.371 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.627e-05/0.3891, allocations: 79.16 kB / 0.5251 GB, free: 9.367 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.3892, allocations: 89.78 kB / 0.5252 GB, free: 9.363 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3892, allocations: 0 / 0.5252 GB, free: 9.363 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002701/0.3895, allocations: 224.7 kB / 0.5254 GB, free: 9.316 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.3895, allocations: 3.844 kB / 0.5254 GB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.3895, allocations: 3.844 kB / 0.5254 GB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.3896, allocations: 0 / 0.5254 GB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.3899, allocations: 50.58 kB / 0.5255 GB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.3899, allocations: 2.484 kB / 0.5255 GB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.3901, allocations: 37.02 kB / 0.5255 GB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.3901, allocations: 3.844 kB / 0.5255 GB, free: 9.309 MB / 362.7 MB 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 (17): * Single equations (assignments): 17 * 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 9.256e-05/0.3902, allocations: 140.5 kB / 0.5256 GB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.3903, allocations: 23.36 kB / 0.5257 GB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.691e-05/0.3903, allocations: 26.94 kB / 0.5257 GB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3904, allocations: 3.281 kB / 0.5257 GB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3904, allocations: 0 / 0.5257 GB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3904, allocations: 4 kB / 0.5257 GB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.3906, allocations: 305.9 kB / 0.526 GB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3906, allocations: 0 / 0.526 GB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.3908, allocations: 33.25 kB / 0.526 GB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3908, allocations: 3.953 kB / 0.526 GB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.3909, allocations: 10.86 kB / 0.526 GB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3909, allocations: 0 / 0.526 GB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3909, allocations: 0 / 0.526 GB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003939/0.3913, allocations: 391.1 kB / 0.5264 GB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/0.3913, allocations: 94.91 kB / 0.5265 GB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.3914, allocations: 10.73 kB / 0.5265 GB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.3916, allocations: 30.22 kB / 0.5265 GB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.3917, allocations: 13.77 kB / 0.5265 GB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.3917, allocations: 3.094 kB / 0.5265 GB, free: 8.711 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003883/0.3921, allocations: 237.2 kB / 0.5268 GB, free: 8.629 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3921, allocations: 0 / 0.5268 GB, free: 8.629 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002358/0.3923, allocations: 35.94 kB / 0.5268 GB, free: 8.625 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P1.Pr.x_scaled[1],P1.Pr.x_scaled[2],P2.Pr.x_scaled[1],P2.Pr.x_scaled[2]) * 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 (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 9.567e-05/0.3924, allocations: 100.4 kB / 0.5269 GB, free: 8.535 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002577/0.3927, allocations: 178.9 kB / 0.5271 GB, free: 8.523 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3927, allocations: 7.938 kB / 0.5271 GB, free: 8.516 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.3928, allocations: 76.66 kB / 0.5272 GB, free: 8.516 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.393, allocations: 30.67 kB / 0.5272 GB, free: 8.508 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006/0.3936, allocations: 484 kB / 0.5276 GB, free: 8.262 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/0.3938, allocations: 0.7547 MB / 0.5284 GB, free: 7.562 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.3939, allocations: 41.45 kB / 0.5284 GB, free: 7.555 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.155e-05/0.394, allocations: 18.97 kB / 0.5284 GB, free: 7.547 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.394, allocations: 0 / 0.5284 GB, free: 7.547 MB / 362.7 MB Notification: Performance of Templates: time 0.003425/0.3974, allocations: 1.887 MB / 0.5303 GB, free: 6.672 MB / 362.7 MB make -j1 -f AES_AES.Devel_test_models.Test_SOPDT_overdamped.makefile (rm -f AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe ; mkfifo AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe >> ../files/AES_AES.Devel_test_models.Test_SOPDT_overdamped.sim & ./AES_AES.Devel_test_models.Test_SOPDT_overdamped -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe 2>&1)