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.001346/0.001346, 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.001875/0.001875, 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.559/1.559, 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.1204/0.1204, allocations: 22.7 MB / 329 MB, free: 2.387 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.002002/0.002002, allocations: 63.91 kB / 460.7 MB, free: 1.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.144, allocations: 58.06 MB / 0.5066 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.002845/0.1468, allocations: 1.475 MB / 0.5081 GB, free: 5.359 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.1478, allocations: 0.5026 MB / 0.5085 GB, free: 4.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.362e-05/0.1479, allocations: 0 / 0.5085 GB, free: 4.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.1482, allocations: 35.77 kB / 0.5086 GB, free: 4.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.1484, allocations: 23.86 kB / 0.5086 GB, free: 4.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.1486, allocations: 59.84 kB / 0.5087 GB, free: 4.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002483/0.1489, allocations: 143.8 kB / 0.5088 GB, free: 4.594 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.149, allocations: 15.98 kB / 0.5088 GB, free: 4.578 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.1491, allocations: 59.75 kB / 0.5089 GB, free: 4.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.1492, allocations: 59.81 kB / 0.5089 GB, free: 4.461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.1492, allocations: 8 kB / 0.5089 GB, free: 4.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.971e-05/0.1493, allocations: 8 kB / 0.5089 GB, free: 4.445 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.585e-05/0.1493, allocations: 39.83 kB / 0.509 GB, free: 4.406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.801e-05/0.1494, allocations: 39.72 kB / 0.509 GB, free: 4.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.1496, allocations: 79.66 kB / 0.5091 GB, free: 4.289 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1496, allocations: 0 / 0.5091 GB, free: 4.289 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1496, allocations: 0 / 0.5091 GB, free: 4.289 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1496, allocations: 0 / 0.5091 GB, free: 4.289 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.0009052/0.1505, allocations: 369.9 kB / 0.5094 GB, free: 3.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1505, allocations: 12.03 kB / 0.5095 GB, free: 3.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.492e-05/0.1506, allocations: 8.891 kB / 0.5095 GB, free: 3.879 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004737/0.151, allocations: 174.3 kB / 0.5096 GB, free: 3.684 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.151, allocations: 12.31 kB / 0.5096 GB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.1511, allocations: 4.375 kB / 0.5096 GB, free: 3.668 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.1512, allocations: 77.97 kB / 0.5097 GB, free: 3.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.1513, allocations: 3.984 kB / 0.5097 GB, free: 3.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.1513, allocations: 0 / 0.5097 GB, free: 3.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1513, allocations: 0 / 0.5097 GB, free: 3.582 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.1514, allocations: 51.95 kB / 0.5098 GB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006809/0.1521, allocations: 347.6 kB / 0.5101 GB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.1522, allocations: 82.53 kB / 0.5102 GB, free: 3.059 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.62e-05/0.1523, allocations: 32.97 kB / 0.5102 GB, free: 3.023 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.1523, allocations: 96 / 0.5102 GB, free: 3.023 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/0.1524, allocations: 34.5 kB / 0.5102 GB, free: 2.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.1524, allocations: 3.938 kB / 0.5103 GB, free: 2.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003117/0.1527, allocations: 129.6 kB / 0.5104 GB, free: 2.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.1527, allocations: 51.41 kB / 0.5104 GB, free: 2.781 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003917/0.1531, allocations: 195.1 kB / 0.5106 GB, free: 2.582 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.1532, allocations: 25.7 kB / 0.5106 GB, free: 2.551 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.246e-05/0.1532, allocations: 104.1 kB / 0.5107 GB, free: 2.445 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.1533, allocations: 27.78 kB / 0.5108 GB, free: 2.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.1533, allocations: 17.72 kB / 0.5108 GB, free: 2.395 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1535, allocations: 330.8 kB / 0.5111 GB, free: 2.062 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.765e-05/0.1535, allocations: 27.98 kB / 0.5111 GB, free: 2.035 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.787e-05/0.1536, allocations: 35.91 kB / 0.5112 GB, free: 2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.1537, allocations: 72.83 kB / 0.5112 GB, free: 1.926 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1537, allocations: 0 / 0.5112 GB, free: 1.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001749/0.1539, allocations: 109.6 kB / 0.5113 GB, free: 1.812 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.1539, allocations: 6.188 kB / 0.5113 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.1539, allocations: 0 / 0.5113 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1539, allocations: 0 / 0.5113 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.1542, allocations: 27.98 kB / 0.5114 GB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.1542, allocations: 4.188 kB / 0.5114 GB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.1543, allocations: 15.98 kB / 0.5114 GB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.1543, allocations: 8 kB / 0.5114 GB, free: 1.754 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.0001139/0.1544, allocations: 121.8 kB / 0.5115 GB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.1545, allocations: 7.953 kB / 0.5115 GB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/0.1545, allocations: 16.72 kB / 0.5115 GB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/0.1545, allocations: 0 / 0.5115 GB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/0.1545, allocations: 7.984 kB / 0.5115 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1546, allocations: 4 kB / 0.5115 GB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005574/0.1551, allocations: 369.4 kB / 0.5119 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1551, allocations: 0 / 0.5119 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.385e-05/0.1552, allocations: 15.98 kB / 0.5119 GB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1552, allocations: 0 / 0.5119 GB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.1552, allocations: 7.938 kB / 0.5119 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1552, allocations: 0 / 0.5119 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.1552, allocations: 3.938 kB / 0.5119 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/0.1555, allocations: 231.5 kB / 0.5121 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.01e-05/0.1556, allocations: 11.94 kB / 0.5121 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.1556, allocations: 3.984 kB / 0.5122 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.1557, allocations: 15.92 kB / 0.5122 GB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.1558, allocations: 11.92 kB / 0.5122 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.1558, allocations: 4 kB / 0.5122 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002908/0.1561, allocations: 147.3 kB / 0.5123 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1561, allocations: 0 / 0.5123 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.1563, allocations: 23.88 kB / 0.5123 GB, free: 0.6914 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.0001159/0.1564, allocations: 95.23 kB / 0.5124 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.1566, allocations: 59.97 kB / 0.5125 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1566, allocations: 0 / 0.5125 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.958e-05/0.1567, allocations: 35.92 kB / 0.5125 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.157, allocations: 27.42 kB / 0.5126 GB, free: 484 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006039/0.1576, allocations: 255.3 kB / 0.5128 GB, free: 200 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2706/0.4282, allocations: 0.6978 MB / 0.5135 GB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001915/0.4284, allocations: 22.45 kB / 0.5135 GB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.311e-05/0.4285, allocations: 11.56 kB / 0.5135 GB, free: 14.11 MB / 382.1 MB Notification: Performance of SimCode: time 2.295e-06/0.4285, allocations: 0.9688 kB / 0.5135 GB, free: 14.11 MB / 382.1 MB Notification: Performance of Templates: time 0.005364/0.4339, allocations: 1.062 MB / 0.5145 GB, free: 14.11 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.217253008857369] Failed to read output from testmodel.py, exit status != 0: 0.4431069493293762 0.46256490999999994 0.30933165100000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f3a37b817b0>