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 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.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.09091/0.09091, allocations: 21.61 MB / 36.56 MB, free: 1.043 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.0008857/0.0008857, allocations: 189.5 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.218/1.218, allocations: 223.2 MB / 272.1 MB, free: 1.438 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.0008598/0.0008598, allocations: 98.12 kB / 328.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002634/0.0002635, allocations: 12 kB / 395 MB, free: 48.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07412/0.0744, allocations: 55.83 MB / 450.8 MB, free: 8.664 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.263/0.3375, allocations: 79.07 MB / 0.5175 GB, free: 11.82 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001502/0.3377, allocations: 61.78 kB / 0.5176 GB, free: 11.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006034/0.3437, allocations: 2.407 MB / 0.5199 GB, free: 11.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3437, allocations: 3.938 kB / 0.5199 GB, free: 11.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.3437, allocations: 0 / 0.5199 GB, free: 11.4 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004768/0.3442, allocations: 434.4 kB / 0.5203 GB, free: 11.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.596e-05/0.3442, allocations: 15.53 kB / 0.5203 GB, free: 11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/0.3443, allocations: 7.781 kB / 0.5203 GB, free: 11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.3446, allocations: 232.2 kB / 0.5206 GB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/0.3446, allocations: 7.531 kB / 0.5206 GB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.3447, allocations: 5.016 kB / 0.5206 GB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.3448, allocations: 73.14 kB / 0.5206 GB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3448, allocations: 3.438 kB / 0.5206 GB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.3448, allocations: 4 kB / 0.5207 GB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.3448, allocations: 3.953 kB / 0.5207 GB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.221e-05/0.3449, allocations: 54.22 kB / 0.5207 GB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004457/0.3453, allocations: 371.2 kB / 0.5211 GB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.921e-05/0.3454, allocations: 74.48 kB / 0.5211 GB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.3455, allocations: 7.844 kB / 0.5211 GB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.231e-05/0.3455, allocations: 36.45 kB / 0.5212 GB, free: 10.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.3455, allocations: 0 / 0.5212 GB, free: 10.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002017/0.3457, allocations: 121.4 kB / 0.5213 GB, free: 10.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.822e-05/0.3457, allocations: 58.62 kB / 0.5213 GB, free: 10.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.346, allocations: 173.7 kB / 0.5215 GB, free: 10.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.346, allocations: 32.64 kB / 0.5215 GB, free: 10.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.293e-05/0.3461, allocations: 101.5 kB / 0.5216 GB, free: 10.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.3461, allocations: 26.41 kB / 0.5217 GB, free: 10.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/0.3461, allocations: 3.188 kB / 0.5217 GB, free: 10.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 3.652e-05/0.3461, allocations: 321.7 kB / 0.522 GB, free: 9.758 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.94e-05/0.3462, allocations: 25.19 kB / 0.522 GB, free: 9.758 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.641e-05/0.3462, allocations: 32.94 kB / 0.522 GB, free: 9.758 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.454e-05/0.3463, allocations: 28.95 kB / 0.5221 GB, free: 9.758 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3463, allocations: 0 / 0.5221 GB, free: 9.758 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001212/0.3464, allocations: 115.4 kB / 0.5222 GB, free: 9.715 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/0.3464, allocations: 7.719 kB / 0.5222 GB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.3464, allocations: 3.953 kB / 0.5222 GB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.3464, allocations: 0 / 0.5222 GB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.3466, allocations: 30.08 kB / 0.5222 GB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3466, allocations: 0 / 0.5222 GB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.3468, allocations: 18.48 kB / 0.5222 GB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.3468, allocations: 0 / 0.5222 GB, free: 9.703 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 (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 5.459e-05/0.3468, allocations: 125.8 kB / 0.5223 GB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.3469, allocations: 7.75 kB / 0.5224 GB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.531e-05/0.3469, allocations: 19.89 kB / 0.5224 GB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.3469, allocations: 3.953 kB / 0.5224 GB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.3469, allocations: 0 / 0.5224 GB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3469, allocations: 1.875 kB / 0.5224 GB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.3471, allocations: 198.2 kB / 0.5226 GB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3471, allocations: 0 / 0.5226 GB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.209e-05/0.3472, allocations: 10.39 kB / 0.5226 GB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3472, allocations: 0 / 0.5226 GB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.3472, allocations: 12.89 kB / 0.5226 GB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3472, allocations: 0 / 0.5226 GB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3472, allocations: 7.891 kB / 0.5226 GB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.3474, allocations: 224.1 kB / 0.5228 GB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/0.3475, allocations: 91.58 kB / 0.5229 GB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.3475, allocations: 7.75 kB / 0.5229 GB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.3476, allocations: 17.2 kB / 0.5229 GB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.481e-05/0.3477, allocations: 8.016 kB / 0.5229 GB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.3477, allocations: 3.844 kB / 0.5229 GB, free: 9.129 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000217/0.3479, allocations: 147.1 kB / 0.5231 GB, free: 9.055 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3479, allocations: 0 / 0.5231 GB, free: 9.055 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002063/0.3481, allocations: 22.25 kB / 0.5231 GB, free: 9.051 MB / 362.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.149e-05/0.3482, allocations: 97.55 kB / 0.5232 GB, free: 8.961 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.3483, allocations: 69.8 kB / 0.5233 GB, free: 8.953 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.3483, allocations: 0 / 0.5233 GB, free: 8.953 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.04e-05/0.3484, allocations: 35.92 kB / 0.5233 GB, free: 8.953 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.3485, allocations: 19.23 kB / 0.5233 GB, free: 8.949 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003483/0.3489, allocations: 266.2 kB / 0.5236 GB, free: 8.773 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.349, allocations: 0.7131 MB / 0.5243 GB, free: 8.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.057e-05/0.3491, allocations: 24.7 kB / 0.5243 GB, free: 8.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.3491, allocations: 11.22 kB / 0.5243 GB, free: 8.062 MB / 362.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3491, allocations: 0 / 0.5243 GB, free: 8.062 MB / 362.7 MB Notification: Performance of Templates: time 0.002317/0.3514, allocations: 0.8921 MB / 0.5252 GB, free: 8.012 MB / 362.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)