Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone_Mirochnick2001_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.0007485/0.0007485, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001065/0.001813, 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.0007425/0.0007425, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000985/0.001728, 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 0.9924/0.9924, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1302/1.123, 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.744/0.744, allocations: 291.1 MB / 0.5226 GB, free: 52.79 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02581/0.7698, allocations: 21.05 MB / 0.5431 GB, free: 31.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.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone_Mirochnick2001_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=691200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone_Mirochnick2001_reference") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone_Mirochnick2001_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=691200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone_Mirochnick2001_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.5445 GB, free: 30.43 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.344e-05/1.498e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.42 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone_Mirochnick2001_reference): time 0.006029/0.006044, allocations: 3.295 MB / 0.5477 GB, free: 27.11 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007575/0.01362, allocations: 6.805 MB / 0.5544 GB, free: 20.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.01375, allocations: 4 kB / 0.5544 GB, free: 20.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.965e-05/0.01383, allocations: 39.56 kB / 0.5544 GB, free: 20.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.01403, allocations: 134.9 kB / 0.5545 GB, free: 20.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.01418, allocations: 83.89 kB / 0.5546 GB, free: 20.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002703/0.01445, allocations: 429.8 kB / 0.555 GB, free: 19.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.01458, allocations: 77.27 kB / 0.5551 GB, free: 19.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003291/0.01787, allocations: 270.5 kB / 0.5554 GB, free: 19.28 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.01805, allocations: 127.6 kB / 0.5555 GB, free: 19.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.01809, allocations: 36 kB / 0.5555 GB, free: 19.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.715e-05/0.01812, allocations: 32 kB / 0.5555 GB, free: 19.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.767e-05/0.01816, allocations: 47.81 kB / 0.5556 GB, free: 19.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.406e-05/0.01826, allocations: 103.8 kB / 0.5557 GB, free: 18.94 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.01848, allocations: 223.2 kB / 0.5559 GB, free: 18.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.01849, allocations: 0 / 0.5559 GB, free: 18.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.01849, allocations: 0 / 0.5559 GB, free: 18.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.0185, allocations: 0 / 0.5559 GB, free: 18.72 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.0006584/0.01916, allocations: 0.6512 MB / 0.5565 GB, free: 18.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.01919, allocations: 15.88 kB / 0.5566 GB, free: 18.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.903e-05/0.01925, allocations: 36.91 kB / 0.5566 GB, free: 17.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.01943, allocations: 197.5 kB / 0.5568 GB, free: 17.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.01945, allocations: 16.88 kB / 0.5568 GB, free: 17.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.01948, allocations: 24.33 kB / 0.5568 GB, free: 17.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.01971, allocations: 250.1 kB / 0.5571 GB, free: 17.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.01972, allocations: 0 / 0.5571 GB, free: 17.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.01974, allocations: 8 kB / 0.5571 GB, free: 17.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.01974, allocations: 4 kB / 0.5571 GB, free: 17.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.01987, allocations: 150 kB / 0.5572 GB, free: 17.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000536/0.02041, allocations: 473.9 kB / 0.5577 GB, free: 16.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003257/0.02366, allocations: 174.1 kB / 0.5578 GB, free: 16.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.862e-05/0.02374, allocations: 111.2 kB / 0.5579 GB, free: 16.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.02376, allocations: 11.88 kB / 0.5579 GB, free: 16.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001981/0.02395, allocations: 327.4 kB / 0.5583 GB, free: 16.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.853e-06/0.02396, allocations: 0 / 0.5583 GB, free: 16.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008133/0.02477, allocations: 0.8268 MB / 0.5591 GB, free: 15.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2686/0.2934, allocations: 275.1 kB / 0.5593 GB, free: 79.64 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.2936, allocations: 224.5 kB / 0.5595 GB, free: 79.54 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.899e-05/0.2936, allocations: 42.23 kB / 0.5596 GB, free: 79.5 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.2937, allocations: 139.8 kB / 0.5597 GB, free: 79.42 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.773e-05/0.2937, allocations: 123.1 kB / 0.5598 GB, free: 79.38 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.097e-05/0.2938, allocations: 76.94 kB / 0.5599 GB, free: 79.37 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.066e-05/0.2938, allocations: 347.9 kB / 0.5602 GB, free: 79.05 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.054e-05/0.2939, allocations: 142 kB / 0.5604 GB, free: 78.95 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.294, allocations: 251.7 kB / 0.5606 GB, free: 78.73 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.2942, allocations: 339.4 kB / 0.5609 GB, free: 78.47 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2942, allocations: 0.6562 kB / 0.5609 GB, free: 78.47 MB / 410.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003368/0.2946, allocations: 392.8 kB / 0.5613 GB, free: 78.25 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/0.2946, allocations: 89.12 kB / 0.5614 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.2946, allocations: 2.75 kB / 0.5614 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.2946, allocations: 5.469 kB / 0.5614 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/0.2949, allocations: 118 kB / 0.5615 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.2949, allocations: 5.344 kB / 0.5615 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.2951, allocations: 17.02 kB / 0.5615 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.2951, allocations: 16.05 kB / 0.5616 GB, free: 78.16 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.0001487/0.2952, allocations: 213.6 kB / 0.5618 GB, free: 77.98 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.2953, allocations: 37.38 kB / 0.5618 GB, free: 77.98 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.892e-05/0.2953, allocations: 33.55 kB / 0.5618 GB, free: 77.97 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.2953, allocations: 1.172 kB / 0.5618 GB, free: 77.97 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2953, allocations: 1.156 kB / 0.5618 GB, free: 77.97 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.15e-05/0.2954, allocations: 35.14 kB / 0.5619 GB, free: 77.96 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.2954, allocations: 8.781 kB / 0.5619 GB, free: 77.96 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/0.2954, allocations: 14.02 kB / 0.5619 GB, free: 77.96 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.238e-05/0.2955, allocations: 17.59 kB / 0.5619 GB, free: 77.96 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.572e-05/0.2956, allocations: 28.59 kB / 0.5619 GB, free: 77.96 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003319/0.2959, allocations: 403 kB / 0.5623 GB, free: 77.72 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003507/0.2963, allocations: 0.6021 MB / 0.5629 GB, free: 77.32 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001144/0.2964, allocations: 146.1 kB / 0.563 GB, free: 77.25 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.472e-05/0.2965, allocations: 81.95 kB / 0.5631 GB, free: 77.24 MB / 410.8 MB Notification: Performance of Backend: time 3.3e-07/0.2965, allocations: 3.281 kB / 0.5631 GB, free: 77.24 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003979/0.2969, allocations: 487 kB / 0.5636 GB, free: 76.9 MB / 410.8 MB Notification: Performance of SimCode: time 0.00749/0.3044, allocations: 1.366 MB / 0.5649 GB, free: 75.95 MB / 410.8 MB Notification: Performance of Templates: time 0.007309/0.3117, allocations: 5.566 MB / 0.5704 GB, free: 74.72 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone_Mirochnick2001_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone_Mirochnick2001_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone_Mirochnick2001_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone_Mirochnick2001_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone_Mirochnick2001_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone_Mirochnick2001_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone_Mirochnick2001_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.301760702393949]