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.001415/0.001415, allocations: 101.8 kB / 16.36 MB, free: 5.824 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.001618/0.001618, allocations: 193.3 kB / 17.29 MB, free: 5.48 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.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09605/0.09605, allocations: 22.33 MB / 313.5 MB, free: 8.898 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 60.81 kB / 380.1 MB, free: 42.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1113, allocations: 54.96 MB / 435.1 MB, free: 14.39 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.00242/0.1138, allocations: 0.515 MB / 435.6 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001543/0.1139, allocations: 23.89 kB / 435.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.546e-05/0.114, allocations: 0 / 435.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.007e-05/0.114, allocations: 0 / 435.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.566e-05/0.1141, allocations: 0 / 435.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001071/0.1142, allocations: 3.938 kB / 435.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.601e-05/0.1143, allocations: 11.98 kB / 435.6 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.607e-05/0.1144, allocations: 4 kB / 435.6 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.845e-05/0.1144, allocations: 7.875 kB / 435.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.973e-05/0.1145, allocations: 11.98 kB / 435.7 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.1145, allocations: 0 / 435.7 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.387e-06/0.1145, allocations: 0 / 435.7 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.76e-05/0.1145, allocations: 3.984 kB / 435.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.869e-05/0.1146, allocations: 11.94 kB / 435.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 5.728e-05/0.1146, allocations: 0 / 435.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1147, allocations: 0 / 435.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1147, allocations: 0 / 435.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1147, allocations: 0 / 435.7 MB, free: 13.79 MB / 318.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.0004719/0.1152, allocations: 327.5 kB / 436 MB, free: 13.42 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1152, allocations: 12.03 kB / 436 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.1152, allocations: 4.922 kB / 436 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.1154, allocations: 160.4 kB / 436.2 MB, free: 13.21 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.1154, allocations: 12.31 kB / 436.2 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.1155, allocations: 4.312 kB / 436.2 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.1156, allocations: 34.25 kB / 436.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.1156, allocations: 192 / 436.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1156, allocations: 3.938 kB / 436.2 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1157, allocations: 0 / 436.2 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.566e-05/0.1157, allocations: 8 kB / 436.2 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002031/0.1159, allocations: 153.7 kB / 436.4 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.465e-05/0.116, allocations: 26.61 kB / 436.4 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.996e-05/0.1161, allocations: 16.77 kB / 436.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.1161, allocations: 4.062 kB / 436.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.1162, allocations: 34.56 kB / 436.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.502e-06/0.1162, allocations: 0 / 436.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002286/0.1164, allocations: 49.62 kB / 436.5 MB, free: 12.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.1165, allocations: 51.41 kB / 436.6 MB, free: 12.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.408e-05/0.1166, allocations: 97.86 kB / 436.7 MB, free: 12.62 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.1166, allocations: 25.7 kB / 436.7 MB, free: 12.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.971e-05/0.1166, allocations: 80.14 kB / 436.8 MB, free: 12.51 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.1167, allocations: 15.83 kB / 436.8 MB, free: 12.49 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.1167, allocations: 17.84 kB / 436.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1169, allocations: 314.8 kB / 437.1 MB, free: 12.15 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.99e-05/0.1169, allocations: 3.938 kB / 437.1 MB, free: 12.15 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.635e-05/0.117, allocations: 7.984 kB / 437.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002631/0.1173, allocations: 36.75 kB / 437.1 MB, free: 12.1 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1173, allocations: 0 / 437.1 MB, free: 12.1 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000151/0.1174, allocations: 45.69 kB / 437.2 MB, free: 12.05 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1175, allocations: 8.031 kB / 437.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1175, allocations: 3.938 kB / 437.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1175, allocations: 3.938 kB / 437.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.299e-05/0.1176, allocations: 15.92 kB / 437.2 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1176, allocations: 0 / 437.2 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.085e-05/0.1177, allocations: 0 / 437.2 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.1177, allocations: 0 / 437.2 MB, free: 12.02 MB / 318.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.0001554/0.1178, allocations: 118.6 kB / 437.3 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.1179, allocations: 4 kB / 437.3 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.655e-05/0.1179, allocations: 7.062 kB / 437.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1179, allocations: 3.938 kB / 437.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1179, allocations: 4 kB / 437.4 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1179, allocations: 0 / 437.4 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.1181, allocations: 157.7 kB / 437.5 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1181, allocations: 0 / 437.5 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.662e-05/0.1182, allocations: 7.984 kB / 437.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.1182, allocations: 0 / 437.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.1182, allocations: 7.938 kB / 437.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.1182, allocations: 4 kB / 437.5 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1182, allocations: 0 / 437.5 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.1185, allocations: 77.06 kB / 437.6 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.328e-05/0.1185, allocations: 89.05 kB / 437.7 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.1186, allocations: 3.938 kB / 437.7 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.399e-05/0.1186, allocations: 3.984 kB / 437.7 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.1186, allocations: 0 / 437.7 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.1187, allocations: 4.094 kB / 437.7 MB, free: 11.44 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.217e-05/0.1187, allocations: 83.55 kB / 437.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1187, allocations: 0 / 437.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.119, allocations: 4 kB / 437.8 MB, free: 11.36 MB / 318.1 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 0.0001034/0.1191, allocations: 91.25 kB / 437.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.1193, allocations: 15.98 kB / 437.9 MB, free: 11.24 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1193, allocations: 0 / 437.9 MB, free: 11.24 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.608e-05/0.1193, allocations: 15.94 kB / 437.9 MB, free: 11.22 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.1196, allocations: 6.531 kB / 437.9 MB, free: 11.22 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003598/0.1199, allocations: 105.6 kB / 438 MB, free: 11.09 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.1203, allocations: 0.6729 MB / 438.7 MB, free: 10.39 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.673e-05/0.1203, allocations: 0 / 438.7 MB, free: 10.39 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/0.1203, allocations: 7.438 kB / 438.7 MB, free: 10.38 MB / 318.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1203, allocations: 4.062 kB / 438.7 MB, free: 10.38 MB / 318.1 MB Notification: Performance of Templates: time 0.002913/0.1233, allocations: 293.1 kB / 439 MB, free: 10.09 MB / 318.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 -s cvode -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld.pipe 2>&1)