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.001518/0.001518, allocations: 119.2 kB / 16.37 MB, free: 6.012 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.001751/0.001751, allocations: 190.4 kB / 17.31 MB, free: 5.613 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09281/0.09281, allocations: 22.32 MB / 313.5 MB, free: 8.918 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 62.14 kB / 380.1 MB, free: 42.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1039, allocations: 54.96 MB / 435.1 MB, free: 14.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001745/0.1057, allocations: 0.5111 MB / 435.6 MB, free: 14 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001471/0.1059, allocations: 23.89 kB / 435.6 MB, free: 13.97 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.297e-05/0.1059, allocations: 4 kB / 435.6 MB, free: 13.97 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.354e-05/0.1059, allocations: 0 / 435.6 MB, free: 13.97 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.062e-05/0.106, allocations: 3.938 kB / 435.6 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001008/0.1061, allocations: 4 kB / 435.6 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.451e-05/0.1062, allocations: 11.83 kB / 435.6 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.367e-05/0.1063, allocations: 3.984 kB / 435.7 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.823e-05/0.1063, allocations: 4 kB / 435.7 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.388e-05/0.1063, allocations: 0 / 435.7 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.1064, allocations: 0 / 435.7 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.1064, allocations: 4 kB / 435.7 MB, free: 13.94 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.1064, allocations: 7.922 kB / 435.7 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.1064, allocations: 11.98 kB / 435.7 MB, free: 13.92 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 5.941e-05/0.1065, allocations: 7.938 kB / 435.7 MB, free: 13.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1065, allocations: 0 / 435.7 MB, free: 13.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1065, allocations: 0 / 435.7 MB, free: 13.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.1065, allocations: 0 / 435.7 MB, free: 13.91 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.0004055/0.1069, allocations: 327.4 kB / 436 MB, free: 13.54 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.107, allocations: 8.031 kB / 436 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.107, allocations: 0.9375 kB / 436 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.1071, allocations: 172.4 kB / 436.2 MB, free: 13.33 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.1072, allocations: 4.375 kB / 436.2 MB, free: 13.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.1072, allocations: 384 / 436.2 MB, free: 13.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.931e-05/0.1073, allocations: 30.27 kB / 436.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.1073, allocations: 192 / 436.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1073, allocations: 3.938 kB / 436.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1073, allocations: 3.938 kB / 436.2 MB, free: 13.28 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.064e-05/0.1074, allocations: 7.984 kB / 436.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.1075, allocations: 153.7 kB / 436.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.904e-05/0.1076, allocations: 34.55 kB / 436.4 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.229e-05/0.1077, allocations: 8.922 kB / 436.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.1077, allocations: 3.984 kB / 436.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.1077, allocations: 30.56 kB / 436.5 MB, free: 12.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1077, allocations: 0 / 436.5 MB, free: 12.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001746/0.1079, allocations: 49.72 kB / 436.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.1079, allocations: 63.36 kB / 436.6 MB, free: 12.85 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.666e-05/0.108, allocations: 97.86 kB / 436.7 MB, free: 12.74 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.108, allocations: 29.7 kB / 436.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.1081, allocations: 80.14 kB / 436.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.1081, allocations: 7.844 kB / 436.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.1081, allocations: 21.7 kB / 436.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1082, allocations: 310.8 kB / 437.1 MB, free: 12.28 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.367e-05/0.1083, allocations: 8 kB / 437.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.108e-05/0.1083, allocations: 0 / 437.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.1085, allocations: 44.67 kB / 437.2 MB, free: 12.22 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1085, allocations: 0 / 437.2 MB, free: 12.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.375e-05/0.1086, allocations: 49.62 kB / 437.2 MB, free: 12.17 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1087, allocations: 8 kB / 437.2 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1087, allocations: 3.938 kB / 437.2 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1087, allocations: 0 / 437.2 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.965e-05/0.1088, allocations: 8.031 kB / 437.2 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1088, allocations: 0 / 437.2 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.39e-05/0.1088, allocations: 3.984 kB / 437.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.1088, allocations: 4 kB / 437.2 MB, free: 12.14 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.0001408/0.109, allocations: 114.6 kB / 437.3 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.055e-06/0.109, allocations: 0 / 437.3 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.353e-05/0.109, allocations: 11.06 kB / 437.4 MB, free: 12.01 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.109, allocations: 0 / 437.4 MB, free: 12.01 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.109, allocations: 8 kB / 437.4 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.109, allocations: 0 / 437.4 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.1091, allocations: 153.7 kB / 437.5 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1091, allocations: 0 / 437.5 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.279e-05/0.1092, allocations: 4 kB / 437.5 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1092, allocations: 0 / 437.5 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1092, allocations: 7.938 kB / 437.5 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1092, allocations: 3.984 kB / 437.5 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1092, allocations: 0 / 437.5 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.1094, allocations: 85.06 kB / 437.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/0.1095, allocations: 84.95 kB / 437.7 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.1095, allocations: 3.938 kB / 437.7 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.192e-05/0.1095, allocations: 0 / 437.7 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.1096, allocations: 8.016 kB / 437.7 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.1096, allocations: 0 / 437.7 MB, free: 11.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.03e-05/0.1096, allocations: 75.56 kB / 437.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1096, allocations: 0 / 437.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001742/0.1098, allocations: 8.094 kB / 437.8 MB, free: 11.49 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 8.363e-05/0.1099, allocations: 91.25 kB / 437.9 MB, free: 11.39 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.11, allocations: 24.06 kB / 437.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.11, allocations: 0 / 437.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.474e-05/0.11, allocations: 8 kB / 437.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.1102, allocations: 9.328 kB / 437.9 MB, free: 11.35 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.1105, allocations: 105.7 kB / 438 MB, free: 11.22 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.1108, allocations: 0.6768 MB / 438.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.339e-05/0.1108, allocations: 0 / 438.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.2e-05/0.1108, allocations: 11.44 kB / 438.7 MB, free: 10.5 MB / 318.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1108, allocations: 0 / 438.7 MB, free: 10.5 MB / 318.1 MB Notification: Performance of Templates: time 0.002247/0.1131, allocations: 293.1 kB / 439 MB, free: 10.22 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 gbode -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld.pipe 2>&1)