Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid.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.0007082/0.0007082, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009325/0.001641, allocations: 435.8 kB / 10.31 MB, free: 384 kB / 10.45 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.0007081/0.0007081, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008973/0.001605, allocations: 463.6 kB / 11.65 MB, free: 2.516 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.03/1.03, allocations: 177.1 MB / 189.5 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09456/1.125, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.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.7326/0.7326, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03186/0.7645, allocations: 21.04 MB / 0.5431 GB, free: 31.96 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.SebacicAcid.SebacicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.154e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid): time 0.002789/0.002811, allocations: 2.518 MB / 0.547 GB, free: 28.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009397/0.003751, allocations: 0.6155 MB / 0.5476 GB, free: 27.4 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.003855, allocations: 0 / 0.5476 GB, free: 27.4 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.938e-05/0.003934, allocations: 27.72 kB / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.004079, allocations: 95.19 kB / 0.5477 GB, free: 27.28 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.004215, allocations: 47.88 kB / 0.5477 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.004414, allocations: 270.5 kB / 0.548 GB, free: 26.97 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.004523, allocations: 34.53 kB / 0.548 GB, free: 26.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.004708, allocations: 184.2 kB / 0.5482 GB, free: 26.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.004862, allocations: 91.72 kB / 0.5483 GB, free: 26.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.004887, allocations: 16 kB / 0.5483 GB, free: 26.65 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.567e-05/0.004913, allocations: 16 kB / 0.5483 GB, free: 26.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.533e-05/0.004938, allocations: 27.88 kB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.656e-05/0.004995, allocations: 59.88 kB / 0.5484 GB, free: 26.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.005163, allocations: 139.5 kB / 0.5485 GB, free: 26.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.628e-05/0.005179, allocations: 0 / 0.5485 GB, free: 26.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.005181, allocations: 0 / 0.5485 GB, free: 26.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.005193, allocations: 0 / 0.5485 GB, free: 26.41 MB / 410.7 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.0005684/0.005761, allocations: 0.4976 MB / 0.549 GB, free: 25.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.005792, allocations: 15.89 kB / 0.549 GB, free: 25.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/0.005837, allocations: 20.92 kB / 0.5491 GB, free: 25.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.006, allocations: 179.1 kB / 0.5492 GB, free: 25.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.006022, allocations: 8.609 kB / 0.5492 GB, free: 25.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.006046, allocations: 20.36 kB / 0.5493 GB, free: 25.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.006222, allocations: 151.5 kB / 0.5494 GB, free: 25.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.006236, allocations: 4 kB / 0.5494 GB, free: 25.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.006247, allocations: 8 kB / 0.5494 GB, free: 25.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.006252, allocations: 4 kB / 0.5494 GB, free: 25.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.713e-05/0.006329, allocations: 76.64 kB / 0.5495 GB, free: 25.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003995/0.006728, allocations: 372.8 kB / 0.5498 GB, free: 24.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.006911, allocations: 116 kB / 0.5499 GB, free: 24.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.471e-05/0.006946, allocations: 58.55 kB / 0.55 GB, free: 24.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.006956, allocations: 0 / 0.55 GB, free: 24.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.007098, allocations: 199.7 kB / 0.5502 GB, free: 24.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.007099, allocations: 0 / 0.5502 GB, free: 24.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005422/0.007642, allocations: 0.5074 MB / 0.5507 GB, free: 23.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.007675, allocations: 136.5 kB / 0.5508 GB, free: 23.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.457e-05/0.00777, allocations: 202.1 kB / 0.551 GB, free: 23.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.007783, allocations: 33.7 kB / 0.551 GB, free: 23.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.351e-05/0.007816, allocations: 116.4 kB / 0.5512 GB, free: 23.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.007848, allocations: 79.39 kB / 0.5512 GB, free: 23.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/0.007897, allocations: 51.19 kB / 0.5513 GB, free: 23.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.172e-05/0.007949, allocations: 334.8 kB / 0.5516 GB, free: 22.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.615e-05/0.008005, allocations: 101 kB / 0.5517 GB, free: 22.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.542e-05/0.00807, allocations: 177.3 kB / 0.5519 GB, free: 22.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.008171, allocations: 207.8 kB / 0.5521 GB, free: 22.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.008173, allocations: 0 / 0.5521 GB, free: 22.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001559/0.008329, allocations: 266 kB / 0.5523 GB, free: 22.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.008363, allocations: 59.41 kB / 0.5524 GB, free: 22.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.00837, allocations: 2.656 kB / 0.5524 GB, free: 22.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.008381, allocations: 4 kB / 0.5524 GB, free: 22.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.008556, allocations: 74.08 kB / 0.5525 GB, free: 21.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.00856, allocations: 7.938 kB / 0.5525 GB, free: 21.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.929e-05/0.00864, allocations: 23.86 kB / 0.5525 GB, free: 21.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.00865, allocations: 12 kB / 0.5525 GB, free: 21.92 MB / 410.7 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.0001075/0.008758, allocations: 171.7 kB / 0.5527 GB, free: 21.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/0.008778, allocations: 15.98 kB / 0.5527 GB, free: 21.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.963e-05/0.008807, allocations: 29.95 kB / 0.5527 GB, free: 21.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.008809, allocations: 4 kB / 0.5527 GB, free: 21.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.008811, allocations: 0 / 0.5527 GB, free: 21.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.008815, allocations: 0 / 0.5527 GB, free: 21.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.009082, allocations: 370.3 kB / 0.5531 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.009085, allocations: 7.922 kB / 0.5531 GB, free: 21.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.009213, allocations: 47.91 kB / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.966e-05/0.009233, allocations: 15.86 kB / 0.5531 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.009235, allocations: 0 / 0.5531 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.009245, allocations: 4 kB / 0.5531 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.009248, allocations: 3 kB / 0.5531 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.009249, allocations: 4 kB / 0.5531 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.009437, allocations: 358.4 kB / 0.5535 GB, free: 20.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.009462, allocations: 8 kB / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.009535, allocations: 7.984 kB / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/0.009585, allocations: 19.97 kB / 0.5535 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-06/0.009595, allocations: 15.92 kB / 0.5535 GB, free: 20.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.155e-05/0.009636, allocations: 61.94 kB / 0.5536 GB, free: 20.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009636, allocations: 0 / 0.5536 GB, free: 20.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001618/0.009798, allocations: 60 kB / 0.5536 GB, free: 20.66 MB / 410.7 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 9.525e-05/0.009893, allocations: 92.36 kB / 0.5537 GB, free: 20.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.01006, allocations: 304.5 kB / 0.554 GB, free: 20.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.01006, allocations: 4 kB / 0.554 GB, free: 20.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.072e-05/0.01013, allocations: 141.9 kB / 0.5542 GB, free: 20.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.01036, allocations: 94.2 kB / 0.5543 GB, free: 19.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005213/0.01558, allocations: 0.5704 MB / 0.5548 GB, free: 19.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.269e-05/0.01561, allocations: 84.31 kB / 0.5549 GB, free: 19.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.693e-05/0.01569, allocations: 25.98 kB / 0.5549 GB, free: 19.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.01582, allocations: 115.3 kB / 0.555 GB, free: 19.12 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01583, allocations: 0 / 0.555 GB, free: 19.12 MB / 410.7 MB Notification: Performance of Templates: time 0.005174/0.021, allocations: 3.775 MB / 0.5587 GB, free: 15.45 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3172319643199444]