Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone.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.0007168/0.0007168, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009477/0.001664, allocations: 443.9 kB / 10.36 MB, free: 332 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.0007075/0.0007075, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008806/0.001588, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.072/1.072, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09934/1.172, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.716/0.716, allocations: 291.1 MB / 0.5226 GB, free: 52.78 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04042/0.7564, allocations: 21.05 MB / 0.5431 GB, free: 31.79 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.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=691200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=691200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.5445 GB, free: 30.38 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.092e-05, allocations: 10.19 kB / 0.5445 GB, free: 30.37 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone): time 0.003389/0.00342, allocations: 3.298 MB / 0.5478 GB, free: 27.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004601/0.008021, allocations: 6.805 MB / 0.5544 GB, free: 20.24 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002384/0.008259, allocations: 3.938 kB / 0.5544 GB, free: 20.24 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.008401, allocations: 43.56 kB / 0.5544 GB, free: 20.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000266/0.008667, allocations: 130.9 kB / 0.5546 GB, free: 20.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.008916, allocations: 83.89 kB / 0.5547 GB, free: 19.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003681/0.009284, allocations: 437.8 kB / 0.5551 GB, free: 19.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.009428, allocations: 71.3 kB / 0.5551 GB, free: 19.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002565/0.009684, allocations: 270.5 kB / 0.5554 GB, free: 19.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.009874, allocations: 127.6 kB / 0.5555 GB, free: 19.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.601e-05/0.00991, allocations: 32 kB / 0.5555 GB, free: 19.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.019e-05/0.009941, allocations: 36 kB / 0.5556 GB, free: 19.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.574e-05/0.009976, allocations: 47.81 kB / 0.5556 GB, free: 18.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.332e-05/0.01006, allocations: 103.8 kB / 0.5557 GB, free: 18.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.0103, allocations: 223.2 kB / 0.5559 GB, free: 18.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.694e-05/0.01032, allocations: 0 / 0.5559 GB, free: 18.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.01032, allocations: 0 / 0.5559 GB, free: 18.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.01033, allocations: 0 / 0.5559 GB, free: 18.66 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006908/0.01102, allocations: 0.6434 MB / 0.5566 GB, free: 17.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.01106, allocations: 19.84 kB / 0.5566 GB, free: 17.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.249e-05/0.01112, allocations: 40.89 kB / 0.5566 GB, free: 17.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.01136, allocations: 201.5 kB / 0.5568 GB, free: 17.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.01138, allocations: 12.88 kB / 0.5568 GB, free: 17.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.212e-05/0.01143, allocations: 28.33 kB / 0.5569 GB, free: 17.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.01169, allocations: 246.1 kB / 0.5571 GB, free: 17.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.01171, allocations: 5.625 kB / 0.5571 GB, free: 17.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.01173, allocations: 7.984 kB / 0.5571 GB, free: 17.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.01173, allocations: 8 kB / 0.5571 GB, free: 17.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.01185, allocations: 138.6 kB / 0.5572 GB, free: 17.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000568/0.01242, allocations: 473.9 kB / 0.5577 GB, free: 16.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.01265, allocations: 176 kB / 0.5579 GB, free: 16.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.158e-05/0.01271, allocations: 104.5 kB / 0.558 GB, free: 16.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.01273, allocations: 7.938 kB / 0.558 GB, free: 16.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.01294, allocations: 327.3 kB / 0.5583 GB, free: 16.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 4.208e-06/0.01294, allocations: 4 kB / 0.5583 GB, free: 16.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008214/0.01376, allocations: 0.8307 MB / 0.5591 GB, free: 15.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.287/0.3008, allocations: 276.5 kB / 0.5594 GB, free: 78.43 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.301, allocations: 226.2 kB / 0.5596 GB, free: 78.32 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.521e-05/0.3011, allocations: 37.39 kB / 0.5596 GB, free: 78.29 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.3011, allocations: 146 kB / 0.5598 GB, free: 78.21 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.157e-05/0.3012, allocations: 118 kB / 0.5599 GB, free: 78.17 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.276e-05/0.3013, allocations: 75.84 kB / 0.5599 GB, free: 78.16 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.215e-05/0.3013, allocations: 343.1 kB / 0.5603 GB, free: 77.84 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.3014, allocations: 151 kB / 0.5604 GB, free: 77.74 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.3015, allocations: 251.6 kB / 0.5606 GB, free: 77.52 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.3017, allocations: 336 kB / 0.561 GB, free: 77.26 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3017, allocations: 2.344 kB / 0.561 GB, free: 77.26 MB / 410.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003033/0.302, allocations: 392.2 kB / 0.5613 GB, free: 77.04 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.775e-05/0.3021, allocations: 91.7 kB / 0.5614 GB, free: 76.95 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.3021, allocations: 3.438 kB / 0.5614 GB, free: 76.95 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.3021, allocations: 5.562 kB / 0.5614 GB, free: 76.95 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003108/0.3024, allocations: 109.9 kB / 0.5615 GB, free: 76.95 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.3024, allocations: 8.453 kB / 0.5616 GB, free: 76.95 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.3026, allocations: 23.31 kB / 0.5616 GB, free: 76.95 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.3026, allocations: 13.97 kB / 0.5616 GB, free: 76.95 MB / 410.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.0001657/0.3027, allocations: 216.3 kB / 0.5618 GB, free: 76.77 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.3028, allocations: 38.44 kB / 0.5618 GB, free: 76.77 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.155e-05/0.3028, allocations: 36.23 kB / 0.5619 GB, free: 76.76 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3028, allocations: 1.828 kB / 0.5619 GB, free: 76.76 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3028, allocations: 0.875 kB / 0.5619 GB, free: 76.76 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.775e-05/0.3029, allocations: 32.16 kB / 0.5619 GB, free: 76.75 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.3029, allocations: 12.16 kB / 0.5619 GB, free: 76.75 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.303, allocations: 14.56 kB / 0.5619 GB, free: 76.75 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.861e-05/0.3031, allocations: 19.33 kB / 0.5619 GB, free: 76.75 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.181e-05/0.3031, allocations: 26.3 kB / 0.562 GB, free: 76.75 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003642/0.3035, allocations: 396.5 kB / 0.5623 GB, free: 76.51 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004117/0.3039, allocations: 0.6017 MB / 0.5629 GB, free: 76.11 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001202/0.304, allocations: 149.5 kB / 0.5631 GB, free: 76.04 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.455e-05/0.3041, allocations: 82.08 kB / 0.5632 GB, free: 76.03 MB / 410.8 MB Notification: Performance of Backend: time 4.71e-07/0.3041, allocations: 3.938 kB / 0.5632 GB, free: 76.03 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004287/0.3045, allocations: 485.5 kB / 0.5636 GB, free: 75.69 MB / 410.8 MB Notification: Performance of SimCode: time 0.007624/0.3122, allocations: 1.363 MB / 0.565 GB, free: 74.73 MB / 410.8 MB Notification: Performance of Templates: time 0.007555/0.3197, allocations: 5.554 MB / 0.5704 GB, free: 73.57 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.376196201890707]