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.0007975/0.0007975, allocations: 80.45 kB / 20.71 MB, free: 3.859 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.001163/0.001163, allocations: 165.6 kB / 23.98 MB, free: 0.582 MB / 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 0.8661/0.8661, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.06013/0.06013, allocations: 18.11 MB / 278.8 MB, free: 11.55 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 2.234e-06/2.234e-06, allocations: 0 / 416.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/3.127e-05, allocations: 3.703 kB / 416.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001187/0.001218, allocations: 0.5143 MB / 416.8 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001567/0.001375, allocations: 32.17 kB / 416.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.428e-05/0.001399, allocations: 0 / 416.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.001416, allocations: 0 / 416.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 2.006e-05/0.001436, allocations: 5.312 kB / 416.9 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.001591, allocations: 11.38 kB / 416.9 MB, free: 12.17 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 5.361e-05/0.001644, allocations: 13.05 kB / 416.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.689e-05/0.001691, allocations: 2.453 kB / 416.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.634e-05/0.001708, allocations: 2.359 kB / 416.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.19e-05/0.00177, allocations: 3.828 kB / 416.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.001792, allocations: 0 / 416.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.552e-06/0.001799, allocations: 1.375 kB / 416.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.001814, allocations: 0.9844 kB / 416.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.015e-05/0.001834, allocations: 2.031 kB / 416.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 6.343e-05/0.001898, allocations: 15.97 kB / 416.9 MB, free: 12.15 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.001899, allocations: 1.375 kB / 416.9 MB, free: 12.15 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.0019, allocations: 4 kB / 416.9 MB, free: 12.15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.001904, allocations: 0 / 416.9 MB, free: 12.15 MB / 330.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.000306/0.00221, allocations: 244.2 kB / 417.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.002245, allocations: 10.52 kB / 417.2 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.002272, allocations: 0.9375 kB / 417.2 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.594e-05/0.002328, allocations: 109.8 kB / 417.3 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.002338, allocations: 4.375 kB / 417.3 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.002359, allocations: 1.75 kB / 417.3 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.04e-05/0.00244, allocations: 37.05 kB / 417.3 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.002447, allocations: 192 / 417.3 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.002456, allocations: 4.375 kB / 417.3 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.00246, allocations: 384 / 417.3 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.38e-05/0.002484, allocations: 7.438 kB / 417.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.793e-05/0.002581, allocations: 102.8 kB / 417.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.301e-05/0.002635, allocations: 25.39 kB / 417.4 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.564e-05/0.00265, allocations: 8.406 kB / 417.5 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.002666, allocations: 4.781 kB / 417.5 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.424e-05/0.00268, allocations: 32.81 kB / 417.5 MB, free: 11.51 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.002681, allocations: 0 / 417.5 MB, free: 11.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002855/0.002967, allocations: 69.83 kB / 417.6 MB, free: 11.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.002991, allocations: 57.42 kB / 417.6 MB, free: 11.4 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.726e-05/0.003028, allocations: 97.34 kB / 417.7 MB, free: 11.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.821e-06/0.003034, allocations: 30.36 kB / 417.7 MB, free: 11.26 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.115e-05/0.003045, allocations: 81.52 kB / 417.8 MB, free: 11.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.003066, allocations: 9.984 kB / 417.8 MB, free: 11.17 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/0.00309, allocations: 17.78 kB / 417.8 MB, free: 11.15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.781e-05/0.003117, allocations: 316.9 kB / 418.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.32e-05/0.003131, allocations: 7.906 kB / 418.2 MB, free: 10.83 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.024e-05/0.003141, allocations: 3.859 kB / 418.2 MB, free: 10.83 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.828e-05/0.003169, allocations: 21.33 kB / 418.2 MB, free: 10.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.00317, allocations: 1.375 kB / 418.2 MB, free: 10.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.445e-05/0.003214, allocations: 46.36 kB / 418.2 MB, free: 10.78 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.003227, allocations: 10.33 kB / 418.2 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.003232, allocations: 2.234 kB / 418.2 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.003245, allocations: 0 / 418.2 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.573e-05/0.00331, allocations: 9.609 kB / 418.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.003315, allocations: 3.938 kB / 418.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.171e-05/0.003327, allocations: 5.375 kB / 418.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.003334, allocations: 1.984 kB / 418.3 MB, free: 10.77 MB / 330.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 3.263e-05/0.003367, allocations: 112.2 kB / 418.4 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-06/0.003371, allocations: 1.562 kB / 418.4 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.395e-05/0.003455, allocations: 55.83 kB / 418.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.003457, allocations: 1.375 kB / 418.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.003463, allocations: 2.703 kB / 418.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.003466, allocations: 5.312 kB / 418.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.025e-05/0.003506, allocations: 97.53 kB / 418.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.003507, allocations: 1.375 kB / 418.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.524e-05/0.003532, allocations: 15.31 kB / 418.6 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.003534, allocations: 1.375 kB / 418.6 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-06/0.003539, allocations: 4 kB / 418.6 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.003541, allocations: 0.5156 kB / 418.6 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.003542, allocations: 1.375 kB / 418.6 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.67e-05/0.003588, allocations: 69.2 kB / 418.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-06/0.003595, allocations: 5.844 kB / 418.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-06/0.003604, allocations: 2.594 kB / 418.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.282e-06/0.00361, allocations: 0 / 418.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/0.003625, allocations: 7.938 kB / 418.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.003628, allocations: 1.375 kB / 418.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.184e-05/0.003639, allocations: 80.59 kB / 418.7 MB, free: 10.31 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00364, allocations: 5.469 kB / 418.7 MB, free: 10.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000123/0.003762, allocations: 2.75 kB / 418.7 MB, free: 10.3 MB / 330.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.371e-05/0.003826, allocations: 99.62 kB / 418.8 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.125e-05/0.003897, allocations: 15.69 kB / 418.8 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.003899, allocations: 0 / 418.8 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.335e-06/0.003907, allocations: 6.297 kB / 418.9 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001006/0.004008, allocations: 6.172 kB / 418.9 MB, free: 10.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001721/0.00418, allocations: 116.4 kB / 419 MB, free: 10.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.828e-05/0.004208, allocations: 69.52 kB / 419 MB, free: 9.992 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.044e-05/0.004229, allocations: 9.875 kB / 419 MB, free: 9.98 MB / 330.7 MB Notification: Performance of SimCode: time 3.2e-07/0.004229, allocations: 1.375 kB / 419 MB, free: 9.98 MB / 330.7 MB Notification: Performance of Templates: time 0.001559/0.005788, allocations: 463.3 kB / 419.5 MB, free: 9.953 MB / 330.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=480 -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.07992897182703] Failed to read output from testmodel.py, exit status != 0: 0.010706157423555851 0.018676592000000002 0.015056256 Calling exit ...