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.001112/0.001112, allocations: 106.6 kB / 16.41 MB, free: 5.973 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.001059/0.001059, allocations: 189.3 kB / 17.34 MB, free: 5.586 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0873/0.08731, allocations: 22.32 MB / 313.5 MB, free: 8.859 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 59.91 kB / 435.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1244, allocations: 54.95 MB / 490.5 MB, free: 6.859 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.002023/0.1265, allocations: 0.51 MB / 491.1 MB, free: 6.352 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001771/0.1267, allocations: 15.97 kB / 491.1 MB, free: 6.336 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.982e-05/0.1267, allocations: 0 / 491.1 MB, free: 6.336 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.733e-05/0.1267, allocations: 7.938 kB / 491.1 MB, free: 6.328 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.603e-05/0.1268, allocations: 0 / 491.1 MB, free: 6.328 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00013/0.127, allocations: 7.984 kB / 491.1 MB, free: 6.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.679e-05/0.127, allocations: 8 kB / 491.1 MB, free: 6.312 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.922e-05/0.1271, allocations: 7.938 kB / 491.1 MB, free: 6.305 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.844e-05/0.1272, allocations: 11.92 kB / 491.1 MB, free: 6.293 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.559e-05/0.1272, allocations: 3.938 kB / 491.1 MB, free: 6.289 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.1273, allocations: 0 / 491.1 MB, free: 6.289 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.1273, allocations: 4 kB / 491.1 MB, free: 6.285 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.1273, allocations: 0 / 491.1 MB, free: 6.285 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.455e-05/0.1274, allocations: 11.92 kB / 491.1 MB, free: 6.273 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 7.066e-05/0.1274, allocations: 11.98 kB / 491.1 MB, free: 6.262 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1274, allocations: 0 / 491.1 MB, free: 6.262 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1275, allocations: 0 / 491.1 MB, free: 6.262 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.1275, allocations: 0 / 491.1 MB, free: 6.262 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.0005002/0.128, allocations: 323.5 kB / 491.5 MB, free: 5.895 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.128, allocations: 8.031 kB / 491.5 MB, free: 5.887 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.1281, allocations: 4.844 kB / 491.5 MB, free: 5.883 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.1282, allocations: 172.4 kB / 491.6 MB, free: 5.676 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.1283, allocations: 384 / 491.6 MB, free: 5.676 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.1283, allocations: 4.375 kB / 491.6 MB, free: 5.672 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.1284, allocations: 34.25 kB / 491.7 MB, free: 5.633 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1284, allocations: 192 / 491.7 MB, free: 5.633 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.1285, allocations: 3.938 kB / 491.7 MB, free: 5.629 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.1285, allocations: 4 kB / 491.7 MB, free: 5.625 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.472e-05/0.1286, allocations: 11.92 kB / 491.7 MB, free: 5.613 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.1288, allocations: 149.7 kB / 491.8 MB, free: 5.418 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.767e-05/0.1289, allocations: 30.56 kB / 491.9 MB, free: 5.379 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.544e-05/0.1289, allocations: 8.922 kB / 491.9 MB, free: 5.367 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.1289, allocations: 0 / 491.9 MB, free: 5.367 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.129, allocations: 30.56 kB / 491.9 MB, free: 5.328 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.129, allocations: 0 / 491.9 MB, free: 5.328 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002302/0.1292, allocations: 53.56 kB / 492 MB, free: 5.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.1293, allocations: 59.53 kB / 492 MB, free: 5.199 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.855e-05/0.1294, allocations: 101.8 kB / 492.1 MB, free: 5.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.1294, allocations: 25.7 kB / 492.2 MB, free: 5.059 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.1295, allocations: 80.14 kB / 492.2 MB, free: 4.977 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.1295, allocations: 7.844 kB / 492.2 MB, free: 4.969 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.1295, allocations: 17.72 kB / 492.3 MB, free: 4.945 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1297, allocations: 314.8 kB / 492.6 MB, free: 4.629 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.951e-05/0.1297, allocations: 4 kB / 492.6 MB, free: 4.625 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.652e-05/0.1298, allocations: 4 kB / 492.6 MB, free: 4.621 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.13, allocations: 41 kB / 492.6 MB, free: 4.578 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.13, allocations: 0 / 492.6 MB, free: 4.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001266/0.1302, allocations: 53.58 kB / 492.7 MB, free: 4.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1302, allocations: 8 kB / 492.7 MB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1302, allocations: 3.938 kB / 492.7 MB, free: 4.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1302, allocations: 0 / 492.7 MB, free: 4.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.694e-05/0.1303, allocations: 7.938 kB / 492.7 MB, free: 4.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.1304, allocations: 4.031 kB / 492.7 MB, free: 4.496 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.259e-05/0.1304, allocations: 4 kB / 492.7 MB, free: 4.492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.1304, allocations: 3.938 kB / 492.7 MB, free: 4.488 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.0002023/0.1306, allocations: 118.6 kB / 492.8 MB, free: 4.363 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/0.1306, allocations: 4 kB / 492.8 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.1307, allocations: 7.062 kB / 492.8 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1307, allocations: 0 / 492.8 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.1307, allocations: 0 / 492.8 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1307, allocations: 7.938 kB / 492.8 MB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.1308, allocations: 153.7 kB / 493 MB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1309, allocations: 0 / 493 MB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.988e-05/0.1309, allocations: 4 kB / 493 MB, free: 4.141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.131, allocations: 4 kB / 493 MB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.131, allocations: 3.938 kB / 493 MB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.131, allocations: 0 / 493 MB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.131, allocations: 4 kB / 493 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.1312, allocations: 81.11 kB / 493.1 MB, free: 4.031 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/0.1313, allocations: 77.11 kB / 493.1 MB, free: 3.938 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.1313, allocations: 3.938 kB / 493.2 MB, free: 3.934 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.749e-05/0.1313, allocations: 0 / 493.2 MB, free: 3.934 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.1314, allocations: 4.031 kB / 493.2 MB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.1314, allocations: 0 / 493.2 MB, free: 3.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.433e-05/0.1314, allocations: 83.27 kB / 493.2 MB, free: 3.848 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.693e-06/0.1314, allocations: 0 / 493.2 MB, free: 3.848 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00027/0.1317, allocations: 3.938 kB / 493.2 MB, free: 3.844 MB / 366.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 9.996e-05/0.1318, allocations: 95.34 kB / 493.3 MB, free: 3.738 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.132, allocations: 16 kB / 493.3 MB, free: 3.723 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.132, allocations: 0 / 493.3 MB, free: 3.723 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.204e-05/0.1321, allocations: 7.984 kB / 493.4 MB, free: 3.715 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.1323, allocations: 8 kB / 493.4 MB, free: 3.707 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003845/0.1327, allocations: 135.2 kB / 493.5 MB, free: 3.543 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.133, allocations: 0.6768 MB / 494.2 MB, free: 2.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/0.133, allocations: 7.438 kB / 494.2 MB, free: 2.832 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.133, allocations: 3.938 kB / 494.2 MB, free: 2.828 MB / 366.1 MB Notification: Performance of Templates: time 0.002389/0.1354, allocations: 488.2 kB / 494.7 MB, free: 2.352 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)