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.09133/0.09133, allocations: 21.6 MB / 37.4 MB, free: 0.7383 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.00106/0.00106, allocations: 192.5 kB / 43.63 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.344/1.344, allocations: 205.1 MB / 254.8 MB, free: 14.25 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.0009732/0.0009732, allocations: 109.3 kB / 307.5 MB, free: 11.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 50.53 kB / 370.3 MB, free: 60.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07866/0.0797, allocations: 51.97 MB / 422.2 MB, free: 16.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001873/0.08163, allocations: 0.5766 MB / 422.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000117/0.08177, allocations: 19.91 kB / 422.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.24e-05/0.08181, allocations: 0 / 422.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.511e-05/0.08183, allocations: 11.88 kB / 422.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.856e-05/0.08191, allocations: 3.938 kB / 422.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001189/0.08204, allocations: 7.984 kB / 422.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.451e-05/0.0821, allocations: 8 kB / 422.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.448e-05/0.08216, allocations: 4 kB / 422.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.689e-05/0.08219, allocations: 0 / 422.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.133e-05/0.08227, allocations: 11.92 kB / 422.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.08229, allocations: 0 / 422.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.055e-05/0.08231, allocations: 0 / 422.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.08233, allocations: 3.984 kB / 422.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.08236, allocations: 4 kB / 422.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.375e-05/0.08242, allocations: 11.94 kB / 422.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.08243, allocations: 0 / 422.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.08243, allocations: 4 kB / 422.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.08244, allocations: 0 / 422.9 MB, free: 15.89 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.0003805/0.08283, allocations: 327.7 kB / 423.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.08288, allocations: 8.031 kB / 423.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.08292, allocations: 4.938 kB / 423.2 MB, free: 15.51 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.882e-05/0.08302, allocations: 168.3 kB / 423.4 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.08305, allocations: 384 / 423.4 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.08308, allocations: 384 / 423.4 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.0832, allocations: 38.25 kB / 423.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.08321, allocations: 192 / 423.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.08322, allocations: 7.938 kB / 423.4 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.08323, allocations: 0 / 423.4 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.116e-05/0.08329, allocations: 4 kB / 423.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.08343, allocations: 153.7 kB / 423.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.362e-05/0.0835, allocations: 26.52 kB / 423.6 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.17e-05/0.08354, allocations: 16.91 kB / 423.6 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.08355, allocations: 0 / 423.6 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.136e-05/0.08357, allocations: 30.56 kB / 423.7 MB, free: 14.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.08357, allocations: 0 / 423.7 MB, free: 14.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001614/0.08374, allocations: 53.62 kB / 423.7 MB, free: 14.9 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.975e-05/0.08377, allocations: 51.41 kB / 423.8 MB, free: 14.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.064e-05/0.08383, allocations: 97.86 kB / 423.9 MB, free: 14.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.782e-06/0.08384, allocations: 33.77 kB / 423.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.821e-05/0.08386, allocations: 84.12 kB / 424 MB, free: 14.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.08389, allocations: 3.906 kB / 424 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/0.08392, allocations: 21.66 kB / 424 MB, free: 14.58 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4e-05/0.08397, allocations: 310.8 kB / 424.3 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.712e-05/0.084, allocations: 4 kB / 424.3 MB, free: 14.26 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.129e-05/0.08403, allocations: 7.984 kB / 424.3 MB, free: 14.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.08422, allocations: 36.81 kB / 424.4 MB, free: 14.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.08423, allocations: 0 / 424.4 MB, free: 14.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.636e-05/0.08432, allocations: 49.59 kB / 424.4 MB, free: 14.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.08434, allocations: 11.94 kB / 424.4 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.08435, allocations: 3.938 kB / 424.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.08436, allocations: 0 / 424.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.714e-05/0.08444, allocations: 7.984 kB / 424.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.08445, allocations: 0 / 424.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.13e-05/0.08448, allocations: 4 kB / 424.4 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.08449, allocations: 4.281 kB / 424.4 MB, free: 14.13 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.0001397/0.08463, allocations: 113.8 kB / 424.6 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-06/0.08465, allocations: 4 kB / 424.6 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/0.08468, allocations: 15 kB / 424.6 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.08469, allocations: 0 / 424.6 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.0847, allocations: 3.984 kB / 424.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.08471, allocations: 0 / 424.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.246e-05/0.08477, allocations: 149.7 kB / 424.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.08478, allocations: 4 kB / 424.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.071e-05/0.08485, allocations: 7.984 kB / 424.7 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.08486, allocations: 4 kB / 424.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.08487, allocations: 3.938 kB / 424.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.08488, allocations: 0 / 424.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.08488, allocations: 0 / 424.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006485/0.08553, allocations: 0.9111 MB / 425.7 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.333e-05/0.08556, allocations: 77.11 kB / 425.7 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.651e-06/0.08557, allocations: 0 / 425.7 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.113e-05/0.0856, allocations: 0 / 425.7 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.08563, allocations: 8.016 kB / 425.7 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.08564, allocations: 4.125 kB / 425.7 MB, free: 12.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.627e-05/0.08566, allocations: 75.28 kB / 425.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.08567, allocations: 0 / 425.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002294/0.0859, allocations: 4 kB / 425.8 MB, free: 12.54 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 5.691e-05/0.08596, allocations: 99.12 kB / 425.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.188e-05/0.08606, allocations: 19.98 kB / 425.9 MB, free: 12.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.08607, allocations: 0 / 425.9 MB, free: 12.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.81e-05/0.0861, allocations: 8 kB / 425.9 MB, free: 12.4 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.08624, allocations: 11.94 kB / 426 MB, free: 12.39 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002696/0.08651, allocations: 214.2 kB / 426.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.046e-05/0.08661, allocations: 0.6809 MB / 426.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.171e-05/0.08663, allocations: 0 / 426.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.746e-05/0.08666, allocations: 15.44 kB / 426.9 MB, free: 11.42 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.08666, allocations: 0 / 426.9 MB, free: 11.42 MB / 298.7 MB Notification: Performance of Templates: time 0.001692/0.08836, allocations: 299.9 kB / 427.2 MB, free: 11.13 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)