Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SR01.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_SR01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_SR01") translateModel(AES.Devel_test_models.Test_SR01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_SR01") [/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.1081/0.1081, allocations: 21.44 MB / 36.4 MB, free: 1.195 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.001125, allocations: 182.4 kB / 42.62 MB, free: 3.965 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.697/1.697, allocations: 205.4 MB / 254.1 MB, free: 15.47 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.0008946/0.0008948, allocations: 98.23 kB / 307.8 MB, free: 11.33 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004918/0.0004921, allocations: 9.469 kB / 373.2 MB, free: 59.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1096, allocations: 52.96 MB / 426.2 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.0008466/0.1105, allocations: 436.9 kB / 426.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001281/0.1107, allocations: 15.94 kB / 426.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.007e-05/0.1107, allocations: 0 / 426.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.433e-05/0.1107, allocations: 0 / 426.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.846e-05/0.1108, allocations: 7.969 kB / 426.6 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.652e-05/0.1109, allocations: 8 kB / 426.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.51e-05/0.1109, allocations: 8 kB / 426.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.537e-05/0.111, allocations: 7.984 kB / 426.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.411e-05/0.1111, allocations: 11.92 kB / 426.7 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.542e-05/0.1111, allocations: 11.98 kB / 426.7 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.1112, allocations: 4 kB / 426.7 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-06/0.1112, allocations: 0 / 426.7 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.04e-05/0.1112, allocations: 3.938 kB / 426.7 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.816e-05/0.1112, allocations: 25.7 kB / 426.7 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 4.576e-05/0.1113, allocations: 11.92 kB / 426.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1113, allocations: 0 / 426.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1113, allocations: 0 / 426.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.1113, allocations: 0 / 426.7 MB, free: 12.8 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003178/0.1116, allocations: 323.4 kB / 427 MB, free: 12.44 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.1117, allocations: 8.031 kB / 427 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.1117, allocations: 7.891 kB / 427 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.86e-05/0.1118, allocations: 167.1 kB / 427.2 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.1118, allocations: 0 / 427.2 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.1118, allocations: 15.89 kB / 427.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.787e-05/0.1119, allocations: 41.61 kB / 427.3 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.1119, allocations: 0 / 427.3 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.112, allocations: 8 kB / 427.3 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.112, allocations: 0 / 427.3 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.706e-05/0.112, allocations: 11.98 kB / 427.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002821/0.1123, allocations: 252.9 kB / 427.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.1124, allocations: 38.55 kB / 427.6 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.1124, allocations: 4 kB / 427.6 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.226e-05/0.1125, allocations: 38.62 kB / 427.6 MB, free: 11.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1125, allocations: 0 / 427.6 MB, free: 11.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.000147/0.1126, allocations: 45.78 kB / 427.7 MB, free: 11.7 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.1127, allocations: 55.41 kB / 427.7 MB, free: 11.63 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.708e-05/0.1127, allocations: 101.8 kB / 427.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/0.1127, allocations: 25.7 kB / 427.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.089e-05/0.1128, allocations: 88.08 kB / 427.9 MB, free: 11.4 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.1128, allocations: 11.81 kB / 427.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-06/0.1128, allocations: 4 kB / 427.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.648e-05/0.1129, allocations: 315.7 kB / 428.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/0.1129, allocations: 11.94 kB / 428.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.065e-05/0.1129, allocations: 0 / 428.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.138e-05/0.1129, allocations: 12 kB / 428.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1129, allocations: 3.953 kB / 428.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.372e-05/0.113, allocations: 45.69 kB / 428.3 MB, free: 10.99 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.113, allocations: 4 kB / 428.3 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.113, allocations: 0 / 428.3 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1131, allocations: 4 kB / 428.3 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.244e-05/0.1131, allocations: 4 kB / 428.3 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.1131, allocations: 3.984 kB / 428.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.437e-05/0.1132, allocations: 4 kB / 428.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.1132, allocations: 0 / 428.3 MB, free: 10.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 (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 6.195e-05/0.1132, allocations: 109.8 kB / 428.4 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.1133, allocations: 7.953 kB / 428.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.1134, allocations: 84.95 kB / 428.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1134, allocations: 0.5156 kB / 428.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1134, allocations: 0 / 428.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1135, allocations: 3.938 kB / 428.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.1136, allocations: 161.7 kB / 428.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.1136, allocations: 4.062 kB / 428.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.345e-05/0.1136, allocations: 11.95 kB / 428.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1136, allocations: 3.984 kB / 428.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.1137, allocations: 0 / 428.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1137, allocations: 4 kB / 428.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1137, allocations: 4 kB / 428.7 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.665e-05/0.1138, allocations: 151.5 kB / 428.9 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.614e-05/0.1138, allocations: 85.02 kB / 429 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.1138, allocations: 7.938 kB / 429 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.455e-05/0.1139, allocations: 4 kB / 429 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.955e-05/0.1139, allocations: 4 kB / 429 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.1139, allocations: 0 / 429 MB, free: 10.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.074e-05/0.114, allocations: 83.28 kB / 429.1 MB, free: 10.15 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.114, allocations: 0 / 429.1 MB, free: 10.15 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002151/0.1142, allocations: 11.94 kB / 429.1 MB, free: 10.14 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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 9.379e-05/0.1143, allocations: 95.03 kB / 429.2 MB, free: 10.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.898e-05/0.1144, allocations: 23.92 kB / 429.2 MB, free: 10.01 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1144, allocations: 0 / 429.2 MB, free: 10.01 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.806e-05/0.1144, allocations: 12 kB / 429.2 MB, free: 10 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.1147, allocations: 11.98 kB / 429.2 MB, free: 9.988 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002422/0.1149, allocations: 110.8 kB / 429.3 MB, free: 9.852 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.115, allocations: 0.6809 MB / 430 MB, free: 9.145 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.083e-05/0.1151, allocations: 4 kB / 430 MB, free: 9.141 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.1151, allocations: 15.42 kB / 430 MB, free: 9.125 MB / 298.7 MB Notification: Performance of SimCode: time 2.71e-07/0.1151, allocations: 7.938 kB / 430 MB, free: 9.117 MB / 298.7 MB Notification: Performance of Templates: time 0.002065/0.1172, allocations: 408.4 kB / 430.4 MB, free: 8.719 MB / 298.7 MB make -j1 -f AES_AES.Devel_test_models.Test_SR01.makefile (rm -f AES_AES.Devel_test_models.Test_SR01.pipe ; mkfifo AES_AES.Devel_test_models.Test_SR01.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SR01.pipe >> ../files/AES_AES.Devel_test_models.Test_SR01.sim & ./AES_AES.Devel_test_models.Test_SR01 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Devel_test_models.Test_SR01.pipe 2>&1)