Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.TITO_rational_zeroInit.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.001376/0.001376, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002445/0.002445, allocations: 191.7 kB / 22.23 MB, free: 5.105 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.542/1.542, allocations: 225.6 MB / 251 MB, free: 13.02 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.113/0.113, allocations: 22.7 MB / 329 MB, free: 2.375 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.ProcessBlocks.TITO_rational_zeroInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.TITO_rational_zeroInit") translateModel(AES.ProcessBlocks.TITO_rational_zeroInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessBlocks.TITO_rational_zeroInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 67.89 kB / 460.7 MB, free: 1 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1413, allocations: 58.06 MB / 0.5066 GB, free: 6.836 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.TITO_rational_zeroInit): time 0.003189/0.1445, allocations: 1.131 MB / 0.5077 GB, free: 5.699 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002319/0.1469, allocations: 1.311 MB / 0.509 GB, free: 4.371 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.147, allocations: 7.938 kB / 0.509 GB, free: 4.363 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004623/0.1475, allocations: 71.55 kB / 0.5091 GB, free: 4.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003243/0.1478, allocations: 75.61 kB / 0.5091 GB, free: 4.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004626/0.1483, allocations: 163.7 kB / 0.5093 GB, free: 4.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009047/0.1492, allocations: 0.538 MB / 0.5098 GB, free: 3.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.1494, allocations: 40.55 kB / 0.5099 GB, free: 3.477 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004684/0.1499, allocations: 207.4 kB / 0.5101 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003846/0.1503, allocations: 179.3 kB / 0.5102 GB, free: 3.098 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.521e-05/0.1503, allocations: 23.94 kB / 0.5103 GB, free: 3.074 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.02e-05/0.1504, allocations: 19.94 kB / 0.5103 GB, free: 3.055 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001764/0.1506, allocations: 99.7 kB / 0.5104 GB, free: 2.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.1507, allocations: 103.2 kB / 0.5105 GB, free: 2.855 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000456/0.1512, allocations: 227 kB / 0.5107 GB, free: 2.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.1512, allocations: 0 / 0.5107 GB, free: 2.633 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1512, allocations: 0 / 0.5107 GB, free: 2.633 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.1512, allocations: 0 / 0.5107 GB, free: 2.633 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.002088/0.1533, allocations: 0.6411 MB / 0.5113 GB, free: 1.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.1533, allocations: 8.031 kB / 0.5113 GB, free: 1.953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.1534, allocations: 28.75 kB / 0.5113 GB, free: 1.926 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.1545, allocations: 346.4 kB / 0.5117 GB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.1545, allocations: 12.31 kB / 0.5117 GB, free: 1.555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.1546, allocations: 12.38 kB / 0.5117 GB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003215/0.1549, allocations: 165.5 kB / 0.5119 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1549, allocations: 0 / 0.5119 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.1549, allocations: 4 kB / 0.5119 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.1549, allocations: 4 kB / 0.5119 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002841/0.1552, allocations: 135.8 kB / 0.512 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.1565, allocations: 0.6207 MB / 0.5126 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006419/0.1571, allocations: 221.2 kB / 0.5128 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.1572, allocations: 69.69 kB / 0.5129 GB, free: 260 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.1572, allocations: 3.984 kB / 0.5129 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.1573, allocations: 38.56 kB / 0.5129 GB, free: 208 kB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.1573, allocations: 0 / 0.5129 GB, free: 208 kB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.3401/0.4974, allocations: 240.5 kB / 0.5131 GB, free: 14.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.4975, allocations: 82.08 kB / 0.5132 GB, free: 14.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.4986, allocations: 427.4 kB / 0.5136 GB, free: 14.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.055e-05/0.4987, allocations: 30.05 kB / 0.5137 GB, free: 14.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.4988, allocations: 156.4 kB / 0.5138 GB, free: 14.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.747e-05/0.4989, allocations: 53.62 kB / 0.5139 GB, free: 14.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.307e-05/0.4989, allocations: 35.3 kB / 0.5139 GB, free: 14.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.796e-05/0.499, allocations: 341.5 kB / 0.5142 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.4991, allocations: 59.34 kB / 0.5143 GB, free: 14.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.4993, allocations: 82.17 kB / 0.5144 GB, free: 14.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.4995, allocations: 158.5 kB / 0.5145 GB, free: 14.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.4995, allocations: 0 / 0.5145 GB, free: 14.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003927/0.4999, allocations: 214 kB / 0.5147 GB, free: 14.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.5, allocations: 4.969 kB / 0.5147 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.5, allocations: 3.125 kB / 0.5147 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.5, allocations: 4.969 kB / 0.5147 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/0.5003, allocations: 51.73 kB / 0.5148 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.5003, allocations: 5.594 kB / 0.5148 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003512/0.5007, allocations: 59.94 kB / 0.5148 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.5007, allocations: 4.375 kB / 0.5148 GB, free: 14.06 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 18 * 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.0001288/0.5008, allocations: 140.5 kB / 0.515 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.139e-05/0.5009, allocations: 24.3 kB / 0.515 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.252e-05/0.501, allocations: 40.66 kB / 0.515 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.501, allocations: 2.281 kB / 0.515 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.501, allocations: 4.781 kB / 0.515 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.501, allocations: 2.312 kB / 0.515 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003602/0.5014, allocations: 268.9 kB / 0.5153 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.5014, allocations: 0 / 0.5153 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.5015, allocations: 27.48 kB / 0.5153 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5015, allocations: 0.9688 kB / 0.5153 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.5016, allocations: 11.84 kB / 0.5153 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.5016, allocations: 2.906 kB / 0.5153 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.5016, allocations: 1.25 kB / 0.5153 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004835/0.5021, allocations: 445.8 kB / 0.5158 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.576e-05/0.5021, allocations: 35.14 kB / 0.5158 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/0.5022, allocations: 10.33 kB / 0.5158 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/0.5026, allocations: 50.19 kB / 0.5159 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.5026, allocations: 9.844 kB / 0.5159 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.5026, allocations: 6.594 kB / 0.5159 GB, free: 13.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007239/0.5033, allocations: 335.3 kB / 0.5162 GB, free: 13.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5033, allocations: 0 / 0.5162 GB, free: 13.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003174/0.5037, allocations: 36.38 kB / 0.5162 GB, free: 13.44 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (P11.x_scaled[1],P12.x_scaled[1],P21.x_scaled[1],P22.x_scaled[1]) * 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 (14): * Single equations (assignments): 14 * 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.0001058/0.5038, allocations: 102.4 kB / 0.5163 GB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002844/0.504, allocations: 149.7 kB / 0.5165 GB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.504, allocations: 0 / 0.5165 GB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.5042, allocations: 70.41 kB / 0.5165 GB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.5046, allocations: 45.2 kB / 0.5166 GB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.506, allocations: 0.5869 MB / 0.5172 GB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.5063, allocations: 0.7779 MB / 0.5179 GB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001539/0.5064, allocations: 51.22 kB / 0.518 GB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.756e-05/0.5065, allocations: 27.17 kB / 0.518 GB, free: 12.39 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5065, allocations: 0 / 0.518 GB, free: 12.39 MB / 382.1 MB Notification: Performance of Templates: time 0.007406/0.5139, allocations: 2.6 MB / 0.5205 GB, free: 12.26 MB / 382.1 MB " [Timeout remaining time 659] make -j1 -f AES_AES.ProcessBlocks.TITO_rational_zeroInit.makefile [Timeout 660] (rm -f AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe ; mkfifo AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe >> ../files/AES_AES.ProcessBlocks.TITO_rational_zeroInit.sim & ./AES_AES.ProcessBlocks.TITO_rational_zeroInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.207293855026364] Failed to read output from testmodel.py, exit status != 0: 0.5231268852949142 0.536111257 0.38172754000000003 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f4263ef97b0>