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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 110.9 kB / 16.41 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 192.2 kB / 17.35 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09279/0.09279, allocations: 22.33 MB / 313.5 MB, free: 8.859 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 67.89 kB / 435.6 MB, free: 13.87 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09284/0.09415, allocations: 54.94 MB / 490.5 MB, free: 6.871 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001407/0.09559, allocations: 0.5206 MB / 491.1 MB, free: 6.355 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000122/0.09573, allocations: 19.91 kB / 491.1 MB, free: 6.336 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.108e-05/0.09576, allocations: 4 kB / 491.1 MB, free: 6.332 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.696e-05/0.09578, allocations: 3.938 kB / 491.1 MB, free: 6.328 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.994e-05/0.09585, allocations: 0 / 491.1 MB, free: 6.328 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.405e-05/0.09594, allocations: 3.984 kB / 491.1 MB, free: 6.324 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.507e-05/0.09599, allocations: 7.984 kB / 491.1 MB, free: 6.316 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.379e-05/0.09604, allocations: 8 kB / 491.1 MB, free: 6.309 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.419e-05/0.09607, allocations: 7.938 kB / 491.1 MB, free: 6.301 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.64e-05/0.09612, allocations: 15.92 kB / 491.1 MB, free: 6.285 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.09614, allocations: 0 / 491.1 MB, free: 6.285 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.704e-06/0.09615, allocations: 0 / 491.1 MB, free: 6.285 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.09616, allocations: 0 / 491.1 MB, free: 6.285 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.141e-05/0.09619, allocations: 3.938 kB / 491.1 MB, free: 6.281 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 4.948e-05/0.09624, allocations: 7.984 kB / 491.1 MB, free: 6.273 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.09626, allocations: 4 kB / 491.1 MB, free: 6.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.09626, allocations: 0 / 491.1 MB, free: 6.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.09627, allocations: 0 / 491.1 MB, free: 6.27 MB / 366.1 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.0003501/0.09662, allocations: 319.5 kB / 491.5 MB, free: 5.906 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.09667, allocations: 19.95 kB / 491.5 MB, free: 5.887 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.0967, allocations: 8.891 kB / 491.5 MB, free: 5.879 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.793e-05/0.0968, allocations: 160.4 kB / 491.6 MB, free: 5.684 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.09683, allocations: 384 / 491.6 MB, free: 5.684 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.09685, allocations: 384 / 491.6 MB, free: 5.684 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.09695, allocations: 38.25 kB / 491.7 MB, free: 5.641 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.09697, allocations: 192 / 491.7 MB, free: 5.641 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.09698, allocations: 3.938 kB / 491.7 MB, free: 5.637 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.09699, allocations: 4 kB / 491.7 MB, free: 5.633 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.984e-05/0.09705, allocations: 11.94 kB / 491.7 MB, free: 5.621 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001381/0.09719, allocations: 157.6 kB / 491.9 MB, free: 5.418 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.432e-05/0.09726, allocations: 22.58 kB / 491.9 MB, free: 5.387 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.732e-05/0.09731, allocations: 12.91 kB / 491.9 MB, free: 5.371 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.09732, allocations: 0 / 491.9 MB, free: 5.371 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.09735, allocations: 30.56 kB / 491.9 MB, free: 5.332 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.09735, allocations: 4 kB / 491.9 MB, free: 5.328 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001649/0.09752, allocations: 53.56 kB / 492 MB, free: 5.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.09756, allocations: 55.41 kB / 492 MB, free: 5.203 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.847e-05/0.09762, allocations: 94 kB / 492.1 MB, free: 5.102 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.09764, allocations: 29.7 kB / 492.2 MB, free: 5.066 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.774e-05/0.09768, allocations: 80.14 kB / 492.2 MB, free: 4.984 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.0977, allocations: 11.88 kB / 492.2 MB, free: 4.973 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.09774, allocations: 17.84 kB / 492.3 MB, free: 4.949 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.267e-05/0.09783, allocations: 314.8 kB / 492.6 MB, free: 4.633 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.032e-05/0.09787, allocations: 4 kB / 492.6 MB, free: 4.629 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.325e-05/0.0979, allocations: 8.031 kB / 492.6 MB, free: 4.621 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.0981, allocations: 36.81 kB / 492.6 MB, free: 4.582 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.09811, allocations: 0 / 492.6 MB, free: 4.582 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.271e-05/0.09821, allocations: 49.64 kB / 492.7 MB, free: 4.527 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.09823, allocations: 12.03 kB / 492.7 MB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.09824, allocations: 0 / 492.7 MB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.09825, allocations: 3.938 kB / 492.7 MB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.519e-05/0.09832, allocations: 7.984 kB / 492.7 MB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.09833, allocations: 0 / 492.7 MB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.368e-05/0.09836, allocations: 4 kB / 492.7 MB, free: 4.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.09837, allocations: 0 / 492.7 MB, free: 4.5 MB / 366.1 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.0001134/0.09849, allocations: 114.5 kB / 492.8 MB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.09851, allocations: 8 kB / 492.8 MB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.941e-05/0.09853, allocations: 11.06 kB / 492.8 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.09854, allocations: 0 / 492.8 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.09855, allocations: 7.984 kB / 492.8 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.014e-05/0.09858, allocations: 77.11 kB / 492.9 MB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-06/0.0986, allocations: 0 / 492.9 MB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.868e-05/0.09863, allocations: 4 kB / 492.9 MB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.647e-05/0.09866, allocations: 3.938 kB / 492.9 MB, free: 4.25 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001505/0.09882, allocations: 125 kB / 493 MB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001929/0.09902, allocations: 226.7 kB / 493.3 MB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.724e-05/0.09907, allocations: 11.97 kB / 493.3 MB, free: 3.871 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.793e-05/0.0991, allocations: 75.28 kB / 493.3 MB, free: 3.797 MB / 366.1 MB Notification: Performance of Backend: time 2.3e-07/0.09911, allocations: 0 / 493.3 MB, free: 3.797 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000325/0.09944, allocations: 93.27 kB / 493.4 MB, free: 3.699 MB / 366.1 MB Notification: Performance of SimCode: time 0.0003385/0.09979, allocations: 0.5569 MB / 494 MB, free: 3.094 MB / 366.1 MB Notification: Performance of Templates: time 0.001972/0.1018, allocations: 369.2 kB / 494.3 MB, free: 2.734 MB / 366.1 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)