Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone.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.001205/0.001205, allocations: 104.4 kB / 19.71 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.00152/0.00152, allocations: 216.4 kB / 23 MB, free: 2.973 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.052/1.052, 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.7484/0.7484, allocations: 312.3 MB / 0.6109 GB, free: 97.77 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.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=15120000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=15120000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone") [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.002067/0.002067, allocations: 75.42 kB / 0.77 GB, free: 20.25 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.144, allocations: 73.99 MB / 0.8422 GB, free: 10.39 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone): time 0.003432/0.1475, allocations: 3.059 MB / 0.8452 GB, free: 7.324 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.1485, allocations: 0.6915 MB / 0.8459 GB, free: 6.641 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.1486, allocations: 9 kB / 0.8459 GB, free: 6.633 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.1488, allocations: 39.58 kB / 0.8459 GB, free: 6.594 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.149, allocations: 120.3 kB / 0.846 GB, free: 6.477 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.1492, allocations: 88.34 kB / 0.8461 GB, free: 6.391 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003328/0.1496, allocations: 410.8 kB / 0.8465 GB, free: 5.988 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.1497, allocations: 62.19 kB / 0.8466 GB, free: 5.926 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.1499, allocations: 159.4 kB / 0.8467 GB, free: 5.77 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.1501, allocations: 136 kB / 0.8469 GB, free: 5.637 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.552e-05/0.1501, allocations: 32.5 kB / 0.8469 GB, free: 5.605 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.056e-05/0.1502, allocations: 36.53 kB / 0.8469 GB, free: 5.57 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.676e-05/0.1502, allocations: 63.77 kB / 0.847 GB, free: 5.508 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.1503, allocations: 143.9 kB / 0.8471 GB, free: 5.367 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.1507, allocations: 363.3 kB / 0.8475 GB, free: 5.012 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1507, allocations: 0 / 0.8475 GB, free: 5.012 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.195e-06/0.1507, allocations: 0.5 kB / 0.8475 GB, free: 5.012 MB / 474.8 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.1507, allocations: 0.625 kB / 0.8475 GB, free: 5.012 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009474/0.1516, allocations: 0.6054 MB / 0.8481 GB, free: 4.359 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.1517, allocations: 8.031 kB / 0.8481 GB, free: 4.352 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.404e-05/0.1517, allocations: 41.33 kB / 0.8481 GB, free: 4.312 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.152, allocations: 225.6 kB / 0.8483 GB, free: 4.066 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.152, allocations: 16.81 kB / 0.8483 GB, free: 4.051 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.601e-05/0.1521, allocations: 32.38 kB / 0.8484 GB, free: 4.02 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.1524, allocations: 301.8 kB / 0.8487 GB, free: 3.699 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.1524, allocations: 0.7188 kB / 0.8487 GB, free: 3.699 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.1525, allocations: 12 kB / 0.8487 GB, free: 3.688 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1525, allocations: 4.562 kB / 0.8487 GB, free: 3.684 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003024/0.1528, allocations: 245 kB / 0.8489 GB, free: 3.43 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008906/0.1537, allocations: 0.6484 MB / 0.8495 GB, free: 2.75 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004439/0.1541, allocations: 267.8 kB / 0.8498 GB, free: 2.469 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.1543, allocations: 165 kB / 0.85 GB, free: 2.293 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.1543, allocations: 4.625 kB / 0.85 GB, free: 2.289 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003455/0.1546, allocations: 368.6 kB / 0.8503 GB, free: 1.879 MB / 474.8 MB Notification: Performance of pre-optimization done (n=33): time 2.415e-06/0.1546, allocations: 3.938 kB / 0.8503 GB, free: 1.875 MB / 474.8 MB Notification: Performance of matching and sorting (n=35): time 0.001384/0.156, allocations: 1.149 MB / 0.8514 GB, free: 0.6367 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.477e-05/0.1561, allocations: 218.2 kB / 0.8516 GB, free: 384 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.1563, allocations: 253.9 kB / 0.8519 GB, free: 124 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.1563, allocations: 34.2 kB / 0.8519 GB, free: 84 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.366e-05/0.1564, allocations: 153.5 kB / 0.8521 GB, free: 15.93 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.347e-05/0.1565, allocations: 123 kB / 0.8522 GB, free: 15.8 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.843e-05/0.1565, allocations: 70.66 kB / 0.8523 GB, free: 15.73 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.738e-05/0.1566, allocations: 351.3 kB / 0.8526 GB, free: 15.38 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.1568, allocations: 224.4 kB / 0.8528 GB, free: 15.14 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.1571, allocations: 314.9 kB / 0.8531 GB, free: 14.77 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/0.1574, allocations: 458.4 kB / 0.8535 GB, free: 14.26 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1574, allocations: 0.625 kB / 0.8535 GB, free: 14.26 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005267/0.158, allocations: 0.5798 MB / 0.8541 GB, free: 13.64 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.402e-05/0.158, allocations: 91.97 kB / 0.8542 GB, free: 13.53 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.158, allocations: 4.688 kB / 0.8542 GB, free: 13.53 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.158, allocations: 8 kB / 0.8542 GB, free: 13.52 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.1582, allocations: 84.52 kB / 0.8543 GB, free: 13.44 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.1582, allocations: 4.594 kB / 0.8543 GB, free: 13.43 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.1584, allocations: 32.59 kB / 0.8543 GB, free: 13.4 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.1584, allocations: 16 kB / 0.8543 GB, free: 13.39 MB / 490.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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: 12 * Number of states: 0 () * Number of discrete variables: 21 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 3 * 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.0002274/0.1586, allocations: 229.7 kB / 0.8546 GB, free: 13.14 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.1586, allocations: 36.38 kB / 0.8546 GB, free: 13.11 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.547e-05/0.1587, allocations: 31.45 kB / 0.8546 GB, free: 13.08 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1587, allocations: 4 kB / 0.8546 GB, free: 13.08 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.1587, allocations: 0.5 kB / 0.8546 GB, free: 13.08 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.1587, allocations: 8.422 kB / 0.8546 GB, free: 13.07 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007745/0.1595, allocations: 0.8071 MB / 0.8554 GB, free: 12.2 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.1595, allocations: 0 / 0.8554 GB, free: 12.2 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.1596, allocations: 60.53 kB / 0.8555 GB, free: 12.14 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1596, allocations: 0.5938 kB / 0.8555 GB, free: 12.14 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.1597, allocations: 12.7 kB / 0.8555 GB, free: 12.13 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.1597, allocations: 7.938 kB / 0.8555 GB, free: 12.12 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1597, allocations: 0.625 kB / 0.8555 GB, free: 12.12 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3375/0.4971, allocations: 0.7639 MB / 0.8562 GB, free: 29.47 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.4973, allocations: 53.52 kB / 0.8563 GB, free: 29.47 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-05/0.4974, allocations: 16.16 kB / 0.8563 GB, free: 29.47 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.4975, allocations: 24.55 kB / 0.8563 GB, free: 29.47 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.4977, allocations: 29.05 kB / 0.8564 GB, free: 29.47 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.4977, allocations: 14.59 kB / 0.8564 GB, free: 29.47 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001605/0.4978, allocations: 181.5 kB / 0.8566 GB, free: 29.39 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.4978, allocations: 0 / 0.8566 GB, free: 29.39 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003251/0.4982, allocations: 90.53 kB / 0.8566 GB, free: 29.39 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * 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.0001656/0.4983, allocations: 127.6 kB / 0.8568 GB, free: 29.3 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006146/0.499, allocations: 0.5862 MB / 0.8573 GB, free: 28.96 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.499, allocations: 2.938 kB / 0.8573 GB, free: 28.96 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000235/0.4992, allocations: 317.1 kB / 0.8576 GB, free: 28.77 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004513/0.4996, allocations: 97.66 kB / 0.8577 GB, free: 28.77 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.5013, allocations: 1.056 MB / 0.8588 GB, free: 28.3 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.5014, allocations: 163.4 kB / 0.8589 GB, free: 28.22 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.105e-05/0.5015, allocations: 30.14 kB / 0.8589 GB, free: 28.21 MB / 490.8 MB Notification: Performance of SimCode: time 1.804e-06/0.5015, allocations: 4 kB / 0.8589 GB, free: 28.21 MB / 490.8 MB Notification: Performance of Templates: time 0.00801/0.5095, allocations: 4.347 MB / 0.8632 GB, free: 27.83 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 13.674958007410169]