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 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.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.09205/0.09205, allocations: 21.6 MB / 37.4 MB, free: 0.7305 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.001043/0.001043, allocations: 180.5 kB / 43.63 MB, free: 3.57 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.281/1.281, allocations: 205.1 MB / 254.8 MB, free: 14.24 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.00097/0.0009701, allocations: 106.2 kB / 307.5 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009499/0.0009499, allocations: 52.22 kB / 370.3 MB, free: 60.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07649/0.07745, allocations: 51.97 MB / 422.2 MB, free: 16.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.TITO_rational_zeroInit): time 0.002028/0.07951, allocations: 1.183 MB / 423.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.08063, allocations: 1.327 MB / 424.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.068e-05/0.08072, allocations: 4 kB / 424.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.08105, allocations: 59.73 kB / 424.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.08123, allocations: 71.66 kB / 424.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.08143, allocations: 127.8 kB / 425 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.08171, allocations: 423.2 kB / 425.4 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.08183, allocations: 48.38 kB / 425.5 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.08196, allocations: 159.4 kB / 425.6 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.08214, allocations: 167.3 kB / 425.8 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.24e-05/0.08217, allocations: 8 kB / 425.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.53e-05/0.08221, allocations: 16 kB / 425.8 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.404e-05/0.0823, allocations: 91.7 kB / 425.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.645e-05/0.08237, allocations: 95.33 kB / 426 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.08252, allocations: 215.1 kB / 426.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.08253, allocations: 0 / 426.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.08254, allocations: 4 kB / 426.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.08254, allocations: 0 / 426.2 MB, free: 12.57 MB / 298.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.001356/0.0839, allocations: 0.7009 MB / 426.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.08394, allocations: 12.03 kB / 426.9 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.942e-05/0.084, allocations: 28.56 kB / 426.9 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007287/0.08473, allocations: 399.3 kB / 427.3 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.08475, allocations: 12.38 kB / 427.3 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.08478, allocations: 16.28 kB / 427.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.08498, allocations: 155.6 kB / 427.5 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.08499, allocations: 0 / 427.5 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.08501, allocations: 8 kB / 427.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.08502, allocations: 4 kB / 427.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.08524, allocations: 151.7 kB / 427.7 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007779/0.08602, allocations: 0.6411 MB / 428.3 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004906/0.08653, allocations: 225.2 kB / 428.5 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.122e-05/0.08662, allocations: 69.69 kB / 428.6 MB, free: 9.984 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.08664, allocations: 0 / 428.6 MB, free: 9.984 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.136e-05/0.08665, allocations: 34.56 kB / 428.6 MB, free: 9.941 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 9.01e-07/0.08666, allocations: 0 / 428.6 MB, free: 9.941 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.000357/0.08702, allocations: 245.4 kB / 428.9 MB, free: 9.695 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.106e-05/0.08705, allocations: 85.05 kB / 429 MB, free: 9.594 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006949/0.08775, allocations: 427.2 kB / 429.4 MB, free: 9.168 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.08777, allocations: 29.7 kB / 429.4 MB, free: 9.133 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.966e-05/0.08784, allocations: 163.8 kB / 429.6 MB, free: 8.969 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.08788, allocations: 59.19 kB / 429.6 MB, free: 8.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.784e-05/0.08793, allocations: 33.7 kB / 429.7 MB, free: 8.871 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.557e-05/0.08798, allocations: 338.8 kB / 430 MB, free: 8.531 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.798e-05/0.08806, allocations: 59.95 kB / 430 MB, free: 8.473 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.019e-05/0.08815, allocations: 77.67 kB / 430.1 MB, free: 8.391 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.08832, allocations: 153.6 kB / 430.3 MB, free: 8.234 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.08832, allocations: 4 kB / 430.3 MB, free: 8.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002272/0.08856, allocations: 213.1 kB / 430.5 MB, free: 8.016 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.08858, allocations: 4.219 kB / 430.5 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.08859, allocations: 4 kB / 430.5 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.0886, allocations: 3.938 kB / 430.5 MB, free: 8.004 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.08885, allocations: 51.91 kB / 430.5 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.08887, allocations: 7.938 kB / 430.6 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003134/0.08919, allocations: 55.88 kB / 430.6 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.08921, allocations: 4 kB / 430.6 MB, free: 7.887 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.69e-05/0.08929, allocations: 145.8 kB / 430.8 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.534e-05/0.08935, allocations: 23.62 kB / 430.8 MB, free: 7.711 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.423e-05/0.08942, allocations: 41.83 kB / 430.8 MB, free: 7.672 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.08943, allocations: 0 / 430.8 MB, free: 7.672 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.08944, allocations: 3.938 kB / 430.8 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.08944, allocations: 7.984 kB / 430.8 MB, free: 7.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.0897, allocations: 297.4 kB / 431.1 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.08971, allocations: 0 / 431.1 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.08986, allocations: 27.92 kB / 431.1 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.08987, allocations: 0 / 431.1 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.08989, allocations: 8 kB / 431.2 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.0899, allocations: 0 / 431.2 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.08991, allocations: 3.938 kB / 431.2 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.09114, allocations: 1.641 MB / 432.8 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/0.09121, allocations: 108.8 kB / 432.9 MB, free: 5.371 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.09124, allocations: 8 kB / 432.9 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/0.09159, allocations: 43.94 kB / 433 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.09163, allocations: 15.92 kB / 433 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.09165, allocations: 4 kB / 433 MB, free: 5.301 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005963/0.09225, allocations: 337.8 kB / 433.3 MB, free: 4.969 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09226, allocations: 0 / 433.3 MB, free: 4.969 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003098/0.09257, allocations: 47.91 kB / 433.4 MB, free: 4.922 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.418e-05/0.09264, allocations: 100 kB / 433.5 MB, free: 4.812 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002031/0.09285, allocations: 147.8 kB / 433.6 MB, free: 4.668 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.09286, allocations: 8 kB / 433.6 MB, free: 4.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.367e-05/0.09295, allocations: 72.05 kB / 433.7 MB, free: 4.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.09337, allocations: 45.25 kB / 433.7 MB, free: 4.543 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.09449, allocations: 0.8048 MB / 434.5 MB, free: 3.703 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.09466, allocations: 0.7794 MB / 435.3 MB, free: 2.898 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000106/0.09478, allocations: 59.25 kB / 435.4 MB, free: 2.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.142e-05/0.09485, allocations: 23.44 kB / 435.4 MB, free: 2.816 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.09486, allocations: 0 / 435.4 MB, free: 2.816 MB / 298.7 MB Notification: Performance of Templates: time 0.004232/0.0991, allocations: 2.592 MB / 438 MB, free: 228 kB / 298.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)