Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2011_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.002015/0.002015, allocations: 105.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.002195/0.002195, allocations: 211.6 kB / 22.25 MB, free: 3.582 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.85/1.85, allocations: 230.6 MB / 256 MB, free: 9.633 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.467/1.467, allocations: 316.7 MB / 0.6144 GB, free: 93.05 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.Diazoxon.Diazoxon_Kretschmann2011_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2011_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2011_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2011_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.003995/0.003995, allocations: 76.55 kB / 0.775 GB, free: 14.75 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1546, allocations: 74 MB / 0.8472 GB, free: 4.887 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2011_reference): time 0.004305/0.159, allocations: 1.805 MB / 0.849 GB, free: 3.082 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.1605, allocations: 0.5453 MB / 0.8495 GB, free: 2.535 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.299e-05/0.1605, allocations: 0.5 kB / 0.8495 GB, free: 2.535 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.1606, allocations: 12.42 kB / 0.8496 GB, free: 2.523 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004215/0.1611, allocations: 72.72 kB / 0.8496 GB, free: 2.453 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005252/0.1616, allocations: 61.47 kB / 0.8497 GB, free: 2.398 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003485/0.1619, allocations: 164 kB / 0.8498 GB, free: 2.238 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.395e-05/0.162, allocations: 5.312 kB / 0.8498 GB, free: 2.234 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.1622, allocations: 76.19 kB / 0.8499 GB, free: 2.16 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003406/0.1625, allocations: 88.2 kB / 0.85 GB, free: 2.074 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.579e-05/0.1626, allocations: 8.531 kB / 0.85 GB, free: 2.066 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.182e-05/0.1626, allocations: 4.531 kB / 0.85 GB, free: 2.062 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.442e-05/0.1627, allocations: 31.91 kB / 0.85 GB, free: 2.031 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.1628, allocations: 48.41 kB / 0.8501 GB, free: 1.984 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.163, allocations: 99.56 kB / 0.8502 GB, free: 1.887 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.163, allocations: 0.5938 kB / 0.8502 GB, free: 1.887 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.134e-06/0.163, allocations: 0.5625 kB / 0.8502 GB, free: 1.887 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.163, allocations: 0 / 0.8502 GB, free: 1.887 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.001109/0.1641, allocations: 390.6 kB / 0.8506 GB, free: 1.473 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.1642, allocations: 15.89 kB / 0.8506 GB, free: 1.457 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.37e-05/0.1643, allocations: 12.84 kB / 0.8506 GB, free: 1.445 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.1646, allocations: 154.8 kB / 0.8507 GB, free: 1.27 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.1646, allocations: 8.375 kB / 0.8507 GB, free: 1.262 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.1646, allocations: 10.56 kB / 0.8507 GB, free: 1.254 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003841/0.165, allocations: 101.6 kB / 0.8508 GB, free: 1.148 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.165, allocations: 3.938 kB / 0.8508 GB, free: 1.145 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.1651, allocations: 4 kB / 0.8509 GB, free: 1.141 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1651, allocations: 0 / 0.8509 GB, free: 1.141 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004303/0.1655, allocations: 82.05 kB / 0.8509 GB, free: 1.062 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007199/0.1662, allocations: 288.2 kB / 0.8512 GB, free: 0.75 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005726/0.1668, allocations: 131.8 kB / 0.8513 GB, free: 0.6133 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.167, allocations: 48.81 kB / 0.8514 GB, free: 0.5625 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.167, allocations: 7.938 kB / 0.8514 GB, free: 0.5547 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004041/0.1674, allocations: 112.4 kB / 0.8515 GB, free: 444 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.744e-06/0.1674, allocations: 0.5938 kB / 0.8515 GB, free: 444 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0008459/0.1683, allocations: 206.7 kB / 0.8517 GB, free: 232 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.1683, allocations: 52.03 kB / 0.8517 GB, free: 168 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.1686, allocations: 157.1 kB / 0.8519 GB, free: 4 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 6.427e-05/0.1686, allocations: 34.27 kB / 0.8519 GB, free: 15.96 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.1688, allocations: 104.7 kB / 0.852 GB, free: 15.86 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.433e-05/0.1688, allocations: 43.64 kB / 0.8521 GB, free: 15.82 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.1689, allocations: 38.39 kB / 0.8521 GB, free: 15.77 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0002326/0.1692, allocations: 330.8 kB / 0.8524 GB, free: 15.44 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.1694, allocations: 78.41 kB / 0.8525 GB, free: 15.36 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003961/0.1698, allocations: 202.6 kB / 0.8527 GB, free: 15.12 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004967/0.1703, allocations: 142.3 kB / 0.8528 GB, free: 14.98 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1703, allocations: 0.7188 kB / 0.8528 GB, free: 14.98 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007271/0.1711, allocations: 241.4 kB / 0.8531 GB, free: 14.73 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.684e-05/0.1711, allocations: 39.55 kB / 0.8531 GB, free: 14.68 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1711, allocations: 0 / 0.8531 GB, free: 14.68 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1711, allocations: 0 / 0.8531 GB, free: 14.68 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.1714, allocations: 31.91 kB / 0.8531 GB, free: 14.65 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.413e-06/0.1714, allocations: 2.344 kB / 0.8531 GB, free: 14.65 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/0.1716, allocations: 28.09 kB / 0.8531 GB, free: 14.62 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.1716, allocations: 0 / 0.8531 GB, free: 14.62 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.0001514/0.1718, allocations: 126.8 kB / 0.8533 GB, free: 14.49 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.718e-05/0.1718, allocations: 11.95 kB / 0.8533 GB, free: 14.48 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006609/0.1725, allocations: 182.9 kB / 0.8535 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1725, allocations: 0.9688 kB / 0.8535 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1725, allocations: 0 / 0.8535 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.1725, allocations: 3.984 kB / 0.8535 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.1728, allocations: 154.3 kB / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1728, allocations: 0 / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.173, allocations: 23.98 kB / 0.8536 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.173, allocations: 0.9375 kB / 0.8536 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.173, allocations: 7.984 kB / 0.8536 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.173, allocations: 4.5 kB / 0.8536 GB, free: 14.08 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.173, allocations: 3.984 kB / 0.8536 GB, free: 14.08 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008673/0.1739, allocations: 250.5 kB / 0.8539 GB, free: 13.82 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.862e-05/0.1739, allocations: 13.27 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.174, allocations: 7.984 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.1742, allocations: 15.92 kB / 0.8539 GB, free: 13.78 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.444e-05/0.1743, allocations: 16.64 kB / 0.8539 GB, free: 13.77 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.1743, allocations: 7.984 kB / 0.8539 GB, free: 13.76 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001641/0.1744, allocations: 119.9 kB / 0.8541 GB, free: 13.64 MB / 490.8 MB Notification: Performance of sort global known variables: time 1e-07/0.1744, allocations: 0 / 0.8541 GB, free: 13.64 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003799/0.1748, allocations: 32.59 kB / 0.8541 GB, free: 13.61 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.0001555/0.175, allocations: 102.4 kB / 0.8542 GB, free: 13.5 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006653/0.1756, allocations: 220.7 kB / 0.8544 GB, free: 13.27 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1756, allocations: 0 / 0.8544 GB, free: 13.27 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002901/0.1759, allocations: 61.11 kB / 0.8545 GB, free: 13.21 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.1764, allocations: 45.5 kB / 0.8545 GB, free: 13.17 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.1774, allocations: 330.8 kB / 0.8548 GB, free: 12.82 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.1775, allocations: 99.31 kB / 0.8549 GB, free: 12.71 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001414/0.1777, allocations: 23.86 kB / 0.8549 GB, free: 12.69 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.213e-05/0.1777, allocations: 16.09 kB / 0.8549 GB, free: 12.67 MB / 490.8 MB Notification: Performance of SimCode: time 4.31e-07/0.1777, allocations: 0.5625 kB / 0.8549 GB, free: 12.67 MB / 490.8 MB Notification: Performance of Templates: time 0.27/0.4477, allocations: 2.622 MB / 0.8575 GB, free: 28.2 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2011_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2011_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2011_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2011_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2011_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2011_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2011_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.565047045936808]