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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 105.3 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 199.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.1009/0.1009, allocations: 22.7 MB / 325.4 MB, free: 3.547 MB / 254.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.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: 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 0.001952/0.001952, allocations: 67.83 kB / 457.6 MB, free: 1.297 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1389, allocations: 58.01 MB / 0.5036 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.00188/0.1408, allocations: 0.5223 MB / 0.5041 GB, free: 6.656 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002036/0.141, allocations: 35.88 kB / 0.5041 GB, free: 6.621 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/0.141, allocations: 0 / 0.5041 GB, free: 6.621 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.052e-05/0.1411, allocations: 3.938 kB / 0.5041 GB, free: 6.617 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.07e-05/0.1411, allocations: 0 / 0.5041 GB, free: 6.617 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.1413, allocations: 8 kB / 0.5041 GB, free: 6.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.603e-05/0.1414, allocations: 8 kB / 0.5041 GB, free: 6.602 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.961e-05/0.1414, allocations: 7.969 kB / 0.5041 GB, free: 6.594 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.355e-05/0.1414, allocations: 4 kB / 0.5041 GB, free: 6.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.915e-05/0.1415, allocations: 7.938 kB / 0.5041 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.1415, allocations: 0 / 0.5041 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.194e-06/0.1415, allocations: 0 / 0.5041 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.1416, allocations: 3.938 kB / 0.5042 GB, free: 6.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.1416, allocations: 7.984 kB / 0.5042 GB, free: 6.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.664e-05/0.1417, allocations: 3.938 kB / 0.5042 GB, free: 6.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1417, allocations: 0 / 0.5042 GB, free: 6.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1417, allocations: 0 / 0.5042 GB, free: 6.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.1417, allocations: 0 / 0.5042 GB, free: 6.566 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.0005513/0.1422, allocations: 331.5 kB / 0.5045 GB, free: 6.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.1423, allocations: 8.031 kB / 0.5045 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.1423, allocations: 0.9375 kB / 0.5045 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.1425, allocations: 164.4 kB / 0.5046 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.1425, allocations: 4.375 kB / 0.5047 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.1425, allocations: 4.328 kB / 0.5047 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.1426, allocations: 34.27 kB / 0.5047 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1426, allocations: 192 / 0.5047 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1426, allocations: 3.938 kB / 0.5047 GB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1426, allocations: 4 kB / 0.5047 GB, free: 5.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.133e-05/0.1427, allocations: 11.92 kB / 0.5047 GB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001999/0.1429, allocations: 157.7 kB / 0.5049 GB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.191e-05/0.1429, allocations: 22.61 kB / 0.5049 GB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.754e-05/0.143, allocations: 12.84 kB / 0.5049 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.143, allocations: 0 / 0.5049 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.143, allocations: 34.62 kB / 0.5049 GB, free: 5.625 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.143, allocations: 7.938 kB / 0.5049 GB, free: 5.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004151/0.1434, allocations: 65.56 kB / 0.505 GB, free: 5.547 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.1435, allocations: 51.41 kB / 0.505 GB, free: 5.484 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.361e-05/0.1436, allocations: 97.84 kB / 0.5051 GB, free: 5.379 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.1436, allocations: 25.7 kB / 0.5052 GB, free: 5.348 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.176e-05/0.1436, allocations: 84.14 kB / 0.5052 GB, free: 5.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.1437, allocations: 15.84 kB / 0.5053 GB, free: 5.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.1437, allocations: 14.03 kB / 0.5053 GB, free: 5.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1438, allocations: 318.8 kB / 0.5056 GB, free: 4.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.708e-05/0.1439, allocations: 4 kB / 0.5056 GB, free: 4.902 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.268e-05/0.1439, allocations: 4 kB / 0.5056 GB, free: 4.898 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.109e-05/0.1439, allocations: 20.8 kB / 0.5056 GB, free: 4.875 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1439, allocations: 3.938 kB / 0.5056 GB, free: 4.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.71e-05/0.144, allocations: 41.69 kB / 0.5056 GB, free: 4.824 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.144, allocations: 11.94 kB / 0.5057 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.144, allocations: 0 / 0.5057 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.144, allocations: 4 kB / 0.5057 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.216e-05/0.1441, allocations: 11.98 kB / 0.5057 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1441, allocations: 0 / 0.5057 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.071e-05/0.1442, allocations: 0 / 0.5057 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.1442, allocations: 0 / 0.5057 GB, free: 4.797 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 8.774e-05/0.1442, allocations: 114.6 kB / 0.5058 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.004e-05/0.1443, allocations: 3.938 kB / 0.5058 GB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/0.1444, allocations: 61.11 kB / 0.5058 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1444, allocations: 4 kB / 0.5058 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1444, allocations: 0 / 0.5058 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1444, allocations: 0 / 0.5058 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.1445, allocations: 153.7 kB / 0.506 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1445, allocations: 0 / 0.506 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.84e-05/0.1446, allocations: 8 kB / 0.506 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1446, allocations: 3.938 kB / 0.506 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.1446, allocations: 0 / 0.506 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1446, allocations: 0 / 0.506 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1446, allocations: 0 / 0.506 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.51e-05/0.1447, allocations: 73.3 kB / 0.5061 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.1448, allocations: 81.06 kB / 0.5062 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.1448, allocations: 15.92 kB / 0.5062 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.852e-05/0.1448, allocations: 48 / 0.5062 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/0.1448, allocations: 3.984 kB / 0.5062 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-06/0.1448, allocations: 0 / 0.5062 GB, free: 4.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.734e-05/0.1449, allocations: 79.28 kB / 0.5062 GB, free: 4.102 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1449, allocations: 0 / 0.5062 GB, free: 4.102 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001718/0.145, allocations: 8.031 kB / 0.5063 GB, free: 4.094 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 9.47e-05/0.1451, allocations: 95.25 kB / 0.5063 GB, free: 3.992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.831e-05/0.1452, allocations: 19.92 kB / 0.5064 GB, free: 3.973 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1452, allocations: 0 / 0.5064 GB, free: 3.973 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.788e-05/0.1452, allocations: 8 kB / 0.5064 GB, free: 3.965 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.1454, allocations: 7.281 kB / 0.5064 GB, free: 3.961 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002279/0.1456, allocations: 96.83 kB / 0.5065 GB, free: 3.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.1459, allocations: 0.6807 MB / 0.5071 GB, free: 3.133 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.788e-05/0.1459, allocations: 0 / 0.5071 GB, free: 3.133 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.146, allocations: 7.438 kB / 0.5071 GB, free: 3.125 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.146, allocations: 0 / 0.5071 GB, free: 3.125 MB / 382.1 MB Notification: Performance of Templates: time 0.002548/0.1485, allocations: 257.1 kB / 0.5074 GB, free: 2.875 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.019884372130036] Failed to read output from testmodel.py, exit status != 0: 0.1564767905510962 0.39136780800000004 0.247039578 Calling exit ...