Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_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.001891/0.001891, 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.002094/0.002094, allocations: 219.5 kB / 22.25 MB, free: 3.688 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.769/1.769, allocations: 230.6 MB / 256 MB, free: 9.566 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.423/1.423, allocations: 316.7 MB / 0.6144 GB, free: 92.85 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.SebacicAcid.SebacicAcid_Favuzzi1999_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_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.004167/0.004167, allocations: 77.44 kB / 0.775 GB, free: 14.64 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1542, allocations: 73.99 MB / 0.8472 GB, free: 4.789 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference): time 0.004114/0.1583, allocations: 2.327 MB / 0.8495 GB, free: 2.461 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.1595, allocations: 0.5911 MB / 0.8501 GB, free: 1.875 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.47e-05/0.1596, allocations: 3.938 kB / 0.8501 GB, free: 1.871 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.1598, allocations: 28.22 kB / 0.8501 GB, free: 1.844 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000221/0.16, allocations: 72.72 kB / 0.8502 GB, free: 1.773 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.1602, allocations: 52.62 kB / 0.8502 GB, free: 1.723 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003477/0.1605, allocations: 258.7 kB / 0.8505 GB, free: 1.469 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.1607, allocations: 37.08 kB / 0.8505 GB, free: 1.434 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.1608, allocations: 91.66 kB / 0.8506 GB, free: 1.344 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002522/0.1611, allocations: 103.9 kB / 0.8507 GB, free: 1.242 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.999e-05/0.1611, allocations: 20.62 kB / 0.8507 GB, free: 1.223 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.331e-05/0.1611, allocations: 16.5 kB / 0.8507 GB, free: 1.207 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.156e-05/0.1612, allocations: 35.84 kB / 0.8508 GB, free: 1.172 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.1613, allocations: 100 kB / 0.8509 GB, free: 1.074 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002841/0.1616, allocations: 195.7 kB / 0.8511 GB, free: 0.8828 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1616, allocations: 0.6875 kB / 0.8511 GB, free: 0.8828 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1616, allocations: 0 / 0.8511 GB, free: 0.8828 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1616, allocations: 0.6562 kB / 0.8511 GB, free: 0.8828 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.0009855/0.1626, allocations: 498 kB / 0.8515 GB, free: 360 kB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.1626, allocations: 12.59 kB / 0.8515 GB, free: 348 kB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.223e-05/0.1627, allocations: 25.42 kB / 0.8516 GB, free: 324 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.163, allocations: 183.1 kB / 0.8517 GB, free: 112 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.163, allocations: 13.2 kB / 0.8518 GB, free: 100 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.971e-05/0.1631, allocations: 23.88 kB / 0.8518 GB, free: 76 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004256/0.1635, allocations: 183.6 kB / 0.852 GB, free: 15.88 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.1635, allocations: 4 kB / 0.852 GB, free: 15.87 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.1635, allocations: 4.562 kB / 0.852 GB, free: 15.87 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.1635, allocations: 4.562 kB / 0.852 GB, free: 15.86 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003966/0.1639, allocations: 150.9 kB / 0.8521 GB, free: 15.71 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008901/0.1648, allocations: 490.4 kB / 0.8526 GB, free: 15.2 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005226/0.1654, allocations: 165.5 kB / 0.8527 GB, free: 15.03 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002128/0.1656, allocations: 99.64 kB / 0.8528 GB, free: 14.92 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.1656, allocations: 0 / 0.8528 GB, free: 14.92 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006559/0.1662, allocations: 225.7 kB / 0.853 GB, free: 14.67 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.402e-06/0.1662, allocations: 0 / 0.853 GB, free: 14.67 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.00163/0.1679, allocations: 0.704 MB / 0.8537 GB, free: 13.91 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.168, allocations: 137.2 kB / 0.8539 GB, free: 13.75 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.1682, allocations: 219 kB / 0.8541 GB, free: 13.52 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.1683, allocations: 30.2 kB / 0.8541 GB, free: 13.49 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.1684, allocations: 140.9 kB / 0.8542 GB, free: 13.35 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.09e-05/0.1685, allocations: 63.44 kB / 0.8543 GB, free: 13.29 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.1686, allocations: 62.27 kB / 0.8544 GB, free: 13.22 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.1688, allocations: 339.4 kB / 0.8547 GB, free: 12.88 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/0.1691, allocations: 145.4 kB / 0.8548 GB, free: 12.72 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/0.1694, allocations: 226.6 kB / 0.855 GB, free: 12.45 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3193/0.4886, allocations: 269.7 kB / 0.8553 GB, free: 28.19 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.4886, allocations: 1.781 kB / 0.8553 GB, free: 28.19 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008255/0.4895, allocations: 394.4 kB / 0.8557 GB, free: 28.03 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.532e-05/0.4895, allocations: 64.25 kB / 0.8557 GB, free: 27.96 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.4895, allocations: 5.781 kB / 0.8557 GB, free: 27.96 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/0.4895, allocations: 2.719 kB / 0.8557 GB, free: 27.96 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/0.4899, allocations: 55.28 kB / 0.8558 GB, free: 27.96 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.4899, allocations: 8.719 kB / 0.8558 GB, free: 27.96 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.4901, allocations: 20.3 kB / 0.8558 GB, free: 27.96 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.4902, allocations: 11.94 kB / 0.8558 GB, free: 27.96 MB / 490.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.0002079/0.4904, allocations: 172.4 kB / 0.856 GB, free: 27.82 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.4904, allocations: 26.91 kB / 0.856 GB, free: 27.82 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.724e-05/0.4905, allocations: 27.58 kB / 0.856 GB, free: 27.81 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.4905, allocations: 3.219 kB / 0.856 GB, free: 27.81 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4905, allocations: 0.7812 kB / 0.856 GB, free: 27.81 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4905, allocations: 1.125 kB / 0.8561 GB, free: 27.81 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009208/0.4914, allocations: 0.534 MB / 0.8566 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4914, allocations: 0.9688 kB / 0.8566 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/0.4917, allocations: 39.41 kB / 0.8566 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4917, allocations: 4.188 kB / 0.8566 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.4917, allocations: 7.719 kB / 0.8566 GB, free: 27.51 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4917, allocations: 0.8125 kB / 0.8566 GB, free: 27.51 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4917, allocations: 1.219 kB / 0.8566 GB, free: 27.51 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009007/0.4926, allocations: 0.4932 MB / 0.8571 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/0.4927, allocations: 24.05 kB / 0.8571 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.451e-05/0.4927, allocations: 5.281 kB / 0.8571 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.493, allocations: 14.5 kB / 0.8571 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.395e-05/0.4931, allocations: 22.75 kB / 0.8572 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.4931, allocations: 10.52 kB / 0.8572 GB, free: 27.29 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001551/0.4933, allocations: 156.3 kB / 0.8573 GB, free: 27.21 MB / 490.8 MB Notification: Performance of sort global known variables: time 1e-07/0.4933, allocations: 0.75 kB / 0.8573 GB, free: 27.21 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0004952/0.4938, allocations: 61.75 kB / 0.8574 GB, free: 27.21 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.0001143/0.4939, allocations: 114.4 kB / 0.8575 GB, free: 27.12 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006796/0.4945, allocations: 379.7 kB / 0.8579 GB, free: 26.9 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4945, allocations: 0.5938 kB / 0.8579 GB, free: 26.9 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003029/0.4948, allocations: 175.3 kB / 0.858 GB, free: 26.8 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006841/0.4955, allocations: 61.98 kB / 0.8581 GB, free: 26.8 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.497, allocations: 0.6712 MB / 0.8587 GB, free: 26.53 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.4971, allocations: 130.4 kB / 0.8589 GB, free: 26.45 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.4972, allocations: 24.5 kB / 0.8589 GB, free: 26.44 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.547e-05/0.4973, allocations: 21.38 kB / 0.8589 GB, free: 26.43 MB / 490.8 MB Notification: Performance of SimCode: time 5.51e-07/0.4973, allocations: 0.5938 kB / 0.8589 GB, free: 26.43 MB / 490.8 MB Notification: Performance of Templates: time 0.009797/0.5071, allocations: 3.641 MB / 0.8625 GB, free: 26.12 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.535680148052052]