Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_2378TetrachlorodibenzoPDioxin.D_2378TetrachlorodibenzoPDioxin_Salvan2001_reference.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.002506/0.002506, allocations: 101.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.002316/0.002316, allocations: 214.4 kB / 22.25 MB, free: 3.566 MB / 13.93 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.71/1.71, allocations: 230.6 MB / 256 MB, free: 9.578 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 1.429/1.429, allocations: 316.7 MB / 0.6144 GB, free: 93.06 MB / 410.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/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(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_2378TetrachlorodibenzoPDioxin.D_2378TetrachlorodibenzoPDioxin_Salvan2001_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_2378TetrachlorodibenzoPDioxin.D_2378TetrachlorodibenzoPDioxin_Salvan2001_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_2378TetrachlorodibenzoPDioxin.D_2378TetrachlorodibenzoPDioxin_Salvan2001_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_2378TetrachlorodibenzoPDioxin.D_2378TetrachlorodibenzoPDioxin_Salvan2001_reference") [Timeout 660] "Notification: Pharmacolibrary 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.004028/0.004028, allocations: 77.19 kB / 0.775 GB, free: 14.71 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1532, allocations: 73.98 MB / 0.8472 GB, free: 4.867 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_2378TetrachlorodibenzoPDioxin.D_2378TetrachlorodibenzoPDioxin_Salvan2001_reference): time 0.003372/0.1566, allocations: 1.852 MB / 0.8491 GB, free: 3.023 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.1578, allocations: 0.5376 MB / 0.8496 GB, free: 2.484 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.91e-05/0.1578, allocations: 0.5938 kB / 0.8496 GB, free: 2.484 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.1579, allocations: 20.42 kB / 0.8496 GB, free: 2.465 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003659/0.1583, allocations: 60.83 kB / 0.8497 GB, free: 2.406 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.1585, allocations: 65.83 kB / 0.8497 GB, free: 2.344 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002789/0.1588, allocations: 163.3 kB / 0.8499 GB, free: 2.184 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.868e-05/0.1588, allocations: 5.906 kB / 0.8499 GB, free: 2.18 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.159, allocations: 76.33 kB / 0.85 GB, free: 2.105 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.1592, allocations: 84.14 kB / 0.85 GB, free: 2.023 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.354e-05/0.1593, allocations: 8 kB / 0.85 GB, free: 2.016 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.611e-05/0.1593, allocations: 8.562 kB / 0.85 GB, free: 2.008 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.189e-05/0.1594, allocations: 32.39 kB / 0.8501 GB, free: 1.977 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.347e-05/0.1595, allocations: 51.78 kB / 0.8501 GB, free: 1.926 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.1596, allocations: 96.16 kB / 0.8502 GB, free: 1.832 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.1596, allocations: 0.5625 kB / 0.8502 GB, free: 1.832 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1596, allocations: 0 / 0.8502 GB, free: 1.832 MB / 474.8 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1596, allocations: 0.6562 kB / 0.8502 GB, free: 1.832 MB / 474.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008809/0.1605, allocations: 393.2 kB / 0.8506 GB, free: 1.414 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1605, allocations: 8.031 kB / 0.8506 GB, free: 1.406 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.213e-05/0.1606, allocations: 21.41 kB / 0.8506 GB, free: 1.387 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.1609, allocations: 147.5 kB / 0.8508 GB, free: 1.219 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.1609, allocations: 12.38 kB / 0.8508 GB, free: 1.207 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.1609, allocations: 8.719 kB / 0.8508 GB, free: 1.199 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.1612, allocations: 102.3 kB / 0.8509 GB, free: 1.094 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1612, allocations: 0 / 0.8509 GB, free: 1.094 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1612, allocations: 0.5938 kB / 0.8509 GB, free: 1.094 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1612, allocations: 0.625 kB / 0.8509 GB, free: 1.094 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003057/0.1615, allocations: 80.55 kB / 0.851 GB, free: 1.016 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005522/0.1621, allocations: 288.8 kB / 0.8512 GB, free: 0.7031 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004447/0.1625, allocations: 143.5 kB / 0.8514 GB, free: 0.5547 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.1627, allocations: 53.31 kB / 0.8514 GB, free: 0.5 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.1627, allocations: 0.5938 kB / 0.8514 GB, free: 0.5 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002919/0.163, allocations: 111.9 kB / 0.8515 GB, free: 388 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.163, allocations: 0.5 kB / 0.8515 GB, free: 388 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006447/0.1637, allocations: 210.3 kB / 0.8517 GB, free: 176 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.1637, allocations: 56.16 kB / 0.8518 GB, free: 108 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.1639, allocations: 153.3 kB / 0.8519 GB, free: 15.95 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.164, allocations: 35.45 kB / 0.852 GB, free: 15.91 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.067e-05/0.1641, allocations: 104.1 kB / 0.8521 GB, free: 15.8 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.1641, allocations: 43.64 kB / 0.8521 GB, free: 15.76 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-05/0.1642, allocations: 37.7 kB / 0.8521 GB, free: 15.72 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.1644, allocations: 332 kB / 0.8525 GB, free: 15.39 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.1646, allocations: 81.66 kB / 0.8525 GB, free: 15.3 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002985/0.1649, allocations: 201.5 kB / 0.8527 GB, free: 15.07 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/0.1652, allocations: 142.4 kB / 0.8529 GB, free: 14.93 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.1653, allocations: 4 kB / 0.8529 GB, free: 14.92 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005147/0.1658, allocations: 237.9 kB / 0.8531 GB, free: 14.67 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000258/0.166, allocations: 37.7 kB / 0.8531 GB, free: 14.63 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.166, allocations: 0 / 0.8531 GB, free: 14.63 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.166, allocations: 2.531 kB / 0.8531 GB, free: 14.63 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.1662, allocations: 27.92 kB / 0.8532 GB, free: 14.6 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.1662, allocations: 3.984 kB / 0.8532 GB, free: 14.6 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.1664, allocations: 23.88 kB / 0.8532 GB, free: 14.57 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.1664, allocations: 8 kB / 0.8532 GB, free: 14.57 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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.0001231/0.1666, allocations: 119.3 kB / 0.8533 GB, free: 14.44 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.1666, allocations: 11.95 kB / 0.8533 GB, free: 14.43 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004763/0.1671, allocations: 175.7 kB / 0.8535 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.1671, allocations: 0 / 0.8535 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1671, allocations: 3.938 kB / 0.8535 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.1671, allocations: 3.984 kB / 0.8535 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.1673, allocations: 154.2 kB / 0.8536 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1673, allocations: 4 kB / 0.8536 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.1674, allocations: 28.7 kB / 0.8537 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1675, allocations: 0 / 0.8537 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.1675, allocations: 8.688 kB / 0.8537 GB, free: 14.03 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1675, allocations: 0 / 0.8537 GB, free: 14.03 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1675, allocations: 4.734 kB / 0.8537 GB, free: 14.02 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006461/0.1681, allocations: 250.1 kB / 0.8539 GB, free: 13.76 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.731e-05/0.1682, allocations: 11.92 kB / 0.8539 GB, free: 13.75 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.1682, allocations: 12.48 kB / 0.8539 GB, free: 13.74 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.1683, allocations: 8.609 kB / 0.854 GB, free: 13.73 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.834e-05/0.1684, allocations: 16.55 kB / 0.854 GB, free: 13.71 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.1684, allocations: 4.484 kB / 0.854 GB, free: 13.71 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001291/0.1685, allocations: 119.2 kB / 0.8541 GB, free: 13.59 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.1685, allocations: 0.625 kB / 0.8541 GB, free: 13.59 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000229/0.1688, allocations: 32.53 kB / 0.8541 GB, free: 13.56 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q[1],qAbsorbed) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001382/0.1689, allocations: 107.9 kB / 0.8542 GB, free: 13.45 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005056/0.1694, allocations: 214 kB / 0.8544 GB, free: 13.22 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1694, allocations: 0.5312 kB / 0.8544 GB, free: 13.22 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.1696, allocations: 64.45 kB / 0.8545 GB, free: 13.16 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.1699, allocations: 37.91 kB / 0.8545 GB, free: 13.12 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007947/0.1707, allocations: 333.9 kB / 0.8548 GB, free: 12.78 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.1708, allocations: 103.4 kB / 0.8549 GB, free: 12.66 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.1709, allocations: 24.05 kB / 0.855 GB, free: 12.64 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.65e-05/0.171, allocations: 16.06 kB / 0.855 GB, free: 12.62 MB / 490.8 MB Notification: Performance of SimCode: time 3.91e-07/0.171, allocations: 0.5 kB / 0.855 GB, free: 12.62 MB / 490.8 MB Notification: Performance of Templates: time 0.2561/0.4271, allocations: 2.643 MB / 0.8576 GB, free: 28.17 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_2378TetrachlorodibenzoPDioxin.D_2378TetrachlorodibenzoPDioxin_Salvan2001_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_2378TetrachlorodibenzoPDioxin.D_2378TetrachlorodibenzoPDioxin_Salvan2001_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_2378TetrachlorodibenzoPDioxin.D_2378TetrachlorodibenzoPDioxin_Salvan2001_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_2378TetrachlorodibenzoPDioxin.D_2378TetrachlorodibenzoPDioxin_Salvan2001_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_2378TetrachlorodibenzoPDioxin.D_2378TetrachlorodibenzoPDioxin_Salvan2001_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_2378TetrachlorodibenzoPDioxin.D_2378TetrachlorodibenzoPDioxin_Salvan2001_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_2378TetrachlorodibenzoPDioxin.D_2378TetrachlorodibenzoPDioxin_Salvan2001_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.316795062972233]