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.001008/0.001008, allocations: 108 kB / 15.6 MB, free: 132 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.001572/0.001572, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.271/1.271, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2284/0.2284, allocations: 22.34 MB / 312.7 MB, free: 12.53 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 63.91 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2911, allocations: 54.94 MB / 433.8 MB, free: 38.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001879/0.2931, allocations: 0.508 MB / 434.3 MB, free: 38.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001417/0.2932, allocations: 24.97 kB / 434.3 MB, free: 38.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.228e-05/0.2933, allocations: 0 / 434.3 MB, free: 38.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.272e-05/0.2933, allocations: 0 / 434.3 MB, free: 38.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.889e-05/0.2934, allocations: 0 / 434.3 MB, free: 38.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001038/0.2935, allocations: 9.125 kB / 434.3 MB, free: 38.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.59e-05/0.2936, allocations: 14.23 kB / 434.3 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.447e-05/0.2936, allocations: 2.906 kB / 434.3 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.747e-05/0.2937, allocations: 2.781 kB / 434.3 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.414e-05/0.2937, allocations: 7.359 kB / 434.3 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.2937, allocations: 2.875 kB / 434.3 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-06/0.2937, allocations: 4 kB / 434.3 MB, free: 38.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.2938, allocations: 0 / 434.3 MB, free: 38.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.243e-05/0.2938, allocations: 3.938 kB / 434.3 MB, free: 38.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.532e-05/0.2939, allocations: 10.64 kB / 434.4 MB, free: 38.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.2939, allocations: 0 / 434.4 MB, free: 38.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.2939, allocations: 0 / 434.4 MB, free: 38.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.2939, allocations: 3.938 kB / 434.4 MB, free: 38.1 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.0003473/0.2942, allocations: 326.1 kB / 434.7 MB, free: 37.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.2943, allocations: 11.19 kB / 434.7 MB, free: 37.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.384e-05/0.2943, allocations: 34.75 kB / 434.7 MB, free: 37.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.488e-05/0.2944, allocations: 4.938 kB / 434.7 MB, free: 37.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.086e-05/0.2944, allocations: 175.1 kB / 434.9 MB, free: 37.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.2945, allocations: 384 / 434.9 MB, free: 37.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.2945, allocations: 384 / 434.9 MB, free: 37.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.2946, allocations: 35.41 kB / 434.9 MB, free: 37.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2946, allocations: 3.938 kB / 434.9 MB, free: 37.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.2946, allocations: 3.938 kB / 434.9 MB, free: 37.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.2946, allocations: 0 / 434.9 MB, free: 37.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.388e-05/0.2947, allocations: 10.12 kB / 435 MB, free: 37.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000141/0.2948, allocations: 155 kB / 435.1 MB, free: 37.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.255e-05/0.2949, allocations: 28.11 kB / 435.1 MB, free: 37.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.295, allocations: 11.23 kB / 435.1 MB, free: 37.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.295, allocations: 0 / 435.1 MB, free: 37.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/0.295, allocations: 33.34 kB / 435.2 MB, free: 37.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.295, allocations: 4 kB / 435.2 MB, free: 37.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001759/0.2952, allocations: 48.36 kB / 435.2 MB, free: 37.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.2952, allocations: 51.41 kB / 435.3 MB, free: 37.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.516e-05/0.2953, allocations: 106.8 kB / 435.4 MB, free: 36.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.284e-06/0.2953, allocations: 25.7 kB / 435.4 MB, free: 36.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.036e-05/0.2953, allocations: 80.14 kB / 435.5 MB, free: 36.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.2953, allocations: 3.906 kB / 435.5 MB, free: 36.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.2954, allocations: 20.88 kB / 435.5 MB, free: 36.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.627e-05/0.2954, allocations: 317.2 kB / 435.8 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.044e-05/0.2955, allocations: 3.812 kB / 435.8 MB, free: 36.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.193e-05/0.2955, allocations: 4 kB / 435.8 MB, free: 36.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.2957, allocations: 34.16 kB / 435.9 MB, free: 36.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.2957, allocations: 0 / 435.9 MB, free: 36.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.077e-05/0.2958, allocations: 55.19 kB / 435.9 MB, free: 36.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.2959, allocations: 13.56 kB / 435.9 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2959, allocations: 0 / 435.9 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.2959, allocations: 0 / 435.9 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.341e-05/0.296, allocations: 8.938 kB / 435.9 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.296, allocations: 0 / 435.9 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.361e-05/0.296, allocations: 0 / 435.9 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.296, allocations: 6.875 kB / 435.9 MB, free: 36.45 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.0001872/0.2962, allocations: 114.6 kB / 436.1 MB, free: 36.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.2962, allocations: 10.81 kB / 436.1 MB, free: 36.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.372e-05/0.2963, allocations: 6.406 kB / 436.1 MB, free: 36.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2963, allocations: 3.938 kB / 436.1 MB, free: 36.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2963, allocations: 0 / 436.1 MB, free: 36.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2963, allocations: 288 / 436.1 MB, free: 36.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.617e-05/0.2963, allocations: 155.4 kB / 436.2 MB, free: 36.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2964, allocations: 3.938 kB / 436.2 MB, free: 36.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.4e-05/0.2964, allocations: 3.062 kB / 436.2 MB, free: 36.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.2964, allocations: 7.922 kB / 436.2 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.2964, allocations: 2.938 kB / 436.2 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.2965, allocations: 7.281 kB / 436.2 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.2965, allocations: 0 / 436.2 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.2966, allocations: 74.69 kB / 436.3 MB, free: 36.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.238e-05/0.2966, allocations: 83.98 kB / 436.4 MB, free: 35.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.2967, allocations: 7.219 kB / 436.4 MB, free: 35.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.266e-05/0.2967, allocations: 0 / 436.4 MB, free: 35.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.2967, allocations: 2.844 kB / 436.4 MB, free: 35.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.2967, allocations: 4.094 kB / 436.4 MB, free: 35.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.19e-05/0.2968, allocations: 78.09 kB / 436.5 MB, free: 35.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2968, allocations: 0 / 436.5 MB, free: 35.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000196/0.297, allocations: 2.812 kB / 436.5 MB, free: 35.85 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.0002823/0.2973, allocations: 0.6112 MB / 437.1 MB, free: 35.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001087/0.2974, allocations: 18.67 kB / 437.1 MB, free: 35.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2974, allocations: 0 / 437.1 MB, free: 35.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.978e-05/0.2974, allocations: 2.812 kB / 437.1 MB, free: 35.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.2976, allocations: 10.66 kB / 437.1 MB, free: 35.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007622/0.2983, allocations: 1.101 MB / 438.2 MB, free: 34.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.686e-05/0.2985, allocations: 0.6761 MB / 438.9 MB, free: 33.44 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.207e-05/0.2985, allocations: 3.328 kB / 438.9 MB, free: 33.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.2985, allocations: 10.25 kB / 438.9 MB, free: 33.43 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2985, allocations: 0 / 438.9 MB, free: 33.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01864/0.3172, allocations: 1.066 MB / 440 MB, free: 33.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.86/9.177, allocations: 15.64 kB / 440 MB, free: 33.08 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)