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.0009121/0.0009121, 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.0009307/0.0009307, allocations: 166.3 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.073/1.073, allocations: 177.1 MB / 203.5 MB, free: 5.387 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.7323/0.7323, allocations: 291.2 MB / 0.5382 GB, free: 51.63 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: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.621e-05, allocations: 6.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): time 0.002683/0.002709, allocations: 3.047 MB / 0.7004 GB, free: 7.27 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008775/0.003586, allocations: 0.7091 MB / 0.7011 GB, free: 6.559 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.003706, allocations: 0 / 0.7011 GB, free: 6.559 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.003841, allocations: 39.58 kB / 0.7011 GB, free: 6.52 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.00405, allocations: 127 kB / 0.7012 GB, free: 6.395 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.004272, allocations: 87.77 kB / 0.7013 GB, free: 6.309 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.00456, allocations: 429.9 kB / 0.7017 GB, free: 5.887 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.004724, allocations: 70.06 kB / 0.7018 GB, free: 5.82 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.004899, allocations: 223.4 kB / 0.702 GB, free: 5.602 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.005103, allocations: 123.6 kB / 0.7021 GB, free: 5.48 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.005138, allocations: 32 kB / 0.7021 GB, free: 5.449 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.411e-05/0.005173, allocations: 32 kB / 0.7022 GB, free: 5.418 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.699e-05/0.00522, allocations: 67.7 kB / 0.7022 GB, free: 5.352 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 8.683e-05/0.005306, allocations: 123.7 kB / 0.7024 GB, free: 5.23 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.005563, allocations: 362.9 kB / 0.7027 GB, free: 4.875 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.005565, allocations: 0 / 0.7027 GB, free: 4.875 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.433e-06/0.005566, allocations: 0 / 0.7027 GB, free: 4.875 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.005572, allocations: 4 kB / 0.7027 GB, free: 4.871 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.0007429/0.006315, allocations: 0.6076 MB / 0.7033 GB, free: 4.215 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.006367, allocations: 8.031 kB / 0.7033 GB, free: 4.207 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.071e-05/0.006448, allocations: 36.7 kB / 0.7033 GB, free: 4.172 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.006746, allocations: 224.7 kB / 0.7036 GB, free: 3.93 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.006768, allocations: 12.88 kB / 0.7036 GB, free: 3.918 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/0.006806, allocations: 28.33 kB / 0.7036 GB, free: 3.891 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.007143, allocations: 314.1 kB / 0.7039 GB, free: 3.555 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.007161, allocations: 11.92 kB / 0.7039 GB, free: 3.543 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.00718, allocations: 8 kB / 0.7039 GB, free: 3.535 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.007187, allocations: 4 kB / 0.7039 GB, free: 3.531 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002708/0.007458, allocations: 248.2 kB / 0.7042 GB, free: 3.277 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006929/0.008151, allocations: 0.6544 MB / 0.7048 GB, free: 2.586 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003989/0.00855, allocations: 272.3 kB / 0.7051 GB, free: 2.301 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.008691, allocations: 164.4 kB / 0.7052 GB, free: 2.125 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.008703, allocations: 0 / 0.7052 GB, free: 2.125 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002876/0.008991, allocations: 371.5 kB / 0.7056 GB, free: 1.711 MB / 410.8 MB Notification: Performance of pre-optimization done (n=33): time 1.723e-06/0.008992, allocations: 0 / 0.7056 GB, free: 1.711 MB / 410.8 MB Notification: Performance of matching and sorting (n=35): time 0.001245/0.01024, allocations: 1.131 MB / 0.7067 GB, free: 496 kB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.01031, allocations: 221.6 kB / 0.7069 GB, free: 224 kB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.01049, allocations: 249.9 kB / 0.7071 GB, free: 15.96 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.01052, allocations: 41.7 kB / 0.7072 GB, free: 15.92 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.07e-05/0.01061, allocations: 160.8 kB / 0.7073 GB, free: 15.76 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.877e-05/0.01068, allocations: 115.1 kB / 0.7074 GB, free: 15.64 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.872e-05/0.01076, allocations: 74.19 kB / 0.7075 GB, free: 15.57 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.01087, allocations: 346.7 kB / 0.7078 GB, free: 15.22 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.01109, allocations: 219.8 kB / 0.708 GB, free: 14.98 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.01135, allocations: 326.9 kB / 0.7084 GB, free: 14.6 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004187/0.01177, allocations: 466 kB / 0.7088 GB, free: 14.07 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01177, allocations: 0 / 0.7088 GB, free: 14.07 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005823/0.01235, allocations: 0.5807 MB / 0.7094 GB, free: 13.45 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.449e-05/0.01241, allocations: 93.09 kB / 0.7095 GB, free: 13.34 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.01242, allocations: 0 / 0.7095 GB, free: 13.34 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.01244, allocations: 8 kB / 0.7095 GB, free: 13.33 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.01262, allocations: 84.23 kB / 0.7095 GB, free: 13.25 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.01263, allocations: 4 kB / 0.7095 GB, free: 13.25 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.01275, allocations: 19.98 kB / 0.7096 GB, free: 13.23 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.01277, allocations: 16 kB / 0.7096 GB, free: 13.21 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.000222/0.01299, allocations: 243.6 kB / 0.7098 GB, free: 12.95 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.01302, allocations: 31.81 kB / 0.7098 GB, free: 12.92 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.915e-05/0.01307, allocations: 38.95 kB / 0.7099 GB, free: 12.88 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.01307, allocations: 0 / 0.7099 GB, free: 12.88 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.01308, allocations: 8 kB / 0.7099 GB, free: 12.88 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.01309, allocations: 0 / 0.7099 GB, free: 12.88 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008037/0.01389, allocations: 0.8173 MB / 0.7107 GB, free: 12 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.01389, allocations: 0 / 0.7107 GB, free: 12 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.01406, allocations: 63.89 kB / 0.7107 GB, free: 11.94 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.01407, allocations: 0 / 0.7107 GB, free: 11.94 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.01409, allocations: 12 kB / 0.7108 GB, free: 11.93 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.01409, allocations: 4 kB / 0.7108 GB, free: 11.92 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.01409, allocations: 3.984 kB / 0.7108 GB, free: 11.92 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007248/0.01482, allocations: 0.7601 MB / 0.7115 GB, free: 11.11 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.85e-05/0.01491, allocations: 63.7 kB / 0.7116 GB, free: 11.04 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/0.01495, allocations: 12 kB / 0.7116 GB, free: 11.03 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.01505, allocations: 19.98 kB / 0.7116 GB, free: 11.01 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.829e-05/0.01514, allocations: 31.89 kB / 0.7116 GB, free: 10.98 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.01516, allocations: 19.92 kB / 0.7116 GB, free: 10.96 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001297/0.01529, allocations: 185.2 kB / 0.7118 GB, free: 10.78 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01529, allocations: 0 / 0.7118 GB, free: 10.78 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.000234/0.01552, allocations: 84 kB / 0.7119 GB, free: 10.7 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.0001275/0.01565, allocations: 126.9 kB / 0.712 GB, free: 10.57 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0005555/0.0162, allocations: 0.5925 MB / 0.7126 GB, free: 9.91 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01621, allocations: 0 / 0.7126 GB, free: 9.91 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002463/0.01645, allocations: 310.1 kB / 0.7129 GB, free: 9.57 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.01682, allocations: 91.88 kB / 0.713 GB, free: 9.48 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.01797, allocations: 0.8791 MB / 0.7138 GB, free: 8.559 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.01809, allocations: 172.2 kB / 0.714 GB, free: 8.367 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.987e-05/0.01816, allocations: 32.5 kB / 0.714 GB, free: 8.336 MB / 426.8 MB Notification: Performance of SimCode: time 7.51e-07/0.01816, allocations: 0 / 0.714 GB, free: 8.336 MB / 426.8 MB Notification: Performance of Templates: time 0.005075/0.02324, allocations: 4.376 MB / 0.7183 GB, free: 4.012 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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_17Hydroxyprogesterone.D_17Hydroxyprogesterone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 13.598599103279412]