Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsInCombina.MagnesiumDifferentSaltsInCombination_Chuan2001_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.001138/0.001138, allocations: 80.16 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001892/0.003029, allocations: 443.9 kB / 10.36 MB, free: 328 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.001272/0.001272, allocations: 153.2 kB / 11.25 MB, free: 2.918 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001839/0.003111, allocations: 475.7 kB / 11.72 MB, free: 2.449 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.9851/0.9851, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09169/1.077, allocations: 53.67 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.7399/0.7399, allocations: 291.2 MB / 0.5226 GB, free: 52.48 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0301/0.77, allocations: 21.05 MB / 0.5432 GB, free: 31.49 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.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsInCombina.MagnesiumDifferentSaltsInCombination_Chuan2001_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=93600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsInCombina.MagnesiumDifferentSaltsInCombination_Chuan2001_reference") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsInCombina.MagnesiumDifferentSaltsInCombination_Chuan2001_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=93600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsInCombina.MagnesiumDifferentSaltsInCombination_Chuan2001_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 4 kB / 0.5445 GB, free: 30.12 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.761e-05/1.928e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.12 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsInCombina.MagnesiumDifferentSaltsInCombination_Chuan2001_reference): time 0.002157/0.002176, allocations: 2.482 MB / 0.547 GB, free: 27.63 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000662/0.002838, allocations: 0.6271 MB / 0.5476 GB, free: 27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.835e-05/0.002907, allocations: 0 / 0.5476 GB, free: 27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.533e-05/0.002962, allocations: 27.72 kB / 0.5476 GB, free: 26.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.003084, allocations: 91.25 kB / 0.5477 GB, free: 26.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001076/0.003191, allocations: 51.88 kB / 0.5478 GB, free: 26.83 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.003355, allocations: 270.5 kB / 0.548 GB, free: 26.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.997e-05/0.003455, allocations: 34.55 kB / 0.548 GB, free: 26.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.00361, allocations: 176.2 kB / 0.5482 GB, free: 26.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.003741, allocations: 87.72 kB / 0.5483 GB, free: 26.28 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.003764, allocations: 16 kB / 0.5483 GB, free: 26.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.927e-05/0.003784, allocations: 16 kB / 0.5483 GB, free: 26.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.454e-05/0.003808, allocations: 31.86 kB / 0.5484 GB, free: 26.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.195e-05/0.00386, allocations: 59.88 kB / 0.5484 GB, free: 26.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.004, allocations: 139.5 kB / 0.5485 GB, free: 26.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.1e-05/0.004011, allocations: 3.984 kB / 0.5485 GB, free: 26.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004012, allocations: 0 / 0.5485 GB, free: 26.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.744e-05/0.004029, allocations: 3.938 kB / 0.5486 GB, free: 26.01 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.000501/0.00453, allocations: 0.4937 MB / 0.549 GB, free: 25.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.004559, allocations: 15.89 kB / 0.549 GB, free: 25.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.004598, allocations: 16.92 kB / 0.5491 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.00473, allocations: 183.1 kB / 0.5492 GB, free: 25.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.004745, allocations: 16.59 kB / 0.5493 GB, free: 25.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.004767, allocations: 20.31 kB / 0.5493 GB, free: 25.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.004905, allocations: 159.2 kB / 0.5494 GB, free: 25.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.004916, allocations: 4 kB / 0.5494 GB, free: 25.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.004926, allocations: 4 kB / 0.5494 GB, free: 25.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.004932, allocations: 4 kB / 0.5494 GB, free: 25.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.441e-05/0.005006, allocations: 78.34 kB / 0.5495 GB, free: 24.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00034/0.005346, allocations: 368.8 kB / 0.5499 GB, free: 24.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.005491, allocations: 112.2 kB / 0.55 GB, free: 24.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.44e-05/0.005525, allocations: 58.55 kB / 0.55 GB, free: 24.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.585e-06/0.005533, allocations: 0 / 0.55 GB, free: 24.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.00566, allocations: 191.5 kB / 0.5502 GB, free: 24.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 9.72e-07/0.005661, allocations: 4 kB / 0.5502 GB, free: 24.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004909/0.006152, allocations: 0.5189 MB / 0.5507 GB, free: 23.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.006179, allocations: 166.2 kB / 0.5509 GB, free: 23.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.921e-05/0.006258, allocations: 206 kB / 0.5511 GB, free: 23.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.00627, allocations: 33.7 kB / 0.5511 GB, free: 23.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.788e-05/0.006298, allocations: 120.4 kB / 0.5512 GB, free: 23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.006327, allocations: 67.47 kB / 0.5513 GB, free: 22.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.00637, allocations: 51.19 kB / 0.5513 GB, free: 22.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.188e-05/0.006402, allocations: 334.8 kB / 0.5517 GB, free: 22.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.723e-05/0.006449, allocations: 97 kB / 0.5517 GB, free: 22.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.033e-05/0.00651, allocations: 177.3 kB / 0.5519 GB, free: 22.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.543e-05/0.006605, allocations: 219 kB / 0.5521 GB, free: 21.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.006607, allocations: 0 / 0.5521 GB, free: 21.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002044/0.006811, allocations: 264.4 kB / 0.5524 GB, free: 21.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.00684, allocations: 59.41 kB / 0.5524 GB, free: 21.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.006846, allocations: 6.641 kB / 0.5524 GB, free: 21.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.006858, allocations: 4 kB / 0.5524 GB, free: 21.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.007021, allocations: 67.53 kB / 0.5525 GB, free: 21.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.007025, allocations: 4 kB / 0.5525 GB, free: 21.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.468e-05/0.007099, allocations: 19.92 kB / 0.5525 GB, free: 21.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.00711, allocations: 15.94 kB / 0.5525 GB, free: 21.49 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 9.758e-05/0.007207, allocations: 171.7 kB / 0.5527 GB, free: 21.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/0.007227, allocations: 15.98 kB / 0.5527 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.007256, allocations: 29.95 kB / 0.5528 GB, free: 21.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-06/0.00726, allocations: 0 / 0.5528 GB, free: 21.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.007261, allocations: 0 / 0.5528 GB, free: 21.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.065e-05/0.007282, allocations: 23.83 kB / 0.5528 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.007293, allocations: 11.94 kB / 0.5528 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.007316, allocations: 11.94 kB / 0.5528 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.993e-05/0.007366, allocations: 7.984 kB / 0.5528 GB, free: 21.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.007406, allocations: 23.97 kB / 0.5528 GB, free: 21.18 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001704/0.007577, allocations: 268.2 kB / 0.5531 GB, free: 20.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001767/0.007753, allocations: 422.5 kB / 0.5535 GB, free: 20.45 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.104e-05/0.007804, allocations: 82.52 kB / 0.5536 GB, free: 20.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.775e-05/0.007842, allocations: 65.94 kB / 0.5536 GB, free: 20.3 MB / 410.7 MB Notification: Performance of Backend: time 1.4e-07/0.007842, allocations: 0 / 0.5536 GB, free: 20.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002546/0.008097, allocations: 342.5 kB / 0.554 GB, free: 19.92 MB / 410.7 MB Notification: Performance of SimCode: time 0.005257/0.01335, allocations: 1.123 MB / 0.5551 GB, free: 18.74 MB / 410.7 MB Notification: Performance of Templates: time 0.004528/0.01788, allocations: 3.887 MB / 0.5589 GB, free: 15.02 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsInCombina.MagnesiumDifferentSaltsInCombination_Chuan2001_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsInCombina.MagnesiumDifferentSaltsInCombination_Chuan2001_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsInCombina.MagnesiumDifferentSaltsInCombination_Chuan2001_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsInCombina.MagnesiumDifferentSaltsInCombination_Chuan2001_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsInCombina.MagnesiumDifferentSaltsInCombination_Chuan2001_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsInCombina.MagnesiumDifferentSaltsInCombination_Chuan2001_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsInCombina.MagnesiumDifferentSaltsInCombination_Chuan2001_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4622233156114817]