Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_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.Devel_test_models.Test_FOPDT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_FOPDT") translateModel(AES.Devel_test_models.Test_FOPDT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_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.09492/0.09492, allocations: 21.61 MB / 36.56 MB, free: 0.8828 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.000931/0.0009311, allocations: 181.1 kB / 42.82 MB, free: 3.652 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.233/1.233, allocations: 223.2 MB / 272.2 MB, free: 1.777 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.0009209/0.0009207, allocations: 103.4 kB / 328.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002619/0.0002619, allocations: 12 kB / 395 MB, free: 48.53 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07631/0.07659, allocations: 55.82 MB / 450.8 MB, free: 8.699 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2756/0.3522, allocations: 78.52 MB / 0.517 GB, free: 11.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.3525, allocations: 69.19 kB / 0.517 GB, free: 11.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005547/0.358, allocations: 2.683 MB / 0.5196 GB, free: 11.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.358, allocations: 0 / 0.5196 GB, free: 11.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.659e-06/0.358, allocations: 3.938 kB / 0.5196 GB, free: 11.02 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0002733/0.3583, allocations: 383.6 kB / 0.52 GB, free: 10.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.3584, allocations: 7.312 kB / 0.52 GB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.3584, allocations: 13.05 kB / 0.52 GB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.3585, allocations: 202 kB / 0.5202 GB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.3586, allocations: 7.469 kB / 0.5202 GB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.3586, allocations: 4.547 kB / 0.5202 GB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.3587, allocations: 66.83 kB / 0.5203 GB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.3587, allocations: 1.875 kB / 0.5203 GB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.3587, allocations: 10.27 kB / 0.5203 GB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3587, allocations: 4 kB / 0.5203 GB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.754e-05/0.3588, allocations: 26.08 kB / 0.5203 GB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.3592, allocations: 347.7 kB / 0.5207 GB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.3595, allocations: 72.64 kB / 0.5207 GB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.3595, allocations: 0 / 0.5207 GB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.3595, allocations: 41.38 kB / 0.5208 GB, free: 10.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.3595, allocations: 0 / 0.5208 GB, free: 10.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001904/0.3597, allocations: 69.19 kB / 0.5208 GB, free: 10 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.883e-05/0.3597, allocations: 62.33 kB / 0.5209 GB, free: 9.934 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.1e-05/0.3598, allocations: 125.6 kB / 0.521 GB, free: 9.836 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.218e-06/0.3598, allocations: 33.05 kB / 0.5211 GB, free: 9.805 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.409e-05/0.3599, allocations: 101.7 kB / 0.5212 GB, free: 9.715 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.3599, allocations: 22.98 kB / 0.5212 GB, free: 9.699 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.3599, allocations: 0 / 0.5212 GB, free: 9.699 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 3.924e-05/0.3599, allocations: 321.8 kB / 0.5215 GB, free: 9.387 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.942e-05/0.36, allocations: 18.38 kB / 0.5215 GB, free: 9.387 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.071e-05/0.36, allocations: 11.41 kB / 0.5215 GB, free: 9.387 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.169e-05/0.3601, allocations: 29.11 kB / 0.5215 GB, free: 9.379 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3601, allocations: 3.953 kB / 0.5215 GB, free: 9.375 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000105/0.3602, allocations: 74.34 kB / 0.5216 GB, free: 9.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.3602, allocations: 3.812 kB / 0.5216 GB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.3602, allocations: 0 / 0.5216 GB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.3602, allocations: 2.906 kB / 0.5216 GB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.392e-05/0.3603, allocations: 15.22 kB / 0.5216 GB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3603, allocations: 0 / 0.5216 GB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.978e-05/0.3603, allocations: 1.125 kB / 0.5216 GB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.3603, allocations: 3.75 kB / 0.5216 GB, free: 9.34 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 (7): * Single equations (assignments): 7 * 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 4.843e-05/0.3604, allocations: 124.5 kB / 0.5218 GB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.3604, allocations: 11.67 kB / 0.5218 GB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.3605, allocations: 11.31 kB / 0.5218 GB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3605, allocations: 3.906 kB / 0.5218 GB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.3605, allocations: 0 / 0.5218 GB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3605, allocations: 0 / 0.5218 GB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.3606, allocations: 193.7 kB / 0.522 GB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3606, allocations: 0 / 0.522 GB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.817e-05/0.3607, allocations: 11.95 kB / 0.522 GB, free: 9.016 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3607, allocations: 4 kB / 0.522 GB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.3607, allocations: 3.312 kB / 0.522 GB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3607, allocations: 0 / 0.522 GB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3607, allocations: 7.719 kB / 0.522 GB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.3609, allocations: 182.8 kB / 0.5222 GB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.391e-05/0.3609, allocations: 87.66 kB / 0.5223 GB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.361, allocations: 8.203 kB / 0.5223 GB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.187e-05/0.361, allocations: 64 / 0.5223 GB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.3611, allocations: 14.25 kB / 0.5223 GB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.3611, allocations: 3.234 kB / 0.5223 GB, free: 8.762 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.267e-05/0.3611, allocations: 104.3 kB / 0.5224 GB, free: 8.688 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3611, allocations: 3.844 kB / 0.5224 GB, free: 8.688 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001978/0.3613, allocations: 18.69 kB / 0.5224 GB, free: 8.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.Pr.y,P2.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 (5): * Single equations (assignments): 5 * 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.122e-05/0.3614, allocations: 97.77 kB / 0.5225 GB, free: 8.594 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001076/0.3615, allocations: 40.16 kB / 0.5225 GB, free: 8.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3615, allocations: 4 kB / 0.5225 GB, free: 8.586 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.527e-05/0.3616, allocations: 18.42 kB / 0.5226 GB, free: 8.582 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.3618, allocations: 15.44 kB / 0.5226 GB, free: 8.582 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002812/0.3621, allocations: 233.5 kB / 0.5228 GB, free: 8.406 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.3622, allocations: 0.6996 MB / 0.5235 GB, free: 7.711 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.291e-05/0.3622, allocations: 7.656 kB / 0.5235 GB, free: 7.711 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.027e-05/0.3622, allocations: 11.31 kB / 0.5235 GB, free: 7.703 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3622, allocations: 0 / 0.5235 GB, free: 7.703 MB / 362.7 MB Notification: Performance of Templates: time 0.002056/0.3643, allocations: 0.7192 MB / 0.5242 GB, free: 7.645 MB / 362.7 MB make -j1 -f AES_AES.Devel_test_models.Test_FOPDT.makefile (rm -f AES_AES.Devel_test_models.Test_FOPDT.pipe ; mkfifo AES_AES.Devel_test_models.Test_FOPDT.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_FOPDT.pipe >> ../files/AES_AES.Devel_test_models.Test_FOPDT.sim & ./AES_AES.Devel_test_models.Test_FOPDT -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_FOPDT.pipe 2>&1)