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.002169/0.002169, allocations: 84.44 kB / 19.18 MB, free: 0.7383 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.002031/0.002031, allocations: 173.9 kB / 22.46 MB, free: 2.102 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.593/1.593, allocations: 177.1 MB / 202.8 MB, free: 5.781 MB / 186.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.346/1.346, allocations: 292.9 MB / 0.5392 GB, free: 49.82 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.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: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.6999 GB, free: 8.59 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.781e-05/2.909e-05, allocations: 3.547 kB / 0.6999 GB, free: 8.586 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone): time 0.003545/0.003574, allocations: 3.051 MB / 0.7029 GB, free: 5.516 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.004591, allocations: 0.7053 MB / 0.7036 GB, free: 4.809 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.004709, allocations: 0 / 0.7036 GB, free: 4.809 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.004838, allocations: 39.58 kB / 0.7036 GB, free: 4.77 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.005075, allocations: 126.9 kB / 0.7037 GB, free: 4.645 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.0053, allocations: 91.78 kB / 0.7038 GB, free: 4.555 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003153/0.005616, allocations: 433.8 kB / 0.7042 GB, free: 4.129 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.005772, allocations: 66.06 kB / 0.7043 GB, free: 4.066 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002043/0.005976, allocations: 219.5 kB / 0.7045 GB, free: 3.852 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002499/0.006226, allocations: 123.6 kB / 0.7046 GB, free: 3.73 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.044e-05/0.006266, allocations: 32 kB / 0.7047 GB, free: 3.699 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.618e-05/0.006312, allocations: 35.94 kB / 0.7047 GB, free: 3.664 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.434e-05/0.006357, allocations: 63.7 kB / 0.7048 GB, free: 3.602 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.006471, allocations: 127.7 kB / 0.7049 GB, free: 3.477 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.006793, allocations: 359 kB / 0.7052 GB, free: 3.125 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.006796, allocations: 4 kB / 0.7052 GB, free: 3.121 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.343e-06/0.006798, allocations: 3.938 kB / 0.7052 GB, free: 3.117 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.006804, allocations: 0 / 0.7052 GB, free: 3.117 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.0009955/0.007799, allocations: 0.6076 MB / 0.7058 GB, free: 2.461 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.00784, allocations: 12.03 kB / 0.7058 GB, free: 2.449 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.937e-05/0.00792, allocations: 40.7 kB / 0.7059 GB, free: 2.41 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.008205, allocations: 220.8 kB / 0.7061 GB, free: 2.172 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.008231, allocations: 16.88 kB / 0.7061 GB, free: 2.156 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.252e-05/0.008283, allocations: 28.33 kB / 0.7061 GB, free: 2.129 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004435/0.008727, allocations: 306.2 kB / 0.7064 GB, free: 1.801 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.008744, allocations: 0 / 0.7064 GB, free: 1.801 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.008773, allocations: 15.98 kB / 0.7064 GB, free: 1.785 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.008779, allocations: 4 kB / 0.7064 GB, free: 1.781 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004367/0.009215, allocations: 248.2 kB / 0.7067 GB, free: 1.527 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009796/0.01019, allocations: 0.6543 MB / 0.7073 GB, free: 0.8359 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005527/0.01075, allocations: 274 kB / 0.7076 GB, free: 0.5469 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.01098, allocations: 156.4 kB / 0.7077 GB, free: 388 kB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.01099, allocations: 4 kB / 0.7077 GB, free: 384 kB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004248/0.01142, allocations: 367.4 kB / 0.7081 GB, free: 15.96 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.523e-06/0.01142, allocations: 4 kB / 0.7081 GB, free: 15.96 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.002349/0.01377, allocations: 1.135 MB / 0.7092 GB, free: 14.73 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001733/0.01394, allocations: 225.5 kB / 0.7094 GB, free: 14.46 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.01425, allocations: 249.9 kB / 0.7096 GB, free: 14.21 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/0.0143, allocations: 37.7 kB / 0.7097 GB, free: 14.17 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.01445, allocations: 164.8 kB / 0.7098 GB, free: 14 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.01456, allocations: 111.1 kB / 0.7099 GB, free: 13.89 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.0147, allocations: 78.19 kB / 0.71 GB, free: 13.81 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002224/0.01493, allocations: 342.7 kB / 0.7103 GB, free: 13.46 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003875/0.01531, allocations: 219.9 kB / 0.7105 GB, free: 13.23 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004647/0.01578, allocations: 330.8 kB / 0.7109 GB, free: 12.84 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007265/0.0165, allocations: 454.2 kB / 0.7113 GB, free: 12.33 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01651, allocations: 4 kB / 0.7113 GB, free: 12.32 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009952/0.0175, allocations: 0.5729 MB / 0.7119 GB, free: 11.71 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.23e-05/0.01759, allocations: 100.4 kB / 0.712 GB, free: 11.59 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.0176, allocations: 352 / 0.712 GB, free: 11.59 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.01762, allocations: 12 kB / 0.712 GB, free: 11.58 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/0.01796, allocations: 79.77 kB / 0.712 GB, free: 11.5 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.01798, allocations: 8 kB / 0.7121 GB, free: 11.5 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.01821, allocations: 23.98 kB / 0.7121 GB, free: 11.47 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/0.01824, allocations: 19.98 kB / 0.7121 GB, free: 11.45 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.0003111/0.01856, allocations: 237.1 kB / 0.7123 GB, free: 11.2 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-05/0.01861, allocations: 31.81 kB / 0.7123 GB, free: 11.17 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.445e-05/0.0187, allocations: 38.95 kB / 0.7124 GB, free: 11.13 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.0187, allocations: 0 / 0.7124 GB, free: 11.13 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.01871, allocations: 0 / 0.7124 GB, free: 11.13 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.432e-05/0.01873, allocations: 4 kB / 0.7124 GB, free: 11.13 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.0201, allocations: 0.8167 MB / 0.7132 GB, free: 10.25 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.02011, allocations: 4 kB / 0.7132 GB, free: 10.25 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003176/0.02043, allocations: 63.94 kB / 0.7133 GB, free: 10.19 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.02043, allocations: 0 / 0.7133 GB, free: 10.19 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.02046, allocations: 12 kB / 0.7133 GB, free: 10.18 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.02046, allocations: 7.938 kB / 0.7133 GB, free: 10.17 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.02047, allocations: 3.984 kB / 0.7133 GB, free: 10.16 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.02177, allocations: 0.7639 MB / 0.714 GB, free: 9.348 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.0219, allocations: 55.77 kB / 0.7141 GB, free: 9.293 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.556e-05/0.02197, allocations: 16 kB / 0.7141 GB, free: 9.277 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.02218, allocations: 19.98 kB / 0.7141 GB, free: 9.258 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.02229, allocations: 27.95 kB / 0.7141 GB, free: 9.23 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.723e-05/0.02233, allocations: 19.92 kB / 0.7142 GB, free: 9.211 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002213/0.02255, allocations: 185.2 kB / 0.7143 GB, free: 9.031 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.02255, allocations: 0 / 0.7143 GB, free: 9.031 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003767/0.02292, allocations: 84 kB / 0.7144 GB, free: 8.949 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.000182/0.02311, allocations: 128.8 kB / 0.7145 GB, free: 8.82 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0009602/0.02407, allocations: 0.592 MB / 0.7151 GB, free: 8.16 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.02407, allocations: 0 / 0.7151 GB, free: 8.16 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004511/0.02452, allocations: 310.1 kB / 0.7154 GB, free: 7.82 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005725/0.02509, allocations: 89.06 kB / 0.7155 GB, free: 7.73 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.02686, allocations: 0.8578 MB / 0.7163 GB, free: 6.836 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/0.02704, allocations: 168.2 kB / 0.7165 GB, free: 6.648 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001369/0.02718, allocations: 34.95 kB / 0.7165 GB, free: 6.613 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.447e-05/0.02726, allocations: 32.5 kB / 0.7166 GB, free: 6.582 MB / 426.8 MB Notification: Performance of SimCode: time 5.11e-07/0.02726, allocations: 0 / 0.7166 GB, free: 6.582 MB / 426.8 MB Notification: Performance of Templates: time 0.2097/0.2369, allocations: 4.812 MB / 0.7213 GB, free: 35.49 MB / 426.8 MB " [Timeout remaining time 660] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 26.097707635955885]