Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_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.001394/0.001394, allocations: 100.4 kB / 19.7 MB, free: 440 kB / 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.00122/0.00122, allocations: 219.5 kB / 23 MB, free: 2.961 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.016/1.016, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7782/0.7782, allocations: 312.3 MB / 0.6109 GB, free: 97.67 MB / 410.7 MB " [Timeout remaining time 179] 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.LArginine.LArginine_Wang2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_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.002157/0.002157, allocations: 75.5 kB / 0.7699 GB, free: 20.29 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.15, allocations: 73.99 MB / 0.8422 GB, free: 10.43 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference): time 0.003022/0.153, allocations: 2.327 MB / 0.8444 GB, free: 8.105 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.154, allocations: 0.5991 MB / 0.845 GB, free: 7.512 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.1541, allocations: 0 / 0.845 GB, free: 7.512 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.1543, allocations: 24.31 kB / 0.845 GB, free: 7.488 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.1545, allocations: 84.45 kB / 0.8451 GB, free: 7.406 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.1547, allocations: 44.48 kB / 0.8452 GB, free: 7.363 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.155, allocations: 259.4 kB / 0.8454 GB, free: 7.109 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.1552, allocations: 36.58 kB / 0.8454 GB, free: 7.074 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.1553, allocations: 96.12 kB / 0.8455 GB, free: 6.98 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.1555, allocations: 96.22 kB / 0.8456 GB, free: 6.887 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.1555, allocations: 16 kB / 0.8456 GB, free: 6.871 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.11e-05/0.1556, allocations: 20.59 kB / 0.8457 GB, free: 6.852 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.812e-05/0.1556, allocations: 43.77 kB / 0.8457 GB, free: 6.809 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.481e-05/0.1557, allocations: 88.09 kB / 0.8458 GB, free: 6.723 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.1559, allocations: 199.8 kB / 0.846 GB, free: 6.527 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.1559, allocations: 0 / 0.846 GB, free: 6.527 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1559, allocations: 0.625 kB / 0.846 GB, free: 6.527 MB / 474.8 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.1559, allocations: 0.75 kB / 0.846 GB, free: 6.527 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007902/0.1567, allocations: 0.4903 MB / 0.8465 GB, free: 5.992 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.1568, allocations: 12.48 kB / 0.8465 GB, free: 5.98 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.181e-05/0.1568, allocations: 28.78 kB / 0.8465 GB, free: 5.953 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.1571, allocations: 179.8 kB / 0.8467 GB, free: 5.75 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.1571, allocations: 8.609 kB / 0.8467 GB, free: 5.742 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.966e-05/0.1571, allocations: 28.5 kB / 0.8467 GB, free: 5.715 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.1574, allocations: 183.2 kB / 0.8469 GB, free: 5.52 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.1574, allocations: 0 / 0.8469 GB, free: 5.52 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.1574, allocations: 8.625 kB / 0.8469 GB, free: 5.512 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.1574, allocations: 4.594 kB / 0.8469 GB, free: 5.508 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002203/0.1577, allocations: 146.9 kB / 0.847 GB, free: 5.359 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006472/0.1583, allocations: 490.5 kB / 0.8475 GB, free: 4.848 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.1587, allocations: 169.3 kB / 0.8477 GB, free: 4.668 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.1588, allocations: 103.5 kB / 0.8478 GB, free: 4.559 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.1588, allocations: 4 kB / 0.8478 GB, free: 4.555 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002714/0.1591, allocations: 227.8 kB / 0.848 GB, free: 4.305 MB / 474.8 MB Notification: Performance of pre-optimization done (n=20): time 1.683e-06/0.1591, allocations: 0 / 0.848 GB, free: 4.305 MB / 474.8 MB Notification: Performance of matching and sorting (n=21): time 0.001061/0.1601, allocations: 0.7047 MB / 0.8487 GB, free: 3.543 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.91e-05/0.1602, allocations: 140.5 kB / 0.8488 GB, free: 3.375 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.1604, allocations: 219 kB / 0.849 GB, free: 3.152 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.1604, allocations: 26.48 kB / 0.849 GB, free: 3.121 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.848e-05/0.1605, allocations: 140.5 kB / 0.8492 GB, free: 2.98 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.1605, allocations: 64.09 kB / 0.8492 GB, free: 2.918 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.34e-05/0.1606, allocations: 61.64 kB / 0.8493 GB, free: 2.852 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 9.514e-05/0.1607, allocations: 335.4 kB / 0.8496 GB, free: 2.516 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.1608, allocations: 145.6 kB / 0.8497 GB, free: 2.355 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.161, allocations: 226.9 kB / 0.85 GB, free: 2.09 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.1613, allocations: 278.5 kB / 0.8502 GB, free: 1.777 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1613, allocations: 0.625 kB / 0.8502 GB, free: 1.777 MB / 474.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003907/0.1617, allocations: 389.2 kB / 0.8506 GB, free: 1.371 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.862e-05/0.1617, allocations: 63.34 kB / 0.8507 GB, free: 1.297 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.1617, allocations: 8.578 kB / 0.8507 GB, free: 1.289 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.1617, allocations: 4.562 kB / 0.8507 GB, free: 1.285 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.1619, allocations: 52.59 kB / 0.8507 GB, free: 1.234 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.1619, allocations: 11.92 kB / 0.8507 GB, free: 1.223 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.365e-05/0.162, allocations: 20.55 kB / 0.8508 GB, free: 1.203 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.162, allocations: 12.56 kB / 0.8508 GB, free: 1.191 MB / 474.8 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001859/0.1622, allocations: 176.4 kB / 0.8509 GB, free: 1.008 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.1622, allocations: 31.73 kB / 0.851 GB, free: 0.9766 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.783e-05/0.1622, allocations: 22.59 kB / 0.851 GB, free: 0.9531 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1622, allocations: 4.594 kB / 0.851 GB, free: 0.9492 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.1623, allocations: 0 / 0.851 GB, free: 0.9492 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1623, allocations: 4.609 kB / 0.851 GB, free: 0.9453 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005539/0.1628, allocations: 0.5278 MB / 0.8515 GB, free: 380 kB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1628, allocations: 0.625 kB / 0.8515 GB, free: 380 kB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.1629, allocations: 40.58 kB / 0.8516 GB, free: 340 kB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.1629, allocations: 3.984 kB / 0.8516 GB, free: 336 kB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.1629, allocations: 4.625 kB / 0.8516 GB, free: 332 kB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.163, allocations: 4.531 kB / 0.8516 GB, free: 328 kB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.163, allocations: 0 / 0.8516 GB, free: 328 kB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004993/0.1635, allocations: 0.4892 MB / 0.852 GB, free: 15.8 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.05e-05/0.1635, allocations: 23.86 kB / 0.8521 GB, free: 15.78 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.1635, allocations: 12.66 kB / 0.8521 GB, free: 15.77 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.571e-05/0.1636, allocations: 16.58 kB / 0.8521 GB, free: 15.75 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.925e-05/0.1637, allocations: 23.91 kB / 0.8521 GB, free: 15.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.1637, allocations: 8.625 kB / 0.8521 GB, free: 15.72 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001008/0.1638, allocations: 157 kB / 0.8523 GB, free: 15.57 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1638, allocations: 0 / 0.8523 GB, free: 15.57 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001984/0.164, allocations: 56.59 kB / 0.8523 GB, free: 15.51 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001205/0.1641, allocations: 112.2 kB / 0.8524 GB, free: 15.39 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003854/0.1645, allocations: 373.3 kB / 0.8528 GB, free: 14.98 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1645, allocations: 0.6562 kB / 0.8528 GB, free: 14.98 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.1646, allocations: 177.6 kB / 0.853 GB, free: 14.79 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.165, allocations: 70.72 kB / 0.853 GB, free: 14.73 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.166, allocations: 0.7042 MB / 0.8537 GB, free: 14.07 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.633e-05/0.1661, allocations: 133.5 kB / 0.8538 GB, free: 13.92 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/0.1662, allocations: 27.44 kB / 0.8539 GB, free: 13.89 MB / 490.8 MB Notification: Performance of SimCode: time 9.92e-07/0.1662, allocations: 0 / 0.8539 GB, free: 13.89 MB / 490.8 MB Notification: Performance of Templates: time 0.2676/0.4337, allocations: 2.925 MB / 0.8567 GB, free: 29.77 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Wang2018_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.933837641961873]