Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessBlocks.FOPDT.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.FOPDT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.FOPDT") translateModel(AES.ProcessBlocks.FOPDT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.FOPDT") [/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.09244/0.09244, allocations: 21.61 MB / 36.56 MB, free: 1.105 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.0008864/0.0008864, allocations: 190.4 kB / 42.83 MB, free: 3.781 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.226/1.226, allocations: 223.2 MB / 272.1 MB, free: 1.324 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.0007859/0.0007859, allocations: 94.84 kB / 328.7 MB, free: 11.69 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002637/0.0002637, allocations: 12 kB / 395 MB, free: 48.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07937/0.07965, allocations: 55.81 MB / 450.8 MB, free: 8.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2651/0.3448, allocations: 78.32 MB / 0.5168 GB, free: 11.76 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001543/0.345, allocations: 62.78 kB / 0.5168 GB, free: 11.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002885/0.3479, allocations: 1.497 MB / 0.5183 GB, free: 11.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3479, allocations: 3.719 kB / 0.5183 GB, free: 11.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.3479, allocations: 3.875 kB / 0.5183 GB, free: 11.38 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002186/0.3481, allocations: 348.4 kB / 0.5186 GB, free: 11.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.821e-05/0.3482, allocations: 7.781 kB / 0.5186 GB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.3482, allocations: 9.266 kB / 0.5186 GB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.3483, allocations: 166.1 kB / 0.5188 GB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.3483, allocations: 7.844 kB / 0.5188 GB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.3483, allocations: 3.875 kB / 0.5188 GB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.572e-05/0.3484, allocations: 41.61 kB / 0.5188 GB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.56e-06/0.3484, allocations: 0 / 0.5188 GB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.3484, allocations: 3.953 kB / 0.5188 GB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.3484, allocations: 0 / 0.5188 GB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.273e-05/0.3485, allocations: 16.44 kB / 0.5189 GB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002556/0.3487, allocations: 268.4 kB / 0.5191 GB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.926e-05/0.3488, allocations: 22.91 kB / 0.5191 GB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.3488, allocations: 3.953 kB / 0.5191 GB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.289e-05/0.3488, allocations: 34.41 kB / 0.5192 GB, free: 10.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3488, allocations: 3.938 kB / 0.5192 GB, free: 10.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.000115/0.3489, allocations: 40.05 kB / 0.5192 GB, free: 10.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.693e-05/0.349, allocations: 55.25 kB / 0.5193 GB, free: 10.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.396e-05/0.349, allocations: 114.2 kB / 0.5194 GB, free: 10.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.851e-06/0.349, allocations: 26.08 kB / 0.5194 GB, free: 10.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.5e-05/0.3491, allocations: 92.88 kB / 0.5195 GB, free: 10.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.428e-06/0.3491, allocations: 7.75 kB / 0.5195 GB, free: 10.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-06/0.3491, allocations: 0 / 0.5195 GB, free: 10.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 3.589e-05/0.3491, allocations: 319.7 kB / 0.5198 GB, free: 9.797 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.204e-05/0.3491, allocations: 5.344 kB / 0.5198 GB, free: 9.797 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.436e-06/0.3492, allocations: 7.531 kB / 0.5198 GB, free: 9.797 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.68e-05/0.3492, allocations: 9.766 kB / 0.5198 GB, free: 9.789 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3492, allocations: 3.844 kB / 0.5198 GB, free: 9.789 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.231e-05/0.3492, allocations: 54.05 kB / 0.5199 GB, free: 9.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/0.3493, allocations: 7.828 kB / 0.5199 GB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3493, allocations: 0 / 0.5199 GB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3493, allocations: 1.5 kB / 0.5199 GB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.656e-05/0.3493, allocations: 3.969 kB / 0.5199 GB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.3493, allocations: 0 / 0.5199 GB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.766e-05/0.3494, allocations: 3.875 kB / 0.5199 GB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.3494, allocations: 3.938 kB / 0.5199 GB, free: 9.742 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 (3): * Single equations (assignments): 3 * 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 3.946e-05/0.3494, allocations: 115 kB / 0.52 GB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.3494, allocations: 3.844 kB / 0.52 GB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.101e-05/0.3495, allocations: 9.312 kB / 0.52 GB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.3495, allocations: 0 / 0.52 GB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.3495, allocations: 0 / 0.52 GB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.3495, allocations: 5.969 kB / 0.52 GB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.3496, allocations: 163.2 kB / 0.5202 GB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3496, allocations: 0 / 0.5202 GB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.3497, allocations: 7.906 kB / 0.5202 GB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3497, allocations: 0 / 0.5202 GB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.3497, allocations: 4 kB / 0.5202 GB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3497, allocations: 6.578 kB / 0.5202 GB, free: 9.422 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3497, allocations: 0 / 0.5202 GB, free: 9.422 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.866e-05/0.3498, allocations: 144.9 kB / 0.5203 GB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.704e-05/0.3498, allocations: 77.11 kB / 0.5204 GB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.3498, allocations: 0 / 0.5204 GB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.242e-05/0.3499, allocations: 6.094 kB / 0.5204 GB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-06/0.3499, allocations: 11.89 kB / 0.5204 GB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.3499, allocations: 0 / 0.5204 GB, free: 9.188 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.755e-05/0.3499, allocations: 89.72 kB / 0.5205 GB, free: 9.113 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.3499, allocations: 288 / 0.5205 GB, free: 9.113 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001951/0.3501, allocations: 15.53 kB / 0.5205 GB, free: 9.105 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (Pr.y) * 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 (2): * Single equations (assignments): 2 * 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 6.055e-05/0.3502, allocations: 98.81 kB / 0.5206 GB, free: 9.008 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.051e-05/0.3503, allocations: 13.7 kB / 0.5206 GB, free: 9.008 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.3503, allocations: 0 / 0.5206 GB, free: 9.008 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.348e-06/0.3503, allocations: 7.812 kB / 0.5206 GB, free: 9.004 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.3505, allocations: 10.77 kB / 0.5207 GB, free: 9.004 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002125/0.3507, allocations: 154.8 kB / 0.5208 GB, free: 8.867 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.623e-05/0.3508, allocations: 0.6902 MB / 0.5215 GB, free: 8.168 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.666e-05/0.3508, allocations: 7.203 kB / 0.5215 GB, free: 8.164 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.258e-05/0.3509, allocations: 11.28 kB / 0.5215 GB, free: 8.156 MB / 362.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3509, allocations: 0 / 0.5215 GB, free: 8.156 MB / 362.7 MB Notification: Performance of Templates: time 0.001644/0.3525, allocations: 380.9 kB / 0.5219 GB, free: 8.125 MB / 362.7 MB make -j1 -f AES_AES.ProcessBlocks.FOPDT.makefile (rm -f AES_AES.ProcessBlocks.FOPDT.pipe ; mkfifo AES_AES.ProcessBlocks.FOPDT.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.FOPDT.pipe >> ../files/AES_AES.ProcessBlocks.FOPDT.sim & ./AES_AES.ProcessBlocks.FOPDT -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessBlocks.FOPDT.pipe 2>&1)