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 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.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.09225/0.09225, allocations: 21.6 MB / 37.4 MB, free: 0.7578 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.001126/0.001126, allocations: 188.5 kB / 43.64 MB, free: 3.566 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.279/1.279, allocations: 205.1 MB / 254.8 MB, free: 14.29 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.0008703/0.0008701, allocations: 113.1 kB / 307.5 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009293/0.0009293, allocations: 55.41 kB / 370.3 MB, free: 60.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07752/0.07847, allocations: 51.97 MB / 422.2 MB, free: 16.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.002175/0.08068, allocations: 1.697 MB / 423.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002953/0.08099, allocations: 167.8 kB / 424.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.311e-05/0.08105, allocations: 0 / 424.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.859e-05/0.0811, allocations: 7.922 kB / 424.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.76e-05/0.08119, allocations: 7.938 kB / 424.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.08136, allocations: 43.84 kB / 424.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.08147, allocations: 79.77 kB / 424.2 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.572e-05/0.08157, allocations: 39.92 kB / 424.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.503e-05/0.08161, allocations: 27.8 kB / 424.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.796e-05/0.08166, allocations: 31.84 kB / 424.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.08169, allocations: 4 kB / 424.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.248e-05/0.0817, allocations: 4 kB / 424.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.08172, allocations: 11.94 kB / 424.4 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.08175, allocations: 35.67 kB / 424.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.104e-05/0.08184, allocations: 79.77 kB / 424.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.08185, allocations: 4 kB / 424.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.08186, allocations: 3.938 kB / 424.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.377e-06/0.08186, allocations: 0 / 424.5 MB, free: 14.32 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003324/0.0822, allocations: 383.2 kB / 424.8 MB, free: 13.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.08224, allocations: 8.031 kB / 424.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.939e-05/0.08227, allocations: 16.73 kB / 424.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.08241, allocations: 196.2 kB / 425.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.08243, allocations: 12.31 kB / 425.1 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.08245, allocations: 12.36 kB / 425.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.08259, allocations: 69.23 kB / 425.2 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.08261, allocations: 192 / 425.2 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.08262, allocations: 7.938 kB / 425.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.08263, allocations: 0 / 425.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.721e-05/0.0827, allocations: 23.98 kB / 425.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003384/0.08305, allocations: 360.5 kB / 425.5 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.08333, allocations: 58.55 kB / 425.6 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.092e-05/0.08338, allocations: 16.92 kB / 425.6 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.08341, allocations: 0 / 425.6 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.072e-05/0.08342, allocations: 42.5 kB / 425.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 7.91e-07/0.08343, allocations: 0 / 425.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001833/0.08362, allocations: 77.58 kB / 425.7 MB, free: 12.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.718e-05/0.08364, allocations: 51.41 kB / 425.8 MB, free: 12.83 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.344e-05/0.08372, allocations: 140.2 kB / 425.9 MB, free: 12.69 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.303e-06/0.08373, allocations: 29.7 kB / 425.9 MB, free: 12.65 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.181e-05/0.08377, allocations: 104 kB / 426 MB, free: 12.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.08379, allocations: 11.75 kB / 426.1 MB, free: 12.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.08383, allocations: 29.7 kB / 426.1 MB, free: 12.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.932e-05/0.08387, allocations: 318.8 kB / 426.4 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.005e-05/0.08392, allocations: 19.98 kB / 426.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.053e-05/0.08395, allocations: 12 kB / 426.4 MB, free: 12.15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.849e-05/0.08403, allocations: 44.78 kB / 426.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.08404, allocations: 0 / 426.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001022/0.08414, allocations: 85.72 kB / 426.6 MB, free: 12.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.08416, allocations: 8 kB / 426.6 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.08417, allocations: 0 / 426.6 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.08418, allocations: 4 kB / 426.6 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.051e-05/0.08424, allocations: 8 kB / 426.6 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.08425, allocations: 3.938 kB / 426.6 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.93e-05/0.08428, allocations: 11.83 kB / 426.6 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.08429, allocations: 4 kB / 426.6 MB, free: 11.97 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 (7): * Single equations (assignments): 7 * 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 4.449e-05/0.08434, allocations: 121.8 kB / 426.7 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.08437, allocations: 4 kB / 426.7 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.308e-05/0.0844, allocations: 12.31 kB / 426.7 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.08441, allocations: 4 kB / 426.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.08441, allocations: 0 / 426.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.08442, allocations: 3.938 kB / 426.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.08455, allocations: 193.8 kB / 426.9 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.08455, allocations: 7.984 kB / 426.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.194e-05/0.08462, allocations: 8 kB / 426.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.08463, allocations: 0 / 426.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.08464, allocations: 4 kB / 426.9 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.08465, allocations: 0 / 426.9 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.08465, allocations: 0 / 426.9 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007542/0.08541, allocations: 1.152 MB / 428.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.758e-05/0.08544, allocations: 85.03 kB / 428.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.08546, allocations: 8.031 kB / 428.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.896e-05/0.08552, allocations: 7.875 kB / 428.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.08556, allocations: 7.984 kB / 428.2 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.08557, allocations: 0 / 428.2 MB, free: 10.15 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.227e-05/0.08562, allocations: 113.5 kB / 428.3 MB, free: 10.04 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08562, allocations: 0 / 428.3 MB, free: 10.04 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002663/0.0859, allocations: 16 kB / 428.3 MB, free: 10.03 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.289e-05/0.08595, allocations: 95.34 kB / 428.4 MB, free: 9.922 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001055/0.08607, allocations: 43.92 kB / 428.5 MB, free: 9.879 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.08608, allocations: 0 / 428.5 MB, free: 9.879 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.929e-05/0.08612, allocations: 19.98 kB / 428.5 MB, free: 9.859 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.0864, allocations: 16.69 kB / 428.5 MB, free: 9.844 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003358/0.08675, allocations: 356.3 kB / 428.9 MB, free: 9.457 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.689e-05/0.08685, allocations: 0.7004 MB / 429.6 MB, free: 8.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.177e-05/0.08689, allocations: 12 kB / 429.6 MB, free: 8.719 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/0.08692, allocations: 11.44 kB / 429.6 MB, free: 8.707 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.08693, allocations: 0 / 429.6 MB, free: 8.707 MB / 298.7 MB Notification: Performance of Templates: time 0.002297/0.08923, allocations: 0.8945 MB / 430.5 MB, free: 7.812 MB / 298.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)