Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.OOM_Intro.HelloWorld.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.Coursework.OOM_Intro.HelloWorld,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld") translateModel(AES.Coursework.OOM_Intro.HelloWorld,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld") [/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.1037/0.1037, allocations: 21.44 MB / 36.39 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.001147/0.001147, allocations: 175.8 kB / 42.62 MB, free: 4 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.905/1.905, 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.00096/0.00096, allocations: 93.55 kB / 307.8 MB, free: 11.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003636, allocations: 8.469 kB / 371.2 MB, free: 60.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1025, allocations: 52.95 MB / 424.2 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.0006956/0.1032, allocations: 248.3 kB / 424.4 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001401/0.1034, allocations: 25.89 kB / 424.4 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.966e-05/0.1034, allocations: 0 / 424.4 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.278e-05/0.1035, allocations: 0 / 424.4 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.776e-05/0.1035, allocations: 0 / 424.4 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.934e-05/0.1036, allocations: 8 kB / 424.4 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.502e-05/0.1037, allocations: 3.984 kB / 424.4 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.372e-05/0.1037, allocations: 4 kB / 424.4 MB, free: 15.08 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.78e-05/0.1038, allocations: 11.92 kB / 424.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.36e-05/0.1038, allocations: 4 kB / 424.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.1039, allocations: 0 / 424.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.997e-06/0.1039, allocations: 0 / 424.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.1039, allocations: 7.922 kB / 424.5 MB, free: 15.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.873e-05/0.1039, allocations: 25.7 kB / 424.5 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 3.297e-05/0.104, allocations: 4 kB / 424.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.104, allocations: 4 kB / 424.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.104, allocations: 0 / 424.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.104, allocations: 3.938 kB / 424.5 MB, free: 15.02 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003734/0.1044, allocations: 323.6 kB / 424.8 MB, free: 14.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1044, allocations: 12.03 kB / 424.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.1045, allocations: 3.906 kB / 424.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.336e-05/0.1046, allocations: 159.1 kB / 425 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.1046, allocations: 4 kB / 425 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.1046, allocations: 3.953 kB / 425 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.1047, allocations: 37.69 kB / 425 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1048, allocations: 0 / 425 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1048, allocations: 0 / 425 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1048, allocations: 0 / 425 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.994e-05/0.1048, allocations: 7.984 kB / 425 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001333/0.105, allocations: 153.7 kB / 425.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.583e-05/0.105, allocations: 34.53 kB / 425.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.1051, allocations: 7.984 kB / 425.2 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.1051, allocations: 34.52 kB / 425.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.924e-06/0.1051, allocations: 0 / 425.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.000179/0.1053, allocations: 49.69 kB / 425.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.1053, allocations: 55.34 kB / 425.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.81e-05/0.1054, allocations: 101.8 kB / 425.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.1054, allocations: 25.83 kB / 425.5 MB, free: 13.83 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.572e-05/0.1054, allocations: 84.14 kB / 425.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.1055, allocations: 7.906 kB / 425.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.1055, allocations: 0 / 425.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.695e-05/0.1055, allocations: 314.8 kB / 425.9 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.785e-05/0.1056, allocations: 4 kB / 425.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.191e-05/0.1056, allocations: 3.984 kB / 425.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.774e-05/0.1057, allocations: 4 kB / 425.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1057, allocations: 0 / 425.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.773e-05/0.1058, allocations: 49.72 kB / 425.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1058, allocations: 11.95 kB / 426 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1058, allocations: 0 / 426 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1058, allocations: 0 / 426 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.811e-05/0.1059, allocations: 7.938 kB / 426 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.1059, allocations: 0 / 426 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.446e-05/0.1059, allocations: 7.984 kB / 426 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.106, allocations: 0 / 426 MB, free: 13.32 MB / 298.7 MB Warning: Assuming fixed start value for the following 1 variables: x:VARIABLE(start = xstart fixed = true ) type: Real 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 0.0001543/0.1061, allocations: 121.8 kB / 426.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.1061, allocations: 7.906 kB / 426.1 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.459e-05/0.1062, allocations: 11.03 kB / 426.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1062, allocations: 0 / 426.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1062, allocations: 0 / 426.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1062, allocations: 0 / 426.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.317e-05/0.1063, allocations: 153.7 kB / 426.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1063, allocations: 0 / 426.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.659e-05/0.1064, allocations: 4 kB / 426.3 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.1064, allocations: 4 kB / 426.3 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.1064, allocations: 0 / 426.3 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.1064, allocations: 11.94 kB / 426.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1064, allocations: 0 / 426.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.1066, allocations: 77.06 kB / 426.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.572e-05/0.1066, allocations: 81.05 kB / 426.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.1067, allocations: 0 / 426.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.326e-05/0.1067, allocations: 3.969 kB / 426.4 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.1067, allocations: 16.03 kB / 426.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.1067, allocations: 0 / 426.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.957e-05/0.1068, allocations: 79.28 kB / 426.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1068, allocations: 0 / 426.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001763/0.107, allocations: 0 / 426.5 MB, free: 12.67 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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.99e-05/0.107, allocations: 99.03 kB / 426.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.599e-05/0.1071, allocations: 15.98 kB / 426.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1071, allocations: 0 / 426.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.185e-05/0.1072, allocations: 15.94 kB / 426.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001043/0.1073, allocations: 0 / 426.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002656/0.1076, allocations: 108.7 kB / 426.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.1077, allocations: 0.6775 MB / 427.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.312e-05/0.1077, allocations: 0 / 427.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.975e-05/0.1078, allocations: 11.5 kB / 427.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of SimCode: time 5.62e-07/0.1078, allocations: 0 / 427.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of Templates: time 0.001965/0.1097, allocations: 256.4 kB / 427.7 MB, free: 11.43 MB / 298.7 MB make -j1 -f AES_AES.Coursework.OOM_Intro.HelloWorld.makefile (rm -f AES_AES.Coursework.OOM_Intro.HelloWorld.pipe ; mkfifo AES_AES.Coursework.OOM_Intro.HelloWorld.pipe ; head -c 1048576 < AES_AES.Coursework.OOM_Intro.HelloWorld.pipe >> ../files/AES_AES.Coursework.OOM_Intro.HelloWorld.sim & ./AES_AES.Coursework.OOM_Intro.HelloWorld -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld.pipe 2>&1)