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.001219/0.001219, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 199 kB / 16.79 MB, free: 6.809 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.304/1.304, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1978/0.1978, allocations: 22.35 MB / 313 MB, free: 12.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 59.91 kB / 378.7 MB, free: 13.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.264, allocations: 54.93 MB / 433.6 MB, free: 38.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001576/0.2657, allocations: 0.5782 MB / 434.2 MB, free: 38.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001282/0.2658, allocations: 21.31 kB / 434.2 MB, free: 38.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.187e-05/0.2658, allocations: 4 kB / 434.2 MB, free: 38.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.958e-05/0.2659, allocations: 0 / 434.2 MB, free: 38.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.557e-05/0.2659, allocations: 0 / 434.2 MB, free: 38.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.916e-05/0.266, allocations: 3.375 kB / 434.2 MB, free: 38.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.121e-05/0.2661, allocations: 5.094 kB / 434.3 MB, free: 38.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.996e-05/0.2661, allocations: 2.562 kB / 434.3 MB, free: 38.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.771e-05/0.2662, allocations: 10.64 kB / 434.3 MB, free: 38.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.91e-05/0.2662, allocations: 11.36 kB / 434.3 MB, free: 38.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.2662, allocations: 2.469 kB / 434.3 MB, free: 38.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-06/0.2663, allocations: 0 / 434.3 MB, free: 38.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.2663, allocations: 4 kB / 434.3 MB, free: 38.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.422e-05/0.2663, allocations: 6.344 kB / 434.3 MB, free: 38.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 3.814e-05/0.2664, allocations: 3.281 kB / 434.3 MB, free: 38.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2664, allocations: 0 / 434.3 MB, free: 38.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2664, allocations: 0 / 434.3 MB, free: 38.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.2664, allocations: 3.031 kB / 434.3 MB, free: 38.57 MB / 350.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.000341/0.2667, allocations: 325.4 kB / 434.6 MB, free: 38.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.2668, allocations: 16.38 kB / 434.6 MB, free: 38.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.2668, allocations: 3.781 kB / 434.6 MB, free: 38.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.058e-05/0.2669, allocations: 166.5 kB / 434.8 MB, free: 38.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.2669, allocations: 3.75 kB / 434.8 MB, free: 38.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.2669, allocations: 3.219 kB / 434.8 MB, free: 38.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.267, allocations: 37.12 kB / 434.8 MB, free: 37.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.2671, allocations: 192 / 434.8 MB, free: 37.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.2671, allocations: 3.938 kB / 434.8 MB, free: 37.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2671, allocations: 2.875 kB / 434.8 MB, free: 37.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.969e-05/0.2671, allocations: 10.08 kB / 434.9 MB, free: 37.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001364/0.2673, allocations: 155.9 kB / 435 MB, free: 37.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.516e-05/0.2673, allocations: 23.14 kB / 435 MB, free: 37.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.133e-05/0.2674, allocations: 14.89 kB / 435 MB, free: 37.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.2674, allocations: 0 / 435 MB, free: 37.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.52e-05/0.2674, allocations: 30.56 kB / 435.1 MB, free: 37.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.2674, allocations: 0 / 435.1 MB, free: 37.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001781/0.2676, allocations: 57.28 kB / 435.1 MB, free: 37.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.2676, allocations: 54.34 kB / 435.2 MB, free: 37.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.851e-05/0.2677, allocations: 96.11 kB / 435.3 MB, free: 37.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.2677, allocations: 25.7 kB / 435.3 MB, free: 37.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.38e-05/0.2677, allocations: 84.14 kB / 435.4 MB, free: 37.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.2678, allocations: 6.969 kB / 435.4 MB, free: 37.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.2678, allocations: 13.66 kB / 435.4 MB, free: 37.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.739e-05/0.2679, allocations: 321.3 kB / 435.7 MB, free: 37.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.014e-05/0.2679, allocations: 6.938 kB / 435.7 MB, free: 37.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.945e-05/0.2679, allocations: 2.875 kB / 435.7 MB, free: 37.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.2681, allocations: 37.81 kB / 435.8 MB, free: 37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2681, allocations: 0 / 435.8 MB, free: 37 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.241e-05/0.2682, allocations: 50.88 kB / 435.8 MB, free: 36.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.2683, allocations: 9.578 kB / 435.8 MB, free: 36.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2683, allocations: 3.938 kB / 435.8 MB, free: 36.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2683, allocations: 4.031 kB / 435.8 MB, free: 36.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.874e-05/0.2684, allocations: 8.938 kB / 435.8 MB, free: 36.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2684, allocations: 0 / 435.8 MB, free: 36.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.33e-05/0.2684, allocations: 6.188 kB / 435.8 MB, free: 36.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.2684, allocations: 0 / 435.8 MB, free: 36.95 MB / 350.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.0001031/0.2685, allocations: 115.6 kB / 436 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-06/0.2685, allocations: 0 / 436 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.149e-05/0.2685, allocations: 13.84 kB / 436 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.2685, allocations: 4 kB / 436 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2686, allocations: 0 / 436 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2686, allocations: 0 / 436 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.121e-05/0.2686, allocations: 158.2 kB / 436.1 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.2686, allocations: 0 / 436.1 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.013e-05/0.2687, allocations: 6.031 kB / 436.1 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2687, allocations: 2.969 kB / 436.1 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.2687, allocations: 3.938 kB / 436.1 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2687, allocations: 0 / 436.1 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2687, allocations: 0 / 436.1 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.2689, allocations: 80.39 kB / 436.2 MB, free: 36.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.942e-05/0.2689, allocations: 84.48 kB / 436.3 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.2689, allocations: 6.875 kB / 436.3 MB, free: 36.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.228e-05/0.269, allocations: 0 / 436.3 MB, free: 36.44 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.269, allocations: 0 / 436.3 MB, free: 36.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.269, allocations: 2.5 kB / 436.3 MB, free: 36.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.033e-05/0.269, allocations: 82.09 kB / 436.4 MB, free: 36.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.269, allocations: 4.094 kB / 436.4 MB, free: 36.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001726/0.2692, allocations: 2.812 kB / 436.4 MB, free: 36.36 MB / 350.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 7.107e-05/0.2693, allocations: 105.4 kB / 436.5 MB, free: 36.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001083/0.2694, allocations: 14.75 kB / 436.5 MB, free: 36.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2694, allocations: 0 / 436.5 MB, free: 36.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.094e-05/0.2694, allocations: 6.531 kB / 436.5 MB, free: 36.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.2696, allocations: 3.719 kB / 436.5 MB, free: 36.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002737/0.2699, allocations: 143.9 kB / 436.7 MB, free: 36.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.27, allocations: 0.6782 MB / 437.3 MB, free: 35.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.964e-05/0.27, allocations: 7.438 kB / 437.4 MB, free: 35.41 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.27, allocations: 0 / 437.4 MB, free: 35.41 MB / 350.1 MB Notification: Performance of Templates: time 0.001575/0.2716, allocations: 483.3 kB / 437.8 MB, free: 35.39 MB / 350.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)