Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone_Caritis2011_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.0008922/0.0008922, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001469/0.001469, allocations: 165.9 kB / 23.21 MB, free: 1.332 MB / 18.57 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.041/1.041, allocations: 177.1 MB / 203.5 MB, free: 5.766 MB / 186.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.7348/0.7348, allocations: 291.2 MB / 0.5382 GB, free: 51.81 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_Caritis2011_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=15120000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone_Caritis2011_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone_Caritis2011_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=15120000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone_Caritis2011_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 3.938 kB / 0.6974 GB, free: 10.35 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.141e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone_Caritis2011_reference): time 0.002643/0.002665, allocations: 3.04 MB / 0.7003 GB, free: 7.281 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008185/0.003483, allocations: 0.6935 MB / 0.701 GB, free: 6.586 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.003589, allocations: 0 / 0.701 GB, free: 6.586 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.003713, allocations: 47.56 kB / 0.7011 GB, free: 6.539 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.003908, allocations: 131 kB / 0.7012 GB, free: 6.41 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.004107, allocations: 83.83 kB / 0.7013 GB, free: 6.328 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.004368, allocations: 429.8 kB / 0.7017 GB, free: 5.906 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.004528, allocations: 66.06 kB / 0.7017 GB, free: 5.844 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.004691, allocations: 223.5 kB / 0.702 GB, free: 5.625 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.004878, allocations: 119.6 kB / 0.7021 GB, free: 5.508 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.24e-05/0.004911, allocations: 32 kB / 0.7021 GB, free: 5.477 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.941e-05/0.00494, allocations: 32 kB / 0.7021 GB, free: 5.445 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.69e-05/0.004977, allocations: 67.73 kB / 0.7022 GB, free: 5.379 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 8.156e-05/0.005058, allocations: 127.7 kB / 0.7023 GB, free: 5.254 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.005298, allocations: 366.9 kB / 0.7027 GB, free: 4.895 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.0053, allocations: 3.938 kB / 0.7027 GB, free: 4.891 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.082e-06/0.005301, allocations: 0 / 0.7027 GB, free: 4.891 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.005306, allocations: 0 / 0.7027 GB, free: 4.891 MB / 410.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.0006741/0.00598, allocations: 0.5998 MB / 0.7033 GB, free: 4.242 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.00602, allocations: 8.031 kB / 0.7033 GB, free: 4.234 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.167e-05/0.006072, allocations: 40.7 kB / 0.7033 GB, free: 4.195 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.006272, allocations: 224.7 kB / 0.7035 GB, free: 3.953 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.006292, allocations: 20.86 kB / 0.7035 GB, free: 3.934 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.479e-05/0.006326, allocations: 24.33 kB / 0.7036 GB, free: 3.91 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003152/0.006642, allocations: 306.2 kB / 0.7039 GB, free: 3.582 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.006657, allocations: 8 kB / 0.7039 GB, free: 3.574 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.006674, allocations: 4 kB / 0.7039 GB, free: 3.57 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.00668, allocations: 4 kB / 0.7039 GB, free: 3.566 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002605/0.00694, allocations: 252.4 kB / 0.7041 GB, free: 3.309 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006462/0.007586, allocations: 0.6543 MB / 0.7048 GB, free: 2.617 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.007952, allocations: 270 kB / 0.705 GB, free: 2.332 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.008089, allocations: 160.4 kB / 0.7052 GB, free: 2.16 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.0081, allocations: 4 kB / 0.7052 GB, free: 2.156 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002636/0.008363, allocations: 375.4 kB / 0.7055 GB, free: 1.738 MB / 410.8 MB Notification: Performance of pre-optimization done (n=33): time 1.983e-06/0.008365, allocations: 0 / 0.7055 GB, free: 1.738 MB / 410.8 MB Notification: Performance of matching and sorting (n=35): time 0.001145/0.009511, allocations: 1.135 MB / 0.7066 GB, free: 0.5078 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.009559, allocations: 221.6 kB / 0.7068 GB, free: 248 kB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.009718, allocations: 253.9 kB / 0.7071 GB, free: 15.98 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.009745, allocations: 37.7 kB / 0.7071 GB, free: 15.94 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.134e-05/0.009826, allocations: 152.8 kB / 0.7073 GB, free: 15.79 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.373e-05/0.00989, allocations: 119 kB / 0.7074 GB, free: 15.67 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.806e-05/0.009968, allocations: 70.2 kB / 0.7074 GB, free: 15.6 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.01007, allocations: 354.7 kB / 0.7078 GB, free: 15.24 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.01028, allocations: 215.9 kB / 0.708 GB, free: 15.01 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/0.01054, allocations: 330.8 kB / 0.7083 GB, free: 14.62 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/0.01093, allocations: 454.2 kB / 0.7087 GB, free: 14.11 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01093, allocations: 0 / 0.7087 GB, free: 14.11 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005537/0.01149, allocations: 0.581 MB / 0.7093 GB, free: 13.48 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.226e-05/0.01154, allocations: 93.12 kB / 0.7094 GB, free: 13.38 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.01155, allocations: 3.938 kB / 0.7094 GB, free: 13.37 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.01156, allocations: 8 kB / 0.7094 GB, free: 13.36 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.01174, allocations: 83.83 kB / 0.7095 GB, free: 13.28 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.01174, allocations: 4 kB / 0.7095 GB, free: 13.28 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.01186, allocations: 19.98 kB / 0.7095 GB, free: 13.26 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.01188, allocations: 19.98 kB / 0.7095 GB, free: 13.24 MB / 426.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.0002032/0.01208, allocations: 250.1 kB / 0.7098 GB, free: 12.98 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.01211, allocations: 31.81 kB / 0.7098 GB, free: 12.95 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.634e-05/0.01216, allocations: 34.95 kB / 0.7098 GB, free: 12.91 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.01216, allocations: 0 / 0.7098 GB, free: 12.91 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.01217, allocations: 4 kB / 0.7098 GB, free: 12.91 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.01218, allocations: 3.984 kB / 0.7098 GB, free: 12.9 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007659/0.01294, allocations: 0.8095 MB / 0.7106 GB, free: 12.04 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01294, allocations: 4 kB / 0.7106 GB, free: 12.03 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.0131, allocations: 55.97 kB / 0.7107 GB, free: 11.98 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.0131, allocations: 0 / 0.7107 GB, free: 11.98 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.01313, allocations: 19.98 kB / 0.7107 GB, free: 11.96 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.01313, allocations: 0 / 0.7107 GB, free: 11.96 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.01313, allocations: 0 / 0.7107 GB, free: 11.96 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006988/0.01383, allocations: 0.7717 MB / 0.7115 GB, free: 11.13 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.223e-05/0.01391, allocations: 67.7 kB / 0.7115 GB, free: 11.07 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.01395, allocations: 8 kB / 0.7115 GB, free: 11.06 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.01405, allocations: 19.98 kB / 0.7116 GB, free: 11.04 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.287e-05/0.01414, allocations: 31.94 kB / 0.7116 GB, free: 11.01 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.01415, allocations: 15.88 kB / 0.7116 GB, free: 10.99 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001362/0.01429, allocations: 189.2 kB / 0.7118 GB, free: 10.81 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01429, allocations: 0 / 0.7118 GB, free: 10.81 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002301/0.01452, allocations: 84 kB / 0.7119 GB, free: 10.73 MB / 426.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.0001175/0.01464, allocations: 134.9 kB / 0.712 GB, free: 10.59 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0005335/0.01517, allocations: 0.5842 MB / 0.7126 GB, free: 9.938 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.01517, allocations: 0 / 0.7126 GB, free: 9.938 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002461/0.01542, allocations: 314.1 kB / 0.7129 GB, free: 9.594 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.01577, allocations: 84.39 kB / 0.7129 GB, free: 9.512 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.01684, allocations: 0.8936 MB / 0.7138 GB, free: 8.578 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.01695, allocations: 168.2 kB / 0.714 GB, free: 8.391 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.76e-05/0.01702, allocations: 28.5 kB / 0.714 GB, free: 8.363 MB / 426.8 MB Notification: Performance of SimCode: time 4.81e-07/0.01702, allocations: 0 / 0.714 GB, free: 8.363 MB / 426.8 MB Notification: Performance of Templates: time 0.004729/0.02175, allocations: 4.372 MB / 0.7183 GB, free: 4.035 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone_Caritis2011_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone_Caritis2011_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone_Caritis2011_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone_Caritis2011_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone_Caritis2011_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone_Caritis2011_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone_Caritis2011_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 13.566513411700726]