Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessBlocks.TITO_rational_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 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.ProcessBlocks.TITO_rational_zeroInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.TITO_rational_zeroInit") translateModel(AES.ProcessBlocks.TITO_rational_zeroInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.TITO_rational_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.09241/0.09241, allocations: 21.61 MB / 36.56 MB, free: 1.098 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.0009654/0.0009654, allocations: 194.1 kB / 42.83 MB, free: 3.777 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.209/1.209, allocations: 223.2 MB / 272.1 MB, free: 1.383 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.0008238/0.0008238, allocations: 112.2 kB / 328.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002975/0.0002977, allocations: 15.98 kB / 395 MB, free: 48.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07448/0.07479, allocations: 55.82 MB / 450.8 MB, free: 8.664 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2599/0.3347, allocations: 79.22 MB / 0.5176 GB, free: 11.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001601/0.3349, allocations: 66.27 kB / 0.5177 GB, free: 11.72 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01245/0.3474, allocations: 4.511 MB / 0.5221 GB, free: 11.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3474, allocations: 0 / 0.5221 GB, free: 11.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.3474, allocations: 7.875 kB / 0.5221 GB, free: 11.18 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009968/0.3484, allocations: 0.6374 MB / 0.5227 GB, free: 10.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.81e-05/0.3484, allocations: 11.69 kB / 0.5227 GB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.3485, allocations: 30.62 kB / 0.5228 GB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007299/0.3492, allocations: 402.3 kB / 0.5232 GB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.3493, allocations: 11.09 kB / 0.5232 GB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.3493, allocations: 19 kB / 0.5232 GB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.3495, allocations: 128.8 kB / 0.5233 GB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.3495, allocations: 0 / 0.5233 GB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.3495, allocations: 7.094 kB / 0.5233 GB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3495, allocations: 3.953 kB / 0.5233 GB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002014/0.3497, allocations: 147.5 kB / 0.5235 GB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007558/0.3505, allocations: 0.5626 MB / 0.524 GB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000463/0.351, allocations: 213.9 kB / 0.5242 GB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.351, allocations: 3.984 kB / 0.5242 GB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.087e-05/0.351, allocations: 30.56 kB / 0.5242 GB, free: 10.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.351, allocations: 0 / 0.5242 GB, free: 10.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003369/0.3513, allocations: 242.6 kB / 0.5245 GB, free: 10.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.505e-05/0.3514, allocations: 55.41 kB / 0.5245 GB, free: 9.961 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006738/0.352, allocations: 401.7 kB / 0.5249 GB, free: 9.855 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.3521, allocations: 29.52 kB / 0.5249 GB, free: 9.824 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.3521, allocations: 158.4 kB / 0.5251 GB, free: 9.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.3522, allocations: 51.8 kB / 0.5251 GB, free: 9.695 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.216e-06/0.3522, allocations: 3.875 kB / 0.5251 GB, free: 9.695 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.135e-05/0.3522, allocations: 341 kB / 0.5255 GB, free: 9.383 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.122e-05/0.3523, allocations: 56.62 kB / 0.5255 GB, free: 9.383 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.556e-05/0.3524, allocations: 84.42 kB / 0.5256 GB, free: 9.363 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.132e-05/0.3525, allocations: 76.36 kB / 0.5257 GB, free: 9.355 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3525, allocations: 3.953 kB / 0.5257 GB, free: 9.352 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000232/0.3528, allocations: 207.4 kB / 0.5259 GB, free: 9.301 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.3528, allocations: 6.344 kB / 0.5259 GB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.3528, allocations: 3.969 kB / 0.5259 GB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3528, allocations: 0 / 0.5259 GB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002603/0.3531, allocations: 51.11 kB / 0.5259 GB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.3531, allocations: 0 / 0.5259 GB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/0.3534, allocations: 64.59 kB / 0.526 GB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.3534, allocations: 3.938 kB / 0.526 GB, free: 9.273 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 18 * 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 8.015e-05/0.3535, allocations: 143 kB / 0.5261 GB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.244e-05/0.3535, allocations: 31.98 kB / 0.5262 GB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.891e-05/0.3536, allocations: 36.52 kB / 0.5262 GB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3536, allocations: 3.812 kB / 0.5262 GB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.3536, allocations: 4 kB / 0.5262 GB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.3536, allocations: 0 / 0.5262 GB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.3538, allocations: 293.6 kB / 0.5265 GB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3539, allocations: 0 / 0.5265 GB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.354, allocations: 35.16 kB / 0.5265 GB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.354, allocations: 0 / 0.5265 GB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.3541, allocations: 6.094 kB / 0.5265 GB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3541, allocations: 0 / 0.5265 GB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.3541, allocations: 0 / 0.5265 GB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/0.3544, allocations: 375.9 kB / 0.5269 GB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.784e-05/0.3545, allocations: 108.4 kB / 0.527 GB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.3545, allocations: 7.641 kB / 0.527 GB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003268/0.3548, allocations: 43.09 kB / 0.527 GB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.3549, allocations: 11.83 kB / 0.5271 GB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.3549, allocations: 11.72 kB / 0.5271 GB, free: 8.535 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005807/0.3555, allocations: 335.3 kB / 0.5274 GB, free: 8.387 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3555, allocations: 4 kB / 0.5274 GB, free: 8.383 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002345/0.3557, allocations: 37.12 kB / 0.5274 GB, free: 8.379 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P11.x_scaled[1],P12.x_scaled[1],P21.x_scaled[1],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 (14): * Single equations (assignments): 14 * 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 7.896e-05/0.3558, allocations: 113.1 kB / 0.5275 GB, free: 8.281 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.356, allocations: 142.5 kB / 0.5277 GB, free: 8.254 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.356, allocations: 0 / 0.5277 GB, free: 8.254 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.232e-05/0.3561, allocations: 75.48 kB / 0.5277 GB, free: 8.238 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.3563, allocations: 35.97 kB / 0.5278 GB, free: 8.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.3574, allocations: 0.6251 MB / 0.5284 GB, free: 7.848 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.3575, allocations: 0.7885 MB / 0.5292 GB, free: 7.102 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001177/0.3577, allocations: 45.17 kB / 0.5292 GB, free: 7.086 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.431e-05/0.3577, allocations: 19.03 kB / 0.5292 GB, free: 7.078 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3577, allocations: 0 / 0.5292 GB, free: 7.078 MB / 362.7 MB Notification: Performance of Templates: time 0.003746/0.3615, allocations: 2.19 MB / 0.5314 GB, free: 6.023 MB / 362.7 MB make -j1 -f AES_AES.ProcessBlocks.TITO_rational_zeroInit.makefile (rm -f AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe ; mkfifo AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe >> ../files/AES_AES.ProcessBlocks.TITO_rational_zeroInit.sim & ./AES_AES.ProcessBlocks.TITO_rational_zeroInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe 2>&1)