Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d.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.002608/0.002608, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.003269/0.003269, allocations: 212.9 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.721/1.721, allocations: 230.6 MB / 256 MB, free: 9.609 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.473/1.473, allocations: 316.8 MB / 0.6144 GB, free: 93.37 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.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d") [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.003987/0.003987, allocations: 77.59 kB / 0.775 GB, free: 14.98 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.151, allocations: 73.99 MB / 0.8473 GB, free: 5.141 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d): time 0.003565/0.1546, allocations: 1.823 MB / 0.849 GB, free: 3.32 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.1559, allocations: 0.5414 MB / 0.8496 GB, free: 2.777 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.047e-05/0.1559, allocations: 0.5938 kB / 0.8496 GB, free: 2.777 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.156, allocations: 12.42 kB / 0.8496 GB, free: 2.766 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003684/0.1564, allocations: 68.88 kB / 0.8497 GB, free: 2.699 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.1566, allocations: 57.56 kB / 0.8497 GB, free: 2.645 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.1569, allocations: 168 kB / 0.8499 GB, free: 2.48 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.698e-05/0.1569, allocations: 9.297 kB / 0.8499 GB, free: 2.473 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.1571, allocations: 68.39 kB / 0.8499 GB, free: 2.406 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002743/0.1573, allocations: 88.31 kB / 0.85 GB, free: 2.32 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.1574, allocations: 8.594 kB / 0.85 GB, free: 2.312 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.027e-05/0.1574, allocations: 11.94 kB / 0.85 GB, free: 2.301 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.54e-05/0.1575, allocations: 28.41 kB / 0.8501 GB, free: 2.273 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.116e-05/0.1576, allocations: 44.33 kB / 0.8501 GB, free: 2.23 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.1578, allocations: 95.56 kB / 0.8502 GB, free: 2.137 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1578, allocations: 4.656 kB / 0.8502 GB, free: 2.133 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1578, allocations: 0 / 0.8502 GB, free: 2.133 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1578, allocations: 0.5625 kB / 0.8502 GB, free: 2.133 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.0009394/0.1587, allocations: 397.5 kB / 0.8506 GB, free: 1.711 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1588, allocations: 8.031 kB / 0.8506 GB, free: 1.703 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.89e-05/0.1588, allocations: 17.5 kB / 0.8506 GB, free: 1.688 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.1591, allocations: 146.9 kB / 0.8508 GB, free: 1.52 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1591, allocations: 8.938 kB / 0.8508 GB, free: 1.512 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.476e-05/0.1592, allocations: 16.78 kB / 0.8508 GB, free: 1.496 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.1595, allocations: 102.2 kB / 0.8509 GB, free: 1.391 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1595, allocations: 0 / 0.8509 GB, free: 1.391 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.1595, allocations: 0.5938 kB / 0.8509 GB, free: 1.391 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1595, allocations: 4.562 kB / 0.8509 GB, free: 1.387 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002973/0.1598, allocations: 80.55 kB / 0.851 GB, free: 1.309 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/0.1604, allocations: 285 kB / 0.8512 GB, free: 1 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004157/0.1608, allocations: 133.1 kB / 0.8514 GB, free: 0.8633 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.161, allocations: 56.81 kB / 0.8514 GB, free: 0.8047 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.161, allocations: 0 / 0.8514 GB, free: 0.8047 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002936/0.1613, allocations: 111.3 kB / 0.8515 GB, free: 0.6836 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.1613, allocations: 0.7812 kB / 0.8515 GB, free: 0.6836 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006282/0.1619, allocations: 201.7 kB / 0.8517 GB, free: 496 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.162, allocations: 59.98 kB / 0.8518 GB, free: 424 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.1621, allocations: 161.5 kB / 0.8519 GB, free: 256 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.1622, allocations: 26.27 kB / 0.8519 GB, free: 224 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.725e-05/0.1623, allocations: 104.6 kB / 0.852 GB, free: 116 kB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.887e-05/0.1623, allocations: 44.27 kB / 0.8521 GB, free: 72 kB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-05/0.1624, allocations: 41.69 kB / 0.8521 GB, free: 24 kB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.1626, allocations: 327.4 kB / 0.8524 GB, free: 15.7 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.1628, allocations: 82.41 kB / 0.8525 GB, free: 15.61 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/0.1631, allocations: 202.6 kB / 0.8527 GB, free: 15.38 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006013/0.1637, allocations: 150 kB / 0.8529 GB, free: 15.22 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1637, allocations: 0 / 0.8529 GB, free: 15.22 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004981/0.1642, allocations: 242.8 kB / 0.8531 GB, free: 14.97 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.536e-05/0.1643, allocations: 29.7 kB / 0.8531 GB, free: 14.93 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1643, allocations: 0 / 0.8531 GB, free: 14.93 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1643, allocations: 0.8125 kB / 0.8531 GB, free: 14.93 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.1645, allocations: 29.2 kB / 0.8531 GB, free: 14.91 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.1645, allocations: 7.875 kB / 0.8532 GB, free: 14.9 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.1646, allocations: 23.88 kB / 0.8532 GB, free: 14.88 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.1647, allocations: 8.828 kB / 0.8532 GB, free: 14.87 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.0001398/0.1648, allocations: 130.3 kB / 0.8533 GB, free: 14.73 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.1648, allocations: 7.953 kB / 0.8533 GB, free: 14.72 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004883/0.1653, allocations: 176.3 kB / 0.8535 GB, free: 14.55 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1653, allocations: 0 / 0.8535 GB, free: 14.55 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1653, allocations: 4 kB / 0.8535 GB, free: 14.54 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1653, allocations: 2.062 kB / 0.8535 GB, free: 14.54 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.1655, allocations: 153.2 kB / 0.8536 GB, free: 14.36 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.1655, allocations: 4 kB / 0.8536 GB, free: 14.36 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.1657, allocations: 23.98 kB / 0.8537 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1657, allocations: 0 / 0.8537 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.1657, allocations: 4.781 kB / 0.8537 GB, free: 14.33 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1657, allocations: 3.938 kB / 0.8537 GB, free: 14.33 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1657, allocations: 0 / 0.8537 GB, free: 14.33 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006488/0.1663, allocations: 259 kB / 0.8539 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-05/0.1664, allocations: 11.92 kB / 0.8539 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.1664, allocations: 4 kB / 0.8539 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.1665, allocations: 12.48 kB / 0.8539 GB, free: 14.03 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.999e-05/0.1666, allocations: 20.69 kB / 0.854 GB, free: 14.01 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.1666, allocations: 4.594 kB / 0.854 GB, free: 14.01 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001234/0.1667, allocations: 121.9 kB / 0.8541 GB, free: 13.89 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.1667, allocations: 4.719 kB / 0.8541 GB, free: 13.89 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002177/0.167, allocations: 28 kB / 0.8541 GB, free: 13.86 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.0001497/0.1671, allocations: 100.4 kB / 0.8542 GB, free: 13.75 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004869/0.1676, allocations: 218.1 kB / 0.8544 GB, free: 13.52 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1676, allocations: 0 / 0.8544 GB, free: 13.52 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.1678, allocations: 68.36 kB / 0.8545 GB, free: 13.46 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.1681, allocations: 43.14 kB / 0.8545 GB, free: 13.42 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008137/0.1689, allocations: 322.4 kB / 0.8548 GB, free: 13.08 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.1691, allocations: 103.5 kB / 0.8549 GB, free: 12.96 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.1692, allocations: 28.25 kB / 0.855 GB, free: 12.94 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.802e-05/0.1692, allocations: 19.97 kB / 0.855 GB, free: 12.92 MB / 490.8 MB Notification: Performance of SimCode: time 4.31e-07/0.1692, allocations: 3.938 kB / 0.855 GB, free: 12.91 MB / 490.8 MB Notification: Performance of Templates: time 0.3224/0.4917, allocations: 2.625 MB / 0.8575 GB, free: 28.21 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.656884036026895]