Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessBlocks.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 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.SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.SOPDT_overdamped") translateModel(AES.ProcessBlocks.SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.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.1069/0.1069, allocations: 21.46 MB / 36.42 MB, free: 1.148 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.001005/0.001005, allocations: 186.5 kB / 42.65 MB, free: 3.996 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.557/1.557, allocations: 205.4 MB / 254.1 MB, free: 15.22 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.0007373/0.0007374, allocations: 84.75 kB / 307.8 MB, free: 11.08 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003391/0.0003391, allocations: 9.469 kB / 371.2 MB, free: 60.14 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09141/0.09177, allocations: 52.95 MB / 424.2 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.001351/0.09318, allocations: 1.178 MB / 425.4 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006795/0.09387, allocations: 0.5006 MB / 425.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.084e-05/0.09395, allocations: 0 / 425.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.0942, allocations: 27.86 kB / 425.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.09431, allocations: 27.84 kB / 425.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.09447, allocations: 35.94 kB / 426 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.0946, allocations: 95.8 kB / 426.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.553e-05/0.0947, allocations: 19.97 kB / 426.1 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.221e-05/0.09478, allocations: 55.7 kB / 426.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.09489, allocations: 63.8 kB / 426.2 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.09492, allocations: 4 kB / 426.2 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.47e-05/0.09494, allocations: 0 / 426.2 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.205e-05/0.095, allocations: 27.91 kB / 426.2 MB, free: 13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.262e-05/0.09503, allocations: 33.7 kB / 426.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.393e-05/0.09511, allocations: 63.88 kB / 426.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.09512, allocations: 0 / 426.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.09513, allocations: 0 / 426.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.09514, allocations: 0 / 426.3 MB, free: 12.9 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008394/0.09599, allocations: 434.8 kB / 426.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.09603, allocations: 8.031 kB / 426.7 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.09608, allocations: 11.91 kB / 426.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.09647, allocations: 226.8 kB / 427 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-06/0.09649, allocations: 12 kB / 427 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.09652, allocations: 0 / 427 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.09667, allocations: 77.59 kB / 427.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.09668, allocations: 0 / 427.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.0967, allocations: 4 kB / 427.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.09671, allocations: 0 / 427.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.035e-05/0.09681, allocations: 51.95 kB / 427.1 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005166/0.09733, allocations: 372.6 kB / 427.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.09746, allocations: 78.56 kB / 427.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.339e-05/0.09751, allocations: 32.97 kB / 427.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.09754, allocations: 0 / 427.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.09756, allocations: 30.56 kB / 427.6 MB, free: 11.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.09756, allocations: 0 / 427.6 MB, free: 11.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.000261/0.09783, allocations: 129.5 kB / 427.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.09786, allocations: 55.34 kB / 427.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/0.09817, allocations: 194.3 kB / 428 MB, free: 11.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.09819, allocations: 25.7 kB / 428 MB, free: 10.99 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.418e-05/0.09824, allocations: 108 kB / 428.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.09826, allocations: 23.66 kB / 428.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.09827, allocations: 0 / 428.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.498e-05/0.09833, allocations: 330.8 kB / 428.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.27e-05/0.09838, allocations: 23.98 kB / 428.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.929e-05/0.09843, allocations: 27.98 kB / 428.5 MB, free: 10.47 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.478e-05/0.09849, allocations: 39.97 kB / 428.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.0985, allocations: 0 / 428.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001361/0.09864, allocations: 105.6 kB / 428.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.09866, allocations: 4 kB / 428.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.09867, allocations: 0 / 428.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.09869, allocations: 0 / 428.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.09889, allocations: 35.91 kB / 428.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.09891, allocations: 0 / 428.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.09905, allocations: 19.89 kB / 428.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.09906, allocations: 4 kB / 428.7 MB, free: 10.26 MB / 298.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 (8): * Single equations (assignments): 8 * 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 6.864e-05/0.09913, allocations: 121.8 kB / 428.8 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.09917, allocations: 7.906 kB / 428.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.782e-05/0.09921, allocations: 16.72 kB / 428.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.09922, allocations: 0 / 428.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.09923, allocations: 4 kB / 428.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.09924, allocations: 4 kB / 428.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.0994, allocations: 205.5 kB / 429.1 MB, free: 9.855 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.09941, allocations: 3.984 kB / 429.1 MB, free: 9.852 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.522e-05/0.09951, allocations: 15.98 kB / 429.1 MB, free: 9.836 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.09952, allocations: 0 / 429.1 MB, free: 9.836 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.09954, allocations: 4.188 kB / 429.1 MB, free: 9.832 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.09955, allocations: 4 kB / 429.1 MB, free: 9.828 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.09955, allocations: 0 / 429.1 MB, free: 9.828 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.0998, allocations: 239.3 kB / 429.3 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.215e-05/0.09985, allocations: 92.94 kB / 429.4 MB, free: 9.469 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.09987, allocations: 4 kB / 429.4 MB, free: 9.465 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.1, allocations: 11.98 kB / 429.4 MB, free: 9.453 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/0.1001, allocations: 7.984 kB / 429.5 MB, free: 9.445 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.1001, allocations: 0 / 429.5 MB, free: 9.445 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002285/0.1003, allocations: 151.3 kB / 429.6 MB, free: 9.297 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1003, allocations: 0 / 429.6 MB, free: 9.297 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002088/0.1005, allocations: 12 kB / 429.6 MB, free: 9.285 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Pr.x_scaled[1],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 (6): * Single equations (assignments): 6 * 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.668e-05/0.1006, allocations: 99.02 kB / 429.7 MB, free: 9.176 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.1008, allocations: 71.91 kB / 429.8 MB, free: 9.105 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1008, allocations: 0 / 429.8 MB, free: 9.105 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.335e-05/0.1008, allocations: 31.92 kB / 429.8 MB, free: 9.074 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.1011, allocations: 22.81 kB / 429.8 MB, free: 9.055 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004598/0.1016, allocations: 265.3 kB / 430.1 MB, free: 8.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.1017, allocations: 0.716 MB / 430.8 MB, free: 8.027 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.534e-05/0.1018, allocations: 16.42 kB / 430.8 MB, free: 8.012 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.925e-05/0.1018, allocations: 11.44 kB / 430.8 MB, free: 8 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1018, allocations: 0 / 430.8 MB, free: 8 MB / 298.7 MB Notification: Performance of Templates: time 0.00274/0.1046, allocations: 0.8989 MB / 431.7 MB, free: 7.102 MB / 298.7 MB make -j1 -f AES_AES.ProcessBlocks.SOPDT_overdamped.makefile (rm -f AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; mkfifo AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.SOPDT_overdamped.pipe >> ../files/AES_AES.ProcessBlocks.SOPDT_overdamped.sim & ./AES_AES.ProcessBlocks.SOPDT_overdamped -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessBlocks.SOPDT_overdamped.pipe 2>&1)