Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.SOPDT_overdamped.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.001316/0.001316, allocations: 109.5 kB / 17.14 MB, free: 5.93 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.001633/0.001633, allocations: 205.1 kB / 20.11 MB, free: 2.977 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.482/1.482, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1044/0.1044, allocations: 24.03 MB / 333.6 MB, free: 1.566 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.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.ProcessBlocks.SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.SOPDT_overdamped") translateModel(AES.ProcessBlocks.SOPDT_overdamped,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.SOPDT_overdamped") [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.002088/0.002088, allocations: 72.42 kB / 466.7 MB, free: 32.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1374, allocations: 59.55 MB / 0.514 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.004004/0.1414, allocations: 1.485 MB / 0.5154 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.1428, allocations: 0.5338 MB / 0.5159 GB, free: 12.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.143, allocations: 0 / 0.5159 GB, free: 12.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.1433, allocations: 19.86 kB / 0.5159 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.1435, allocations: 27.84 kB / 0.516 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.1438, allocations: 47.88 kB / 0.516 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002974/0.1441, allocations: 123.8 kB / 0.5161 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.1442, allocations: 11.98 kB / 0.5161 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.1443, allocations: 55.77 kB / 0.5162 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.1445, allocations: 67.78 kB / 0.5163 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.029e-05/0.1445, allocations: 8 kB / 0.5163 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.259e-05/0.1446, allocations: 8 kB / 0.5163 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.609e-05/0.1447, allocations: 31.91 kB / 0.5163 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.747e-05/0.1447, allocations: 35.8 kB / 0.5163 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.1449, allocations: 79.58 kB / 0.5164 GB, free: 11.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1449, allocations: 0 / 0.5164 GB, free: 11.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1449, allocations: 0 / 0.5164 GB, free: 11.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.1449, allocations: 0 / 0.5164 GB, free: 11.52 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001024/0.1459, allocations: 450.9 kB / 0.5169 GB, free: 11.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.146, allocations: 12.62 kB / 0.5169 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.07e-05/0.146, allocations: 12.84 kB / 0.5169 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004756/0.1465, allocations: 244.1 kB / 0.5171 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.1465, allocations: 12.38 kB / 0.5171 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.1466, allocations: 4.375 kB / 0.5171 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.1467, allocations: 81.91 kB / 0.5172 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1467, allocations: 0 / 0.5172 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1468, allocations: 0 / 0.5172 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.1468, allocations: 0 / 0.5172 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.1469, allocations: 51.97 kB / 0.5173 GB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007281/0.1476, allocations: 372.6 kB / 0.5176 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.1478, allocations: 74.55 kB / 0.5177 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.99e-05/0.1479, allocations: 40.95 kB / 0.5177 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.1479, allocations: 0 / 0.5177 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.1479, allocations: 30.56 kB / 0.5177 GB, free: 10 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 8.12e-07/0.1479, allocations: 0 / 0.5177 GB, free: 10 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003247/0.1483, allocations: 125.6 kB / 0.5179 GB, free: 9.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.1483, allocations: 59.39 kB / 0.5179 GB, free: 9.805 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000453/0.1488, allocations: 191.7 kB / 0.5181 GB, free: 9.605 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.1488, allocations: 25.7 kB / 0.5181 GB, free: 9.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.1489, allocations: 104.1 kB / 0.5182 GB, free: 9.469 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/0.149, allocations: 27.78 kB / 0.5183 GB, free: 9.441 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/0.149, allocations: 17.72 kB / 0.5183 GB, free: 9.418 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.1492, allocations: 330.8 kB / 0.5186 GB, free: 9.086 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.233e-05/0.1493, allocations: 31.92 kB / 0.5186 GB, free: 9.055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.99e-05/0.1493, allocations: 27.98 kB / 0.5186 GB, free: 9.027 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.1495, allocations: 76.8 kB / 0.5187 GB, free: 8.949 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1495, allocations: 3.938 kB / 0.5187 GB, free: 8.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001793/0.1496, allocations: 105.6 kB / 0.5188 GB, free: 8.836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1497, allocations: 4 kB / 0.5188 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1497, allocations: 0 / 0.5188 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.1497, allocations: 3.984 kB / 0.5188 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.1499, allocations: 23.98 kB / 0.5189 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1499, allocations: 4 kB / 0.5189 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.15, allocations: 15.94 kB / 0.5189 GB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.15, allocations: 4 kB / 0.5189 GB, free: 8.781 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 (8): * Single equations (assignments): 8 * 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 0.00011/0.1502, allocations: 126.5 kB / 0.519 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.1502, allocations: 7.953 kB / 0.519 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.676e-05/0.1502, allocations: 20.66 kB / 0.519 GB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1502, allocations: 0 / 0.519 GB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.1503, allocations: 0 / 0.519 GB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1503, allocations: 4 kB / 0.519 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005659/0.1508, allocations: 398.7 kB / 0.5194 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.1508, allocations: 4.062 kB / 0.5194 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.459e-05/0.1509, allocations: 15.94 kB / 0.5194 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1509, allocations: 3.984 kB / 0.5194 GB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.1509, allocations: 0 / 0.5194 GB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1509, allocations: 0 / 0.5194 GB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.1509, allocations: 3.938 kB / 0.5194 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.1513, allocations: 235.4 kB / 0.5197 GB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.712e-05/0.1514, allocations: 85.06 kB / 0.5197 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.1514, allocations: 0 / 0.5197 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.1516, allocations: 19.97 kB / 0.5198 GB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-05/0.1516, allocations: 3.938 kB / 0.5198 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.1516, allocations: 4 kB / 0.5198 GB, free: 7.766 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002927/0.1519, allocations: 158.3 kB / 0.5199 GB, free: 7.613 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1519, allocations: 0 / 0.5199 GB, free: 7.613 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002394/0.1522, allocations: 15.94 kB / 0.5199 GB, free: 7.598 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Pr.x_scaled[1],Pr.x_scaled[2]) * 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 (6): * Single equations (assignments): 6 * 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 0.0001476/0.1523, allocations: 95.19 kB / 0.52 GB, free: 7.496 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.1525, allocations: 67.95 kB / 0.5201 GB, free: 7.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1525, allocations: 3.938 kB / 0.5201 GB, free: 7.426 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.583e-05/0.1526, allocations: 35.92 kB / 0.5201 GB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.1529, allocations: 18.17 kB / 0.5201 GB, free: 7.375 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006295/0.1535, allocations: 258.8 kB / 0.5204 GB, free: 7.098 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/0.154, allocations: 0.7041 MB / 0.5211 GB, free: 6.367 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.857e-05/0.154, allocations: 20.41 kB / 0.5211 GB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.1e-05/0.1541, allocations: 11.44 kB / 0.5211 GB, free: 6.336 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1541, allocations: 0 / 0.5211 GB, free: 6.336 MB / 382.1 MB Notification: Performance of Templates: time 0.004373/0.1585, allocations: 1.02 MB / 0.5221 GB, free: 5.316 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.ProcessBlocks.SOPDT_overdamped.makefile [Timeout 660] (rm -f AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; mkfifo AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.SOPDT_overdamped.pipe >> ../files/AES_AES.ProcessBlocks.SOPDT_overdamped.sim & ./AES_AES.ProcessBlocks.SOPDT_overdamped -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessBlocks.SOPDT_overdamped.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.798050377517939] Failed to read output from testmodel.py, exit status != 0: 0.16638502851128578 0.180559766 0.032759385 Calling exit ...