Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_15_g_ttx_a.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.001943/0.001943, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.002096/0.002096, allocations: 219.6 kB / 22.25 MB, free: 3.559 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.695/1.695, allocations: 230.6 MB / 256 MB, free: 9.586 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.503/1.503, allocations: 316.7 MB / 0.6144 GB, free: 93.04 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.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_15_g_ttx_a,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_15_g_ttx_a") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_15_g_ttx_a,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_15_g_ttx_a") [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.004003/0.004003, allocations: 77.34 kB / 0.775 GB, free: 14.7 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1545, allocations: 73.99 MB / 0.8472 GB, free: 4.836 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_15_g_ttx_a): time 0.003601/0.1581, allocations: 1.811 MB / 0.849 GB, free: 3.027 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.1594, allocations: 0.5533 MB / 0.8495 GB, free: 2.473 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.967e-05/0.1594, allocations: 0.5938 kB / 0.8495 GB, free: 2.473 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.1595, allocations: 11.86 kB / 0.8495 GB, free: 2.461 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000351/0.1599, allocations: 65.31 kB / 0.8496 GB, free: 2.398 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.1601, allocations: 62.09 kB / 0.8497 GB, free: 2.34 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002806/0.1604, allocations: 171.3 kB / 0.8498 GB, free: 2.172 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.333e-05/0.1604, allocations: 5.812 kB / 0.8498 GB, free: 2.168 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.1605, allocations: 75.69 kB / 0.8499 GB, free: 2.094 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000258/0.1608, allocations: 76.5 kB / 0.85 GB, free: 2.02 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.211e-05/0.1608, allocations: 8.75 kB / 0.85 GB, free: 2.012 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.321e-05/0.1609, allocations: 8 kB / 0.85 GB, free: 2.004 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.152e-05/0.1609, allocations: 32.56 kB / 0.85 GB, free: 1.973 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.829e-05/0.161, allocations: 55.77 kB / 0.8501 GB, free: 1.918 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.1612, allocations: 96.36 kB / 0.8502 GB, free: 1.824 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1612, allocations: 0 / 0.8502 GB, free: 1.824 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1612, allocations: 0.5625 kB / 0.8502 GB, free: 1.824 MB / 474.8 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1612, allocations: 0 / 0.8502 GB, free: 1.824 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.0008961/0.1621, allocations: 390.1 kB / 0.8505 GB, free: 1.41 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.1621, allocations: 8.031 kB / 0.8506 GB, free: 1.402 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.937e-05/0.1622, allocations: 20.84 kB / 0.8506 GB, free: 1.383 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.1624, allocations: 152 kB / 0.8507 GB, free: 1.211 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.1625, allocations: 4.375 kB / 0.8507 GB, free: 1.207 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/0.1625, allocations: 16.12 kB / 0.8507 GB, free: 1.191 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005505/0.1631, allocations: 99.64 kB / 0.8508 GB, free: 1.09 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1631, allocations: 0 / 0.8508 GB, free: 1.09 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.1631, allocations: 4 kB / 0.8508 GB, free: 1.086 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1631, allocations: 4 kB / 0.8508 GB, free: 1.082 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003107/0.1634, allocations: 82.31 kB / 0.8509 GB, free: 1.004 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005736/0.164, allocations: 280.3 kB / 0.8512 GB, free: 0.6992 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004386/0.1644, allocations: 134.4 kB / 0.8513 GB, free: 0.5586 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.1646, allocations: 55 kB / 0.8514 GB, free: 0.5039 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.1646, allocations: 0 / 0.8514 GB, free: 0.5039 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002984/0.1649, allocations: 119.1 kB / 0.8515 GB, free: 388 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.1649, allocations: 0 / 0.8515 GB, free: 388 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006487/0.1655, allocations: 202.8 kB / 0.8517 GB, free: 180 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.1656, allocations: 56.44 kB / 0.8517 GB, free: 112 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.1658, allocations: 157.5 kB / 0.8519 GB, free: 15.95 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.1658, allocations: 29.7 kB / 0.8519 GB, free: 15.91 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.004e-05/0.1659, allocations: 104.7 kB / 0.852 GB, free: 15.81 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.379e-05/0.166, allocations: 56.19 kB / 0.8521 GB, free: 15.75 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.916e-05/0.1661, allocations: 37.7 kB / 0.8521 GB, free: 15.71 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.1663, allocations: 327.4 kB / 0.8524 GB, free: 15.38 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.1665, allocations: 82.19 kB / 0.8525 GB, free: 15.3 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/0.1668, allocations: 198.7 kB / 0.8527 GB, free: 15.07 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.1672, allocations: 146.1 kB / 0.8528 GB, free: 14.92 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1672, allocations: 0 / 0.8528 GB, free: 14.92 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005122/0.1677, allocations: 242 kB / 0.853 GB, free: 14.66 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.882e-05/0.1677, allocations: 34.33 kB / 0.8531 GB, free: 14.62 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1677, allocations: 0 / 0.8531 GB, free: 14.62 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.1677, allocations: 0.6875 kB / 0.8531 GB, free: 14.62 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.1679, allocations: 31.97 kB / 0.8531 GB, free: 14.59 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.1679, allocations: 0.5625 kB / 0.8531 GB, free: 14.59 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.1681, allocations: 28.56 kB / 0.8531 GB, free: 14.57 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.1681, allocations: 4.625 kB / 0.8531 GB, free: 14.56 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.0001326/0.1683, allocations: 122.4 kB / 0.8533 GB, free: 14.43 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.1683, allocations: 7.953 kB / 0.8533 GB, free: 14.43 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004825/0.1688, allocations: 175.5 kB / 0.8534 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.1688, allocations: 8.438 kB / 0.8534 GB, free: 14.24 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1688, allocations: 4.578 kB / 0.8534 GB, free: 14.24 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.1688, allocations: 224 / 0.8534 GB, free: 14.24 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.169, allocations: 149.7 kB / 0.8536 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.169, allocations: 4.5 kB / 0.8536 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.1692, allocations: 20.58 kB / 0.8536 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.1692, allocations: 4 kB / 0.8536 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.1692, allocations: 8.703 kB / 0.8536 GB, free: 14.03 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1692, allocations: 0 / 0.8536 GB, free: 14.03 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1692, allocations: 0.625 kB / 0.8536 GB, free: 14.03 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000639/0.1698, allocations: 254.7 kB / 0.8539 GB, free: 13.76 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.881e-05/0.1699, allocations: 19.95 kB / 0.8539 GB, free: 13.74 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.1699, allocations: 7.984 kB / 0.8539 GB, free: 13.73 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.17, allocations: 10.39 kB / 0.8539 GB, free: 13.73 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.248e-05/0.1701, allocations: 19.97 kB / 0.8539 GB, free: 13.71 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.1701, allocations: 4 kB / 0.8539 GB, free: 13.7 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001247/0.1702, allocations: 121.9 kB / 0.854 GB, free: 13.59 MB / 490.8 MB Notification: Performance of sort global known variables: time 1e-07/0.1702, allocations: 0 / 0.854 GB, free: 13.59 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002174/0.1705, allocations: 28 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.0001555/0.1706, allocations: 104.4 kB / 0.8542 GB, free: 13.45 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005326/0.1711, allocations: 220.8 kB / 0.8544 GB, free: 13.22 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1711, allocations: 1.219 kB / 0.8544 GB, free: 13.22 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.1713, allocations: 63.83 kB / 0.8544 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.0003109/0.1717, allocations: 44.16 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.0008033/0.1725, allocations: 318.5 kB / 0.8548 GB, free: 12.78 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.1726, allocations: 103.4 kB / 0.8549 GB, free: 12.66 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.1727, allocations: 28.42 kB / 0.8549 GB, free: 12.64 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.422e-05/0.1727, allocations: 15.44 kB / 0.8549 GB, free: 12.62 MB / 490.8 MB Notification: Performance of SimCode: time 6.71e-07/0.1727, allocations: 0.625 kB / 0.8549 GB, free: 12.62 MB / 490.8 MB Notification: Performance of Templates: time 0.3272/0.4999, allocations: 2.635 MB / 0.8575 GB, free: 28.16 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_15_g_ttx_a.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_15_g_ttx_a.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_15_g_ttx_a.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_15_g_ttx_a.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_15_g_ttx_a.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_15_g_ttx_a -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin_Kavoosi2020_15_g_ttx_a.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.505422906018794]