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.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.001795/0.001795, allocations: 105.1 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.00207/0.00207, 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.555/1.555, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.1018/0.1018, allocations: 22.7 MB / 325.4 MB, free: 3.539 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.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: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 71.89 kB / 455.5 MB, free: 3.422 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1417, allocations: 58.02 MB / 0.5015 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.002889/0.1446, allocations: 1.466 MB / 0.5029 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1456, allocations: 0.4988 MB / 0.5034 GB, free: 7.309 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.766e-05/0.1457, allocations: 3.938 kB / 0.5034 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003084/0.146, allocations: 27.84 kB / 0.5034 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.1461, allocations: 23.84 kB / 0.5035 GB, free: 7.254 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.1464, allocations: 47.94 kB / 0.5035 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.1465, allocations: 119.8 kB / 0.5036 GB, free: 7.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1466, allocations: 12 kB / 0.5036 GB, free: 7.078 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.1467, allocations: 51.77 kB / 0.5037 GB, free: 7.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.1469, allocations: 71.78 kB / 0.5038 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.1469, allocations: 8 kB / 0.5038 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.506e-05/0.1469, allocations: 4 kB / 0.5038 GB, free: 6.945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.262e-05/0.147, allocations: 39.89 kB / 0.5038 GB, free: 6.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.367e-05/0.1471, allocations: 35.73 kB / 0.5038 GB, free: 6.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.1472, allocations: 83.58 kB / 0.5039 GB, free: 6.789 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1472, allocations: 0 / 0.5039 GB, free: 6.789 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1472, allocations: 4 kB / 0.5039 GB, free: 6.785 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.1472, allocations: 0 / 0.5039 GB, free: 6.785 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.0009461/0.1482, allocations: 447 kB / 0.5044 GB, free: 6.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1482, allocations: 12.02 kB / 0.5044 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.1483, allocations: 8.891 kB / 0.5044 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004428/0.1487, allocations: 229.8 kB / 0.5046 GB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1487, allocations: 8.375 kB / 0.5046 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.1488, allocations: 4.375 kB / 0.5046 GB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.1489, allocations: 81.91 kB / 0.5047 GB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1489, allocations: 0 / 0.5047 GB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.1489, allocations: 4 kB / 0.5047 GB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1489, allocations: 3.938 kB / 0.5047 GB, free: 5.914 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.1491, allocations: 55.89 kB / 0.5047 GB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006404/0.1497, allocations: 372.6 kB / 0.5051 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.1499, allocations: 82.53 kB / 0.5052 GB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.283e-05/0.1499, allocations: 32.97 kB / 0.5052 GB, free: 5.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.1499, allocations: 0 / 0.5052 GB, free: 5.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.15, allocations: 30.56 kB / 0.5052 GB, free: 5.281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.15, allocations: 4 kB / 0.5052 GB, free: 5.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002909/0.1502, allocations: 129.6 kB / 0.5054 GB, free: 5.145 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.1503, allocations: 55.41 kB / 0.5054 GB, free: 5.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003671/0.1507, allocations: 189.3 kB / 0.5056 GB, free: 4.883 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.1507, allocations: 25.7 kB / 0.5056 GB, free: 4.852 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.661e-05/0.1508, allocations: 108.1 kB / 0.5057 GB, free: 4.742 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.1508, allocations: 27.75 kB / 0.5058 GB, free: 4.715 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.1508, allocations: 21.72 kB / 0.5058 GB, free: 4.688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.151, allocations: 326.8 kB / 0.5061 GB, free: 4.359 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.748e-05/0.151, allocations: 31.97 kB / 0.5061 GB, free: 4.328 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.065e-05/0.1511, allocations: 27.98 kB / 0.5061 GB, free: 4.301 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1512, allocations: 72.83 kB / 0.5062 GB, free: 4.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1512, allocations: 0 / 0.5062 GB, free: 4.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001884/0.1514, allocations: 109.5 kB / 0.5063 GB, free: 4.113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1514, allocations: 4 kB / 0.5063 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1514, allocations: 0 / 0.5063 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1514, allocations: 4 kB / 0.5063 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.1516, allocations: 23.98 kB / 0.5063 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.1516, allocations: 0 / 0.5063 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.1518, allocations: 11.98 kB / 0.5064 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.1518, allocations: 8 kB / 0.5064 GB, free: 4.062 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.0001181/0.1519, allocations: 122.6 kB / 0.5065 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.1519, allocations: 15.91 kB / 0.5065 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.288e-05/0.152, allocations: 16.7 kB / 0.5065 GB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.152, allocations: 7.938 kB / 0.5065 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.152, allocations: 4 kB / 0.5065 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-06/0.152, allocations: 3.984 kB / 0.5065 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000516/0.1525, allocations: 390.7 kB / 0.5069 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1525, allocations: 4.062 kB / 0.5069 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.926e-05/0.1526, allocations: 15.98 kB / 0.5069 GB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1526, allocations: 3.938 kB / 0.5069 GB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.1526, allocations: 4 kB / 0.5069 GB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.1526, allocations: 3.938 kB / 0.5069 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1526, allocations: 11.94 kB / 0.5069 GB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.1529, allocations: 223.6 kB / 0.5072 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.929e-05/0.153, allocations: 97.03 kB / 0.5072 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.153, allocations: 0 / 0.5072 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.1532, allocations: 11.98 kB / 0.5073 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/0.1532, allocations: 11.92 kB / 0.5073 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.1532, allocations: 0 / 0.5073 GB, free: 3.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002722/0.1535, allocations: 151.3 kB / 0.5074 GB, free: 2.883 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1535, allocations: 0 / 0.5074 GB, free: 2.883 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002354/0.1537, allocations: 15.94 kB / 0.5074 GB, free: 2.867 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.0001116/0.1538, allocations: 103.2 kB / 0.5075 GB, free: 2.758 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001682/0.154, allocations: 63.95 kB / 0.5076 GB, free: 2.695 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.154, allocations: 0 / 0.5076 GB, free: 2.695 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.425e-05/0.154, allocations: 35.98 kB / 0.5076 GB, free: 2.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.1543, allocations: 23.36 kB / 0.5076 GB, free: 2.641 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005621/0.1549, allocations: 254.9 kB / 0.5079 GB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.1553, allocations: 0.7002 MB / 0.5086 GB, free: 1.637 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.486e-05/0.1553, allocations: 20.41 kB / 0.5086 GB, free: 1.617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.1554, allocations: 19.44 kB / 0.5086 GB, free: 1.598 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1554, allocations: 0 / 0.5086 GB, free: 1.598 MB / 382.1 MB Notification: Performance of Templates: time 0.003938/0.1593, allocations: 1.019 MB / 0.5096 GB, free: 0.582 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: 5.057714763097465] Failed to read output from testmodel.py, exit status != 0: 0.4624064639210701 0.47371790399999997 0.324027439 Calling exit ...