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: "" <> buildModelFMU(AES.Coursework.OOM_Intro.HelloWorld,fileNamePrefix="AES_AES_Coursework_OOM_Intro_HelloWorld",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.OOM_Intro.HelloWorld,fileNamePrefix="AES_AES_Coursework_OOM_Intro_HelloWorld",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 89.81 kB / 15.36 MB, free: 0.7383 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.008241/0.008241, allocations: 171.2 kB / 16.26 MB, free: 6.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.368/1.368, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2161/0.2161, allocations: 22.35 MB / 313.8 MB, free: 13.1 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002997/0.0002998, allocations: 12 kB / 380.6 MB, free: 12.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2657, allocations: 55.97 MB / 436.6 MB, free: 38.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.0004428/0.2662, allocations: 246.5 kB / 436.9 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 7.633e-05/0.2662, allocations: 23.56 kB / 436.9 MB, free: 38.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.337e-05/0.2663, allocations: 4 kB / 436.9 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.754e-06/0.2663, allocations: 0 / 436.9 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.771e-05/0.2663, allocations: 1.969 kB / 436.9 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.381e-05/0.2664, allocations: 7.438 kB / 436.9 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.66e-05/0.2664, allocations: 12.58 kB / 436.9 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.94e-05/0.2664, allocations: 0 / 436.9 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.717e-05/0.2665, allocations: 6.906 kB / 436.9 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.413e-05/0.2665, allocations: 10.06 kB / 436.9 MB, free: 38.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.2665, allocations: 0 / 436.9 MB, free: 38.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.621e-06/0.2665, allocations: 0 / 436.9 MB, free: 38.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.117e-06/0.2665, allocations: 4 kB / 436.9 MB, free: 38.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.057e-05/0.2666, allocations: 37.86 kB / 437 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 2.737e-05/0.2666, allocations: 3.328 kB / 437 MB, free: 38.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2666, allocations: 2.938 kB / 437 MB, free: 38.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.2666, allocations: 0 / 437 MB, free: 38.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.344e-06/0.2666, allocations: 0 / 437 MB, free: 38.02 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.0002038/0.2668, allocations: 319.1 kB / 437.3 MB, free: 37.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2669, allocations: 12.88 kB / 437.3 MB, free: 37.67 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.33e-05/0.2669, allocations: 30.75 kB / 437.3 MB, free: 37.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.69e-05/0.2669, allocations: 11.66 kB / 437.3 MB, free: 37.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.93e-05/0.267, allocations: 160.4 kB / 437.5 MB, free: 37.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.267, allocations: 4.375 kB / 437.5 MB, free: 37.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.267, allocations: 7.094 kB / 437.5 MB, free: 37.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.401e-05/0.2671, allocations: 32.31 kB / 437.5 MB, free: 37.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.2671, allocations: 7.875 kB / 437.5 MB, free: 37.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.2671, allocations: 7 kB / 437.5 MB, free: 37.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.2671, allocations: 0 / 437.5 MB, free: 37.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.249e-05/0.2672, allocations: 5.438 kB / 437.5 MB, free: 37.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.514e-05/0.2673, allocations: 159.5 kB / 437.7 MB, free: 37.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.045e-05/0.2673, allocations: 23.7 kB / 437.7 MB, free: 37.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.774e-05/0.2674, allocations: 10.39 kB / 437.7 MB, free: 37.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.2674, allocations: 3 kB / 437.7 MB, free: 37.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.027e-06/0.2674, allocations: 30.56 kB / 437.8 MB, free: 37.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.2674, allocations: 0 / 437.8 MB, free: 37.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001409/0.2676, allocations: 57.48 kB / 437.8 MB, free: 37.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.489e-05/0.2676, allocations: 51.41 kB / 437.9 MB, free: 37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.376e-05/0.2676, allocations: 104 kB / 438 MB, free: 36.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.101e-06/0.2676, allocations: 28.36 kB / 438 MB, free: 36.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.468e-05/0.2677, allocations: 80.14 kB / 438.1 MB, free: 36.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.2677, allocations: 3.906 kB / 438.1 MB, free: 36.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.746e-05/0.2677, allocations: 12.53 kB / 438.1 MB, free: 36.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.562e-05/0.2677, allocations: 322.2 kB / 438.4 MB, free: 36.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.614e-05/0.2678, allocations: 2.531 kB / 438.4 MB, free: 36.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.879e-05/0.2678, allocations: 2.812 kB / 438.4 MB, free: 36.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.268, allocations: 43.72 kB / 438.5 MB, free: 36.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.268, allocations: 0 / 438.5 MB, free: 36.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.656e-05/0.2681, allocations: 50.02 kB / 438.5 MB, free: 36.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.629e-06/0.2681, allocations: 7.656 kB / 438.5 MB, free: 36.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.2681, allocations: 3.156 kB / 438.5 MB, free: 36.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/0.2681, allocations: 4.031 kB / 438.5 MB, free: 36.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.554e-05/0.2682, allocations: 5.766 kB / 438.5 MB, free: 36.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.2682, allocations: 2.844 kB / 438.5 MB, free: 36.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.941e-05/0.2682, allocations: 0 / 438.5 MB, free: 36.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.2682, allocations: 0 / 438.5 MB, free: 36.37 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 8.974e-05/0.2683, allocations: 112.7 kB / 438.6 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-06/0.2683, allocations: 3.938 kB / 438.6 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.529e-05/0.2683, allocations: 10.09 kB / 438.7 MB, free: 36.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2683, allocations: 11.17 kB / 438.7 MB, free: 36.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.2683, allocations: 3.938 kB / 438.7 MB, free: 36.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-06/0.2683, allocations: 0 / 438.7 MB, free: 36.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.067e-05/0.2684, allocations: 155.2 kB / 438.8 MB, free: 36.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2684, allocations: 4 kB / 438.8 MB, free: 36.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.288e-05/0.2685, allocations: 5.469 kB / 438.8 MB, free: 36.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2685, allocations: 3.938 kB / 438.8 MB, free: 36.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-06/0.2685, allocations: 0 / 438.8 MB, free: 36.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.2685, allocations: 0 / 438.8 MB, free: 36.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2685, allocations: 3.938 kB / 438.8 MB, free: 36.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.2686, allocations: 77.42 kB / 438.9 MB, free: 35.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.377e-05/0.2686, allocations: 77.11 kB / 439 MB, free: 35.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.2687, allocations: 3.938 kB / 439 MB, free: 35.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.992e-05/0.2687, allocations: 0 / 439 MB, free: 35.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-05/0.2687, allocations: 10.27 kB / 439 MB, free: 35.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.2687, allocations: 0 / 439 MB, free: 35.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.602e-05/0.2687, allocations: 81.91 kB / 439.1 MB, free: 35.78 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2687, allocations: 4 kB / 439.1 MB, free: 35.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001614/0.2689, allocations: 2.688 kB / 439.1 MB, free: 35.77 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 0.0002133/0.2691, allocations: 0.6064 MB / 439.7 MB, free: 35.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.218e-05/0.2692, allocations: 22.88 kB / 439.7 MB, free: 35.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2692, allocations: 0 / 439.7 MB, free: 35.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.689e-05/0.2693, allocations: 9.906 kB / 439.7 MB, free: 35.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.2694, allocations: 0 / 439.7 MB, free: 35.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005901/0.27, allocations: 1.101 MB / 440.8 MB, free: 34.06 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.46e-05/0.2701, allocations: 0.68 MB / 441.5 MB, free: 33.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.91e-05/0.2701, allocations: 7.938 kB / 441.5 MB, free: 33.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/0.2701, allocations: 15.31 kB / 441.5 MB, free: 33.34 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.2701, allocations: 0 / 441.5 MB, free: 33.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2925/0.5626, allocations: 0.8933 MB / 442.4 MB, free: 33.2 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/0.5629, allocations: 168.2 kB / 442.6 MB, free: 32.95 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.893/2.456, allocations: 0 / 442.6 MB, free: 32.95 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_OOM_Intro_HelloWorld_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_OOM_Intro_HelloWorld.fmu > AES_AES.Coursework.OOM_Intro.HelloWorld.pipe 2>&1)