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.1032/0.1032, allocations: 21.42 MB / 36.67 MB, free: 1.109 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.001223/0.001223, allocations: 177.4 kB / 42.84 MB, free: 3.871 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.909/1.909, allocations: 205 MB / 253.9 MB, free: 15.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.0007432/0.0007431, allocations: 92.41 kB / 307.2 MB, free: 11.7 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003678, allocations: 6.312 kB / 370.4 MB, free: 61.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1264, allocations: 52.51 MB / 422.9 MB, free: 16.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001736/0.1282, allocations: 0.5907 MB / 423.5 MB, free: 16.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000125/0.1284, allocations: 19.91 kB / 423.5 MB, free: 16.08 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.995e-05/0.1284, allocations: 0 / 423.5 MB, free: 16.08 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.04e-05/0.1285, allocations: 0 / 423.5 MB, free: 16.08 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.439e-05/0.1285, allocations: 0 / 423.5 MB, free: 16.08 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001051/0.1286, allocations: 11.88 kB / 423.5 MB, free: 16.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.764e-05/0.1287, allocations: 7.984 kB / 423.5 MB, free: 16.06 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.492e-05/0.1287, allocations: 0 / 423.5 MB, free: 16.06 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.989e-05/0.1288, allocations: 12 kB / 423.6 MB, free: 16.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.889e-05/0.1289, allocations: 0 / 423.6 MB, free: 16.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.1289, allocations: 0 / 423.6 MB, free: 16.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.126e-05/0.1289, allocations: 3.938 kB / 423.6 MB, free: 16.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.1289, allocations: 7.984 kB / 423.6 MB, free: 16.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.388e-05/0.1289, allocations: 0 / 423.6 MB, free: 16.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.596e-05/0.129, allocations: 11.92 kB / 423.6 MB, free: 16.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.129, allocations: 4 kB / 423.6 MB, free: 16.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.129, allocations: 4 kB / 423.6 MB, free: 16.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.129, allocations: 0 / 423.6 MB, free: 16.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.0003631/0.1294, allocations: 323.8 kB / 423.9 MB, free: 15.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1294, allocations: 8.031 kB / 423.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.053e-05/0.1295, allocations: 4.844 kB / 423.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.803e-05/0.1296, allocations: 168.4 kB / 424.1 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.1296, allocations: 4.312 kB / 424.1 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.1296, allocations: 384 / 424.1 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.1297, allocations: 38.25 kB / 424.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.974e-06/0.1298, allocations: 192 / 424.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1298, allocations: 3.938 kB / 424.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1298, allocations: 4 kB / 424.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.726e-05/0.1298, allocations: 4 kB / 424.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001442/0.13, allocations: 153.7 kB / 424.3 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.604e-05/0.1301, allocations: 30.55 kB / 424.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.175e-05/0.1301, allocations: 8.922 kB / 424.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.1301, allocations: 7.922 kB / 424.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.1301, allocations: 34.56 kB / 424.4 MB, free: 15.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.1302, allocations: 0 / 424.4 MB, free: 15.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001809/0.1303, allocations: 49.62 kB / 424.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.1304, allocations: 51.41 kB / 424.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.338e-05/0.1304, allocations: 93.86 kB / 424.6 MB, free: 14.86 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.1305, allocations: 29.7 kB / 424.6 MB, free: 14.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.984e-05/0.1305, allocations: 84.14 kB / 424.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.1306, allocations: 12.02 kB / 424.7 MB, free: 14.72 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.1306, allocations: 9.719 kB / 424.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.51e-05/0.1307, allocations: 322.8 kB / 425 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.915e-05/0.1307, allocations: 3.938 kB / 425 MB, free: 14.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.967e-05/0.1307, allocations: 7.984 kB / 425 MB, free: 14.37 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.1309, allocations: 32.84 kB / 425 MB, free: 14.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1309, allocations: 0 / 425 MB, free: 14.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.131e-05/0.131, allocations: 57.86 kB / 425.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.131, allocations: 4 kB / 425.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.131, allocations: 3.938 kB / 425.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.131, allocations: 8.031 kB / 425.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.819e-05/0.1311, allocations: 11.92 kB / 425.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.1311, allocations: 0 / 425.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.07e-05/0.1312, allocations: 0 / 425.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.1312, allocations: 0 / 425.1 MB, free: 14.25 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001335/0.1313, allocations: 113.8 kB / 425.2 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-06/0.1313, allocations: 0 / 425.2 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.96e-05/0.1314, allocations: 15.02 kB / 425.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1314, allocations: 4 kB / 425.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1314, allocations: 0 / 425.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1314, allocations: 0 / 425.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.347e-05/0.1315, allocations: 153.7 kB / 425.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1315, allocations: 0 / 425.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.928e-05/0.1315, allocations: 7.984 kB / 425.4 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1315, allocations: 0 / 425.4 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.1315, allocations: 7.938 kB / 425.4 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1316, allocations: 0 / 425.4 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1316, allocations: 4 kB / 425.4 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.1317, allocations: 73.09 kB / 425.5 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.362e-05/0.1317, allocations: 77.11 kB / 425.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.1318, allocations: 3.938 kB / 425.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.219e-05/0.1318, allocations: 3.984 kB / 425.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.1318, allocations: 8.094 kB / 425.6 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.1318, allocations: 4 kB / 425.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.179e-05/0.1319, allocations: 79.22 kB / 425.7 MB, free: 13.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1319, allocations: 0 / 425.7 MB, free: 13.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001604/0.132, allocations: 4 kB / 425.7 MB, free: 13.6 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.894e-05/0.1321, allocations: 91.25 kB / 425.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001067/0.1322, allocations: 15.98 kB / 425.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1322, allocations: 11.94 kB / 425.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.872e-05/0.1323, allocations: 7.938 kB / 425.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.1324, allocations: 6.312 kB / 425.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002703/0.1327, allocations: 119.5 kB / 425.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.1328, allocations: 0.6731 MB / 426.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.652e-05/0.1329, allocations: 4.062 kB / 426.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.824e-05/0.1329, allocations: 7.438 kB / 426.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of SimCode: time 2.01e-07/0.1329, allocations: 0 / 426.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of Templates: time 0.001802/0.1347, allocations: 265.3 kB / 426.9 MB, free: 12.35 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)