Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_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.002555/0.002555, 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.003008/0.003008, allocations: 216.6 kB / 22.25 MB, free: 3.57 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.696/1.696, allocations: 230.6 MB / 256 MB, free: 9.648 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.394/1.394, allocations: 316.7 MB / 0.6144 GB, free: 93.44 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_Kretschmann2012_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_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.004095/0.004095, allocations: 69.45 kB / 0.775 GB, free: 15.04 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1445, allocations: 73.99 MB / 0.8473 GB, free: 5.188 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference): time 0.00328/0.1478, allocations: 1.813 MB / 0.849 GB, free: 3.375 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.149, allocations: 0.5413 MB / 0.8496 GB, free: 2.832 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.1491, allocations: 0.5 kB / 0.8496 GB, free: 2.832 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.1492, allocations: 16.34 kB / 0.8496 GB, free: 2.816 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003419/0.1495, allocations: 64.73 kB / 0.8496 GB, free: 2.754 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.1497, allocations: 61.88 kB / 0.8497 GB, free: 2.699 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002627/0.15, allocations: 167.3 kB / 0.8498 GB, free: 2.535 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.516e-05/0.15, allocations: 5.938 kB / 0.8499 GB, free: 2.531 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.1501, allocations: 75.69 kB / 0.8499 GB, free: 2.457 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.1504, allocations: 84.34 kB / 0.85 GB, free: 2.375 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.1504, allocations: 8.531 kB / 0.85 GB, free: 2.367 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.233e-05/0.1504, allocations: 8.594 kB / 0.85 GB, free: 2.359 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.183e-05/0.1505, allocations: 31.89 kB / 0.8501 GB, free: 2.328 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.343e-05/0.1506, allocations: 48.41 kB / 0.8501 GB, free: 2.281 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.1508, allocations: 95.58 kB / 0.8502 GB, free: 2.188 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1508, allocations: 0.625 kB / 0.8502 GB, free: 2.188 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1508, allocations: 0.5625 kB / 0.8502 GB, free: 2.188 MB / 474.8 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1508, allocations: 0 / 0.8502 GB, free: 2.188 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.000871/0.1516, allocations: 393 kB / 0.8506 GB, free: 1.77 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.1517, allocations: 12.48 kB / 0.8506 GB, free: 1.758 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.355e-05/0.1517, allocations: 17.44 kB / 0.8506 GB, free: 1.742 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.152, allocations: 154.8 kB / 0.8507 GB, free: 1.566 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.152, allocations: 5.25 kB / 0.8507 GB, free: 1.562 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.153e-05/0.152, allocations: 16.12 kB / 0.8508 GB, free: 1.547 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.1523, allocations: 98.33 kB / 0.8509 GB, free: 1.445 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1523, allocations: 0.6562 kB / 0.8509 GB, free: 1.445 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.1523, allocations: 8 kB / 0.8509 GB, free: 1.438 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1524, allocations: 8.594 kB / 0.8509 GB, free: 1.43 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.1527, allocations: 80.5 kB / 0.8509 GB, free: 1.352 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005654/0.1532, allocations: 285 kB / 0.8512 GB, free: 1.043 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004236/0.1536, allocations: 131.8 kB / 0.8513 GB, free: 0.9062 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.1538, allocations: 49.97 kB / 0.8514 GB, free: 0.8555 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.1538, allocations: 4 kB / 0.8514 GB, free: 0.8516 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002991/0.1541, allocations: 120.7 kB / 0.8515 GB, free: 0.7227 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.1541, allocations: 0 / 0.8515 GB, free: 0.7227 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006242/0.1548, allocations: 198.6 kB / 0.8517 GB, free: 0.5234 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/0.1548, allocations: 55.41 kB / 0.8518 GB, free: 468 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.155, allocations: 160.1 kB / 0.8519 GB, free: 304 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.155, allocations: 29.7 kB / 0.8519 GB, free: 268 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.105e-05/0.1551, allocations: 112.1 kB / 0.852 GB, free: 152 kB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.767e-05/0.1552, allocations: 39.64 kB / 0.8521 GB, free: 112 kB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.389e-05/0.1553, allocations: 37.7 kB / 0.8521 GB, free: 68 kB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.1555, allocations: 326.8 kB / 0.8524 GB, free: 15.74 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004553/0.1559, allocations: 83.25 kB / 0.8525 GB, free: 15.65 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.1562, allocations: 202.1 kB / 0.8527 GB, free: 15.42 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/0.1566, allocations: 150.1 kB / 0.8528 GB, free: 15.27 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1566, allocations: 0 / 0.8528 GB, free: 15.27 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005212/0.1571, allocations: 237.6 kB / 0.8531 GB, free: 15.02 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/0.1571, allocations: 33.45 kB / 0.8531 GB, free: 14.98 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1571, allocations: 0 / 0.8531 GB, free: 14.98 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1572, allocations: 7.984 kB / 0.8531 GB, free: 14.97 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.1573, allocations: 28.52 kB / 0.8531 GB, free: 14.95 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.1573, allocations: 0.5 kB / 0.8531 GB, free: 14.95 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.1575, allocations: 24.5 kB / 0.8532 GB, free: 14.92 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.1575, allocations: 4 kB / 0.8532 GB, free: 14.92 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.0001436/0.1577, allocations: 131.1 kB / 0.8533 GB, free: 14.78 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.1577, allocations: 7.953 kB / 0.8533 GB, free: 14.77 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004782/0.1582, allocations: 179.5 kB / 0.8535 GB, free: 14.59 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1582, allocations: 4.625 kB / 0.8535 GB, free: 14.59 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1582, allocations: 0 / 0.8535 GB, free: 14.59 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1582, allocations: 0.6562 kB / 0.8535 GB, free: 14.59 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.1584, allocations: 149.2 kB / 0.8536 GB, free: 14.41 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1584, allocations: 0.625 kB / 0.8536 GB, free: 14.41 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.1586, allocations: 28.69 kB / 0.8536 GB, free: 14.39 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.1586, allocations: 4 kB / 0.8536 GB, free: 14.38 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.1586, allocations: 0.7188 kB / 0.8536 GB, free: 14.38 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.1586, allocations: 0 / 0.8536 GB, free: 14.38 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1586, allocations: 0.625 kB / 0.8536 GB, free: 14.38 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006647/0.1592, allocations: 257.1 kB / 0.8539 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.919e-05/0.1593, allocations: 20.47 kB / 0.8539 GB, free: 14.1 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.1593, allocations: 0.5 kB / 0.8539 GB, free: 14.1 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.1594, allocations: 20.52 kB / 0.8539 GB, free: 14.08 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.913e-05/0.1595, allocations: 11.97 kB / 0.8539 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.1595, allocations: 12.44 kB / 0.854 GB, free: 14.05 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001362/0.1597, allocations: 119.8 kB / 0.8541 GB, free: 13.94 MB / 490.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1597, allocations: 0.5938 kB / 0.8541 GB, free: 13.94 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002249/0.1599, allocations: 32 kB / 0.8541 GB, free: 13.91 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.0001231/0.16, allocations: 96.34 kB / 0.8542 GB, free: 13.8 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005112/0.1605, allocations: 218.3 kB / 0.8544 GB, free: 13.57 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1605, allocations: 0 / 0.8544 GB, free: 13.57 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.1607, allocations: 61.39 kB / 0.8545 GB, free: 13.52 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.161, allocations: 57.09 kB / 0.8545 GB, free: 13.46 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007997/0.1618, allocations: 326 kB / 0.8548 GB, free: 13.12 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.162, allocations: 102.1 kB / 0.8549 GB, free: 13 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.82e-05/0.162, allocations: 24.55 kB / 0.8549 GB, free: 12.98 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.063e-05/0.1621, allocations: 20.17 kB / 0.855 GB, free: 12.96 MB / 490.8 MB Notification: Performance of SimCode: time 4.4e-07/0.1621, allocations: 0 / 0.855 GB, free: 12.96 MB / 490.8 MB Notification: Performance of Templates: time 0.2761/0.4382, allocations: 2.619 MB / 0.8575 GB, free: 28.24 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.50450657797046]