Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007376/0.0007376, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001092/0.00183, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007609/0.0007609, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001056/0.001817, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.04/1.04, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0903/1.131, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.07018/0.07018, allocations: 18.12 MB / 262.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01292/0.0831, allocations: 6.786 MB / 268.9 MB, free: 6.352 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.OOM_Intro.HelloWorld_inverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld_inverse") translateModel(AES.Coursework.OOM_Intro.HelloWorld_inverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld_inverse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 270.3 MB, free: 4.938 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.105e-05, allocations: 6.312 kB / 270.3 MB, free: 4.93 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001627/0.001648, allocations: 0.5746 MB / 270.9 MB, free: 4.355 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 7.473e-05/0.001723, allocations: 35.81 kB / 270.9 MB, free: 4.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.624e-05/0.001739, allocations: 0 / 270.9 MB, free: 4.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.821e-06/0.001745, allocations: 3.938 kB / 270.9 MB, free: 4.316 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.725e-06/0.001753, allocations: 0 / 270.9 MB, free: 4.316 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.523e-05/0.001818, allocations: 4 kB / 270.9 MB, free: 4.312 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.948e-05/0.001867, allocations: 4 kB / 270.9 MB, free: 4.309 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.001907, allocations: 7.922 kB / 270.9 MB, free: 4.301 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.086e-05/0.001958, allocations: 12 kB / 270.9 MB, free: 4.289 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.651e-05/0.002024, allocations: 4 kB / 270.9 MB, free: 4.285 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.002044, allocations: 0 / 270.9 MB, free: 4.285 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.171e-06/0.00205, allocations: 0 / 270.9 MB, free: 4.285 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.002062, allocations: 0 / 270.9 MB, free: 4.285 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.803e-05/0.00208, allocations: 4 kB / 270.9 MB, free: 4.281 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 5.849e-05/0.002138, allocations: 7.922 kB / 270.9 MB, free: 4.273 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.362e-05/0.002152, allocations: 0 / 270.9 MB, free: 4.273 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.002152, allocations: 0 / 270.9 MB, free: 4.273 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.002167, allocations: 4 kB / 270.9 MB, free: 4.27 MB / 266.7 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.000353/0.00252, allocations: 228.6 kB / 271.2 MB, free: 4.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.00255, allocations: 12.03 kB / 271.2 MB, free: 4.008 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.584e-05/0.002576, allocations: 0.9375 kB / 271.2 MB, free: 4.008 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.337e-05/0.002659, allocations: 109.7 kB / 271.3 MB, free: 3.875 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.00267, allocations: 384 / 271.3 MB, free: 3.875 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.002687, allocations: 384 / 271.3 MB, free: 3.875 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.456e-05/0.002752, allocations: 38.25 kB / 271.3 MB, free: 3.832 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.002759, allocations: 192 / 271.3 MB, free: 3.832 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.002766, allocations: 384 / 271.3 MB, free: 3.832 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.00277, allocations: 384 / 271.3 MB, free: 3.832 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.867e-05/0.002789, allocations: 11.94 kB / 271.3 MB, free: 3.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.936e-05/0.002878, allocations: 61.03 kB / 271.4 MB, free: 3.746 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.2e-05/0.00294, allocations: 22.55 kB / 271.4 MB, free: 3.715 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.441e-05/0.002955, allocations: 4.859 kB / 271.4 MB, free: 3.707 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.002966, allocations: 4.062 kB / 271.4 MB, free: 3.703 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.002988, allocations: 30.56 kB / 271.5 MB, free: 3.664 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.894e-06/0.00299, allocations: 3.984 kB / 271.5 MB, free: 3.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.000258/0.003248, allocations: 61.61 kB / 271.5 MB, free: 3.594 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.00328, allocations: 51.41 kB / 271.6 MB, free: 3.531 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.896e-05/0.003339, allocations: 106.9 kB / 271.7 MB, free: 3.414 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.003349, allocations: 25.7 kB / 271.7 MB, free: 3.383 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.402e-05/0.003373, allocations: 80.14 kB / 271.8 MB, free: 3.301 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.003395, allocations: 7.906 kB / 271.8 MB, free: 3.293 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.003428, allocations: 21.7 kB / 271.8 MB, free: 3.266 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.689e-05/0.003515, allocations: 318.8 kB / 272.1 MB, free: 2.945 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-06/0.003523, allocations: 4 kB / 272.1 MB, free: 2.941 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.144e-06/0.00353, allocations: 0 / 272.1 MB, free: 2.941 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.664e-05/0.003557, allocations: 20.78 kB / 272.1 MB, free: 2.918 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.003558, allocations: 0 / 272.1 MB, free: 2.918 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.798e-05/0.003616, allocations: 45.75 kB / 272.2 MB, free: 2.867 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.003628, allocations: 4 kB / 272.2 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.003635, allocations: 4 kB / 272.2 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/0.003643, allocations: 0 / 272.2 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.00376, allocations: 11.98 kB / 272.2 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.297e-06/0.003763, allocations: 0 / 272.2 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.545e-05/0.003779, allocations: 3.938 kB / 272.2 MB, free: 2.844 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.003784, allocations: 0 / 272.2 MB, free: 2.844 MB / 266.7 MB 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 6.43e-05/0.003848, allocations: 113.8 kB / 272.3 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-06/0.003855, allocations: 0 / 272.3 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.613e-05/0.003941, allocations: 53.3 kB / 272.4 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.003943, allocations: 0 / 272.4 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.003945, allocations: 0 / 272.4 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.003947, allocations: 0 / 272.4 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.091e-05/0.004018, allocations: 69.84 kB / 272.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.00402, allocations: 8 kB / 272.5 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.338e-05/0.004073, allocations: 14.61 kB / 272.5 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-06/0.004078, allocations: 0 / 272.5 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.00408, allocations: 0 / 272.5 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-06/0.004083, allocations: 0 / 272.5 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.004085, allocations: 0 / 272.5 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.004085, allocations: 4 kB / 272.5 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.059e-05/0.004146, allocations: 69 kB / 272.5 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.835e-06/0.004154, allocations: 0 / 272.5 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.181e-05/0.004166, allocations: 0 / 272.5 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.074e-05/0.004176, allocations: 7.984 kB / 272.5 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/0.004179, allocations: 0 / 272.5 MB, free: 2.461 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.033e-05/0.004189, allocations: 12.84 kB / 272.6 MB, free: 2.445 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.004189, allocations: 0 / 272.6 MB, free: 2.445 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001526/0.004342, allocations: 4 kB / 272.6 MB, free: 2.441 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 7.224e-05/0.004414, allocations: 76.8 kB / 272.6 MB, free: 2.355 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.349e-05/0.004477, allocations: 24.77 kB / 272.7 MB, free: 2.328 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.004481, allocations: 0 / 272.7 MB, free: 2.328 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.367e-05/0.004494, allocations: 16.8 kB / 272.7 MB, free: 2.309 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.7e-05/0.004561, allocations: 7.875 kB / 272.7 MB, free: 2.301 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001673/0.004729, allocations: 108.7 kB / 272.8 MB, free: 2.168 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.048e-05/0.004759, allocations: 51.36 kB / 272.8 MB, free: 2.098 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.045e-05/0.00478, allocations: 0 / 272.8 MB, free: 2.098 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/0.004821, allocations: 59.36 kB / 272.9 MB, free: 2.039 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.004822, allocations: 0 / 272.9 MB, free: 2.039 MB / 266.7 MB Notification: Performance of Templates: time 0.001917/0.006738, allocations: 338 kB / 273.2 MB, free: 1.715 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.makefile [Timeout 660] (rm -f AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe ; mkfifo AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe ; head -c 1048576 < AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe >> ../files/AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.sim & ./AES_AES.Coursework.OOM_Intro.HelloWorld_inverse -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5159165943041444]