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.001368/0.001368, allocations: 100.3 kB / 19.72 MB, free: 1.785 MB / 14.72 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.001496/0.001496, allocations: 210.4 kB / 23.01 MB, free: 4.625 MB / 14.72 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.57/1.57, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.1125/0.1125, allocations: 24.03 MB / 337.2 MB, free: 11.34 MB / 270.1 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002854/0.002854, allocations: 63.91 kB / 474.3 MB, free: 5.906 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4254/0.4283, allocations: 59.57 MB / 0.5214 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001644/0.4299, allocations: 0.5148 MB / 0.5219 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001752/0.4301, allocations: 34.95 kB / 0.5219 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.921e-05/0.4301, allocations: 0 / 0.5219 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.913e-05/0.4301, allocations: 0 / 0.5219 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.463e-05/0.4302, allocations: 5.062 kB / 0.5219 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.4303, allocations: 3.625 kB / 0.5219 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.193e-05/0.4304, allocations: 13.53 kB / 0.5219 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.705e-05/0.4304, allocations: 2.219 kB / 0.5219 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.951e-05/0.4304, allocations: 3.016 kB / 0.5219 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.757e-05/0.4305, allocations: 7.281 kB / 0.5219 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.4305, allocations: 1.406 kB / 0.5219 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.763e-06/0.4305, allocations: 0 / 0.5219 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.4306, allocations: 9.938 kB / 0.522 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.976e-05/0.4306, allocations: 0.7031 kB / 0.522 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.127e-05/0.4306, allocations: 4.516 kB / 0.522 GB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4306, allocations: 0 / 0.522 GB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4306, allocations: 1.375 kB / 0.522 GB, free: 10.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.4306, allocations: 4 kB / 0.522 GB, free: 10.09 MB / 382.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.0003555/0.431, allocations: 246.9 kB / 0.5222 GB, free: 9.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.431, allocations: 11 kB / 0.5222 GB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.4311, allocations: 6.234 kB / 0.5222 GB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.99e-05/0.4311, allocations: 104.2 kB / 0.5223 GB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.4312, allocations: 1.781 kB / 0.5223 GB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.4312, allocations: 2.688 kB / 0.5223 GB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.702e-05/0.4313, allocations: 34.34 kB / 0.5223 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.4313, allocations: 1.5 kB / 0.5224 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.4313, allocations: 8.641 kB / 0.5224 GB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.4313, allocations: 0 / 0.5224 GB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.253e-05/0.4313, allocations: 11.12 kB / 0.5224 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001141/0.4314, allocations: 102.6 kB / 0.5225 GB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.602e-05/0.4315, allocations: 25.17 kB / 0.5225 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.915e-05/0.4315, allocations: 7.891 kB / 0.5225 GB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.4315, allocations: 1.406 kB / 0.5225 GB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.4315, allocations: 44.48 kB / 0.5225 GB, free: 9.441 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.4315, allocations: 0 / 0.5225 GB, free: 9.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003149/0.4319, allocations: 69.06 kB / 0.5226 GB, free: 9.395 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.4319, allocations: 58.47 kB / 0.5227 GB, free: 9.328 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.27e-05/0.4319, allocations: 93.81 kB / 0.5228 GB, free: 9.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.824e-06/0.4319, allocations: 25.7 kB / 0.5228 GB, free: 9.199 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.373e-05/0.432, allocations: 80.14 kB / 0.5229 GB, free: 9.117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.432, allocations: 17.23 kB / 0.5229 GB, free: 9.105 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.432, allocations: 14.11 kB / 0.5229 GB, free: 9.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.884e-05/0.4321, allocations: 311.8 kB / 0.5232 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.751e-05/0.4321, allocations: 11.3 kB / 0.5232 GB, free: 8.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.336e-05/0.4321, allocations: 5.312 kB / 0.5232 GB, free: 8.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.795e-05/0.4321, allocations: 17.11 kB / 0.5232 GB, free: 8.758 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.4321, allocations: 4.891 kB / 0.5232 GB, free: 8.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.764e-05/0.4322, allocations: 44.27 kB / 0.5233 GB, free: 8.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.4322, allocations: 4.406 kB / 0.5233 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4322, allocations: 1.125 kB / 0.5233 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.4322, allocations: 3.938 kB / 0.5233 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.793e-05/0.4323, allocations: 9.078 kB / 0.5233 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.4323, allocations: 0 / 0.5233 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.667e-05/0.4324, allocations: 6.031 kB / 0.5233 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.4324, allocations: 0.5625 kB / 0.5233 GB, free: 8.711 MB / 382.1 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.344e-05/0.4324, allocations: 112.8 kB / 0.5234 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.767e-06/0.4324, allocations: 0.9062 kB / 0.5234 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/0.4326, allocations: 57.95 kB / 0.5234 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4326, allocations: 0 / 0.5234 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.4326, allocations: 0.6875 kB / 0.5234 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.4326, allocations: 4.547 kB / 0.5235 GB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.033e-05/0.4326, allocations: 102.2 kB / 0.5236 GB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4326, allocations: 1.406 kB / 0.5236 GB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.088e-05/0.4327, allocations: 8.422 kB / 0.5236 GB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4327, allocations: 0 / 0.5236 GB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.4327, allocations: 5.469 kB / 0.5236 GB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4327, allocations: 4.5 kB / 0.5236 GB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4327, allocations: 3.938 kB / 0.5236 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.915e-05/0.4328, allocations: 74.38 kB / 0.5236 GB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-06/0.4328, allocations: 1.344 kB / 0.5236 GB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.4328, allocations: 1.781 kB / 0.5236 GB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.069e-05/0.4328, allocations: 5.734 kB / 0.5237 GB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.397e-05/0.4328, allocations: 5.922 kB / 0.5237 GB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.4328, allocations: 0.75 kB / 0.5237 GB, free: 8.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.259e-05/0.4329, allocations: 78.47 kB / 0.5237 GB, free: 8.246 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4329, allocations: 4.031 kB / 0.5237 GB, free: 8.242 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001813/0.4331, allocations: 11.66 kB / 0.5237 GB, free: 8.234 MB / 382.1 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.873e-05/0.4331, allocations: 95.06 kB / 0.5238 GB, free: 8.145 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.319e-05/0.4332, allocations: 20.95 kB / 0.5239 GB, free: 8.137 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4332, allocations: 0 / 0.5239 GB, free: 8.137 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.542e-05/0.4332, allocations: 5.703 kB / 0.5239 GB, free: 8.137 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.4334, allocations: 3.719 kB / 0.5239 GB, free: 8.137 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002113/0.4336, allocations: 105.2 kB / 0.524 GB, free: 8.023 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.338e-05/0.4337, allocations: 58.98 kB / 0.524 GB, free: 7.953 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.259e-05/0.4337, allocations: 5.297 kB / 0.524 GB, free: 7.949 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.4337, allocations: 8.938 kB / 0.524 GB, free: 7.945 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4337, allocations: 0 / 0.524 GB, free: 7.945 MB / 382.1 MB Notification: Performance of Templates: time 0.002711/0.4364, allocations: 238.2 kB / 0.5243 GB, free: 7.898 MB / 382.1 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: 5.195760352537036] Failed to read output from testmodel.py, exit status != 0: 0.4468850679695606 0.460800728 0.026341266000000002 Calling exit ...