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.0008611/0.0008611, allocations: 87.56 kB / 20.97 MB, free: 3.578 MB / 18.57 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.000874/0.000874, allocations: 177.3 kB / 24.28 MB, free: 276 kB / 18.57 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.053/1.053, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.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.06569/0.06569, allocations: 18.14 MB / 279.2 MB, free: 11.37 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.453e-06/1.453e-06, allocations: 0 / 357.2 MB, free: 8.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.604e-05, allocations: 6.312 kB / 357.2 MB, free: 8.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001309/0.001335, allocations: 0.5198 MB / 357.8 MB, free: 7.699 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001453/0.00148, allocations: 39.81 kB / 357.8 MB, free: 7.66 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.134e-05/0.001502, allocations: 0 / 357.8 MB, free: 7.66 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.403e-05/0.001516, allocations: 0 / 357.8 MB, free: 7.66 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.835e-05/0.001534, allocations: 0 / 357.8 MB, free: 7.66 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001472/0.001681, allocations: 4 kB / 357.8 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.417e-05/0.001725, allocations: 4 kB / 357.8 MB, free: 7.652 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.683e-05/0.001762, allocations: 7.984 kB / 357.8 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.41e-05/0.001776, allocations: 3.938 kB / 357.8 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.771e-05/0.001834, allocations: 7.938 kB / 357.8 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.001852, allocations: 0 / 357.8 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.69e-06/0.001857, allocations: 4 kB / 357.8 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.00187, allocations: 0 / 357.8 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.049e-05/0.001891, allocations: 7.969 kB / 357.8 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 5.345e-05/0.001944, allocations: 8 kB / 357.8 MB, free: 7.613 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.001947, allocations: 0 / 357.8 MB, free: 7.613 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.001947, allocations: 0 / 357.8 MB, free: 7.613 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.001951, allocations: 0 / 357.8 MB, free: 7.613 MB / 282.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.0003017/0.002253, allocations: 348.4 kB / 358.2 MB, free: 7.234 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.002288, allocations: 8.922 kB / 358.2 MB, free: 7.227 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.002319, allocations: 0.9375 kB / 358.2 MB, free: 7.227 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.681e-05/0.002396, allocations: 117 kB / 358.3 MB, free: 7.086 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.002406, allocations: 4.375 kB / 358.3 MB, free: 7.082 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.002425, allocations: 8.312 kB / 358.3 MB, free: 7.074 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.787e-05/0.002493, allocations: 30.27 kB / 358.3 MB, free: 7.039 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.669e-06/0.002498, allocations: 192 / 358.4 MB, free: 7.039 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.002505, allocations: 384 / 358.4 MB, free: 7.039 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.002516, allocations: 384 / 358.4 MB, free: 7.039 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.728e-05/0.002534, allocations: 15.86 kB / 358.4 MB, free: 7.023 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001088/0.002642, allocations: 112.6 kB / 358.5 MB, free: 6.879 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.51e-05/0.002687, allocations: 31.09 kB / 358.5 MB, free: 6.836 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.522e-05/0.002703, allocations: 11.75 kB / 358.5 MB, free: 6.82 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.002714, allocations: 0 / 358.5 MB, free: 6.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.002742, allocations: 41.31 kB / 358.6 MB, free: 6.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 6.61e-07/0.002743, allocations: 0 / 358.6 MB, free: 6.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002728/0.003016, allocations: 61.62 kB / 358.6 MB, free: 6.703 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.003044, allocations: 55.41 kB / 358.7 MB, free: 6.637 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.333e-05/0.003127, allocations: 157.9 kB / 358.8 MB, free: 6.465 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.003135, allocations: 25.7 kB / 358.9 MB, free: 6.434 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.046e-05/0.003166, allocations: 135.2 kB / 359 MB, free: 6.297 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.00319, allocations: 15.84 kB / 359 MB, free: 6.281 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/0.003214, allocations: 19.38 kB / 359 MB, free: 6.254 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002808/0.003495, allocations: 496.1 kB / 359.5 MB, free: 5.758 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.653e-05/0.003512, allocations: 11.92 kB / 359.5 MB, free: 5.746 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.105e-06/0.00352, allocations: 0 / 359.5 MB, free: 5.746 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.928e-05/0.003549, allocations: 15.69 kB / 359.5 MB, free: 5.727 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.00355, allocations: 0 / 359.5 MB, free: 5.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.684e-05/0.003607, allocations: 41.69 kB / 359.6 MB, free: 5.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.003622, allocations: 8 kB / 359.6 MB, free: 5.672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.003627, allocations: 0 / 359.6 MB, free: 5.672 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.003637, allocations: 0 / 359.6 MB, free: 5.672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.835e-05/0.003705, allocations: 15.98 kB / 359.6 MB, free: 5.656 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.003713, allocations: 7.875 kB / 359.6 MB, free: 5.648 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.089e-05/0.003723, allocations: 0 / 359.6 MB, free: 5.648 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.003728, allocations: 0 / 359.6 MB, free: 5.648 MB / 282.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.143e-05/0.003789, allocations: 160.6 kB / 359.8 MB, free: 5.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-06/0.003795, allocations: 0 / 359.8 MB, free: 5.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.443e-05/0.003879, allocations: 45.38 kB / 359.8 MB, free: 5.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.003881, allocations: 4 kB / 359.8 MB, free: 5.426 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.003883, allocations: 0 / 359.8 MB, free: 5.426 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.003888, allocations: 11.92 kB / 359.8 MB, free: 5.414 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.25e-05/0.00395, allocations: 116.6 kB / 359.9 MB, free: 5.266 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.003951, allocations: 0 / 359.9 MB, free: 5.266 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.572e-05/0.003977, allocations: 4.234 kB / 359.9 MB, free: 5.262 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.00398, allocations: 4 kB / 359.9 MB, free: 5.258 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.003985, allocations: 0 / 359.9 MB, free: 5.258 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.003987, allocations: 3.984 kB / 359.9 MB, free: 5.254 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.003989, allocations: 3.938 kB / 359.9 MB, free: 5.25 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.087e-05/0.004049, allocations: 84.36 kB / 360 MB, free: 5.145 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-06/0.004056, allocations: 7.891 kB / 360 MB, free: 5.137 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-06/0.004063, allocations: 4 kB / 360 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-06/0.004071, allocations: 4 kB / 360 MB, free: 5.129 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.304e-05/0.004084, allocations: 4 kB / 360 MB, free: 5.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.004086, allocations: 0 / 360 MB, free: 5.125 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000102/0.004188, allocations: 127.1 kB / 360.2 MB, free: 5 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004188, allocations: 0 / 360.2 MB, free: 5 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001135/0.004302, allocations: 4 kB / 360.2 MB, free: 4.996 MB / 282.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 6.477e-05/0.004367, allocations: 95.23 kB / 360.3 MB, free: 4.895 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.492e-05/0.004441, allocations: 23.62 kB / 360.3 MB, free: 4.867 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.004443, allocations: 96 / 360.3 MB, free: 4.867 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.068e-05/0.004454, allocations: 19.67 kB / 360.3 MB, free: 4.844 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.759e-05/0.004551, allocations: 4 kB / 360.3 MB, free: 4.84 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001798/0.004731, allocations: 94.47 kB / 360.4 MB, free: 4.719 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.768e-05/0.004759, allocations: 55.34 kB / 360.5 MB, free: 4.645 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.541e-05/0.004774, allocations: 0 / 360.5 MB, free: 4.645 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.004797, allocations: 12.5 kB / 360.5 MB, free: 4.629 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.004797, allocations: 0 / 360.5 MB, free: 4.629 MB / 282.7 MB Notification: Performance of Templates: time 0.001929/0.006726, allocations: 271 kB / 360.7 MB, free: 4.363 MB / 282.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.9024540081154555]