Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsInCombina.MagnesiumDifferentSaltsInCombination_Deng2024_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.0007073/0.0007073, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009107/0.001618, 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.001082/0.001082, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001373/0.002455, 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.9704/0.9704, allocations: 177.1 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09054/1.061, 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.7371/0.7371, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02943/0.7665, allocations: 21.04 MB / 0.5432 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.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsInCombina.MagnesiumDifferentSaltsInCombination_Deng2024_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=108000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsInCombina.MagnesiumDifferentSaltsInCombination_Deng2024_reference") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsInCombina.MagnesiumDifferentSaltsInCombination_Deng2024_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=108000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsInCombina.MagnesiumDifferentSaltsInCombination_Deng2024_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.791e-05/1.903e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsInCombina.MagnesiumDifferentSaltsInCombination_Deng2024_reference): time 0.002367/0.002386, allocations: 2.488 MB / 0.547 GB, free: 28.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006324/0.003019, allocations: 0.6248 MB / 0.5476 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.392e-05/0.003073, allocations: 8 kB / 0.5476 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.401e-05/0.003117, allocations: 23.72 kB / 0.5476 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.798e-05/0.003215, allocations: 83.27 kB / 0.5477 GB, free: 27.35 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.88e-05/0.003303, allocations: 51.88 kB / 0.5477 GB, free: 27.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.003448, allocations: 270.5 kB / 0.548 GB, free: 27.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.724e-05/0.003525, allocations: 42.47 kB / 0.548 GB, free: 26.99 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.003666, allocations: 172.2 kB / 0.5482 GB, free: 26.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.003782, allocations: 91.72 kB / 0.5483 GB, free: 26.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.003802, allocations: 16 kB / 0.5483 GB, free: 26.72 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.971e-05/0.003821, allocations: 20 kB / 0.5483 GB, free: 26.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.073e-05/0.003842, allocations: 23.88 kB / 0.5483 GB, free: 26.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.706e-05/0.003889, allocations: 63.88 kB / 0.5484 GB, free: 26.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.004012, allocations: 139.5 kB / 0.5485 GB, free: 26.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.00402, allocations: 0 / 0.5485 GB, free: 26.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.00402, allocations: 3.938 kB / 0.5485 GB, free: 26.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.004029, allocations: 0 / 0.5485 GB, free: 26.47 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.0004025/0.004432, allocations: 0.4976 MB / 0.549 GB, free: 25.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.424e-05/0.004456, allocations: 11.89 kB / 0.549 GB, free: 25.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.004488, allocations: 24.92 kB / 0.5491 GB, free: 25.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.004605, allocations: 175.1 kB / 0.5492 GB, free: 25.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.004618, allocations: 12.61 kB / 0.5492 GB, free: 25.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.004637, allocations: 16.31 kB / 0.5493 GB, free: 25.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.004756, allocations: 163.2 kB / 0.5494 GB, free: 25.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.004765, allocations: 0 / 0.5494 GB, free: 25.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.004774, allocations: 8 kB / 0.5494 GB, free: 25.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.004777, allocations: 4 kB / 0.5494 GB, free: 25.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.211e-05/0.004839, allocations: 74.58 kB / 0.5495 GB, free: 25.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003029/0.005142, allocations: 372.8 kB / 0.5499 GB, free: 25.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.005268, allocations: 112.2 kB / 0.55 GB, free: 24.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.112e-05/0.005299, allocations: 58.55 kB / 0.55 GB, free: 24.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-06/0.005307, allocations: 4 kB / 0.55 GB, free: 24.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001147/0.005422, allocations: 191.7 kB / 0.5502 GB, free: 24.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.282e-06/0.005423, allocations: 0 / 0.5502 GB, free: 24.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.000456/0.005879, allocations: 0.5199 MB / 0.5507 GB, free: 24.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.005908, allocations: 162.2 kB / 0.5509 GB, free: 23.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.002e-05/0.005998, allocations: 214 kB / 0.5511 GB, free: 23.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.00601, allocations: 33.7 kB / 0.5511 GB, free: 23.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.06e-05/0.006041, allocations: 112.4 kB / 0.5512 GB, free: 23.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.006072, allocations: 67.47 kB / 0.5513 GB, free: 23.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.006117, allocations: 59.17 kB / 0.5513 GB, free: 23.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.456e-05/0.006151, allocations: 338.8 kB / 0.5517 GB, free: 23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.953e-05/0.006201, allocations: 93 kB / 0.5517 GB, free: 22.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.661e-05/0.006267, allocations: 173.4 kB / 0.5519 GB, free: 22.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.803e-05/0.006365, allocations: 218.2 kB / 0.5521 GB, free: 22.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.006367, allocations: 4 kB / 0.5521 GB, free: 22.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001329/0.0065, allocations: 260.2 kB / 0.5524 GB, free: 22.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.006531, allocations: 63.39 kB / 0.5524 GB, free: 22.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.006535, allocations: 4 kB / 0.5524 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.006543, allocations: 0 / 0.5524 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.006679, allocations: 68.12 kB / 0.5525 GB, free: 21.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.006683, allocations: 6.656 kB / 0.5525 GB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.353e-05/0.006757, allocations: 23.92 kB / 0.5525 GB, free: 21.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.006767, allocations: 7.938 kB / 0.5525 GB, free: 21.95 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.015e-05/0.006857, allocations: 167.6 kB / 0.5527 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.026e-05/0.006877, allocations: 23.98 kB / 0.5527 GB, free: 21.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.006903, allocations: 25.95 kB / 0.5527 GB, free: 21.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.006907, allocations: 0 / 0.5527 GB, free: 21.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.42e-07/0.006907, allocations: 4 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.974e-05/0.006927, allocations: 23.84 kB / 0.5528 GB, free: 21.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.006936, allocations: 7.875 kB / 0.5528 GB, free: 21.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.006957, allocations: 8 kB / 0.5528 GB, free: 21.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.128e-05/0.007009, allocations: 15.98 kB / 0.5528 GB, free: 21.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.007045, allocations: 15.97 kB / 0.5528 GB, free: 21.64 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000166/0.007211, allocations: 267 kB / 0.5531 GB, free: 21.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001898/0.007401, allocations: 430.5 kB / 0.5535 GB, free: 20.91 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.263e-05/0.007453, allocations: 82.52 kB / 0.5536 GB, free: 20.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.788e-05/0.007501, allocations: 69.94 kB / 0.5536 GB, free: 20.75 MB / 410.7 MB Notification: Performance of Backend: time 1.1e-07/0.007501, allocations: 0 / 0.5536 GB, free: 20.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000262/0.007763, allocations: 329.8 kB / 0.5539 GB, free: 20.39 MB / 410.7 MB Notification: Performance of SimCode: time 0.005219/0.01298, allocations: 1.131 MB / 0.555 GB, free: 19.21 MB / 410.7 MB Notification: Performance of Templates: time 0.00472/0.0177, allocations: 3.886 MB / 0.5588 GB, free: 15.48 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsInCombina.MagnesiumDifferentSaltsInCombination_Deng2024_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsInCombina.MagnesiumDifferentSaltsInCombination_Deng2024_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsInCombina.MagnesiumDifferentSaltsInCombination_Deng2024_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsInCombina.MagnesiumDifferentSaltsInCombination_Deng2024_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsInCombina.MagnesiumDifferentSaltsInCombination_Deng2024_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsInCombina.MagnesiumDifferentSaltsInCombination_Deng2024_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsInCombina.MagnesiumDifferentSaltsInCombination_Deng2024_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4832685766741633]