Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride_Ansari2022_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.0007028/0.0007028, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009781/0.001681, 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.001027/0.001027, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001125/0.002152, 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 0.9409/0.9409, allocations: 177.1 MB / 189.5 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09297/1.034, 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.6956/0.6956, allocations: 291.1 MB / 0.5225 GB, free: 52.96 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03013/0.7258, allocations: 21.05 MB / 0.5431 GB, free: 31.97 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.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride_Ansari2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride_Ansari2022_reference") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride_Ansari2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride_Ansari2022_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.5444 GB, free: 30.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.152e-05/1.284e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride_Ansari2022_reference): time 0.002733/0.002746, allocations: 2.471 MB / 0.5468 GB, free: 28.13 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004962/0.007708, allocations: 6.688 MB / 0.5534 GB, free: 21.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.007815, allocations: 3.938 kB / 0.5534 GB, free: 21.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.552e-05/0.007891, allocations: 31.7 kB / 0.5534 GB, free: 21.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001789/0.00807, allocations: 83.33 kB / 0.5535 GB, free: 21.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/0.008223, allocations: 55.75 kB / 0.5535 GB, free: 21.26 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002409/0.008464, allocations: 266.6 kB / 0.5538 GB, free: 21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.008571, allocations: 46.53 kB / 0.5538 GB, free: 20.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.008774, allocations: 168.3 kB / 0.554 GB, free: 20.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.008941, allocations: 91.7 kB / 0.5541 GB, free: 20.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.008972, allocations: 16 kB / 0.5541 GB, free: 20.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.189e-05/0.009004, allocations: 16 kB / 0.5541 GB, free: 20.67 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.192e-05/0.009036, allocations: 27.88 kB / 0.5541 GB, free: 20.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.105e-05/0.009107, allocations: 63.88 kB / 0.5542 GB, free: 20.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.009294, allocations: 139.5 kB / 0.5543 GB, free: 20.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.254e-05/0.009306, allocations: 0 / 0.5543 GB, free: 20.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.009307, allocations: 0 / 0.5543 GB, free: 20.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.009318, allocations: 0 / 0.5543 GB, free: 20.45 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.0006193/0.009937, allocations: 0.4976 MB / 0.5548 GB, free: 19.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.829e-05/0.009966, allocations: 11.89 kB / 0.5548 GB, free: 19.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.27e-05/0.01002, allocations: 28.91 kB / 0.5549 GB, free: 19.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.01019, allocations: 183 kB / 0.555 GB, free: 19.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.01021, allocations: 12.61 kB / 0.5551 GB, free: 19.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.484e-05/0.01025, allocations: 12.38 kB / 0.5551 GB, free: 19.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.01042, allocations: 159.5 kB / 0.5552 GB, free: 19.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.01043, allocations: 7.984 kB / 0.5552 GB, free: 19.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.01044, allocations: 4 kB / 0.5552 GB, free: 19.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.01044, allocations: 0 / 0.5552 GB, free: 19.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.847e-05/0.01051, allocations: 80.64 kB / 0.5553 GB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.01085, allocations: 361 kB / 0.5556 GB, free: 19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.01099, allocations: 104.2 kB / 0.5557 GB, free: 18.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.322e-05/0.01103, allocations: 58.55 kB / 0.5558 GB, free: 18.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.727e-06/0.01103, allocations: 8 kB / 0.5558 GB, free: 18.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001188/0.01115, allocations: 198.1 kB / 0.556 GB, free: 18.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.332e-06/0.01115, allocations: 0 / 0.556 GB, free: 18.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004656/0.01162, allocations: 0.5093 MB / 0.5565 GB, free: 18.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.01165, allocations: 136.5 kB / 0.5566 GB, free: 17.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.601e-05/0.01172, allocations: 206 kB / 0.5568 GB, free: 17.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.01174, allocations: 33.7 kB / 0.5569 GB, free: 17.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.068e-05/0.01177, allocations: 120.4 kB / 0.557 GB, free: 17.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.0118, allocations: 71.45 kB / 0.557 GB, free: 17.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/0.01184, allocations: 51.19 kB / 0.5571 GB, free: 17.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.851e-05/0.01187, allocations: 338.8 kB / 0.5574 GB, free: 17.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.699e-05/0.01192, allocations: 93 kB / 0.5575 GB, free: 16.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.717e-05/0.01198, allocations: 177.3 kB / 0.5577 GB, free: 16.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.084e-05/0.01207, allocations: 218.1 kB / 0.5579 GB, free: 16.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01207, allocations: 4 kB / 0.5579 GB, free: 16.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001659/0.01223, allocations: 256.3 kB / 0.5581 GB, free: 16.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.01226, allocations: 59.41 kB / 0.5582 GB, free: 16.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.01227, allocations: 6.656 kB / 0.5582 GB, free: 16.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/0.01227, allocations: 4.219 kB / 0.5582 GB, free: 16.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.01242, allocations: 67.89 kB / 0.5583 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.01242, allocations: 7.938 kB / 0.5583 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.592e-05/0.0125, allocations: 19.92 kB / 0.5583 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.01251, allocations: 8 kB / 0.5583 GB, free: 15.96 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 8.4e-05/0.01259, allocations: 175.5 kB / 0.5585 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.01261, allocations: 23.98 kB / 0.5585 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.01264, allocations: 25.95 kB / 0.5585 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.01264, allocations: 4 kB / 0.5585 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.01264, allocations: 0 / 0.5585 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.01264, allocations: 3.984 kB / 0.5585 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.01286, allocations: 382.2 kB / 0.5589 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.01286, allocations: 3.938 kB / 0.5589 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.01297, allocations: 39.28 kB / 0.5589 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.942e-05/0.01299, allocations: 19.86 kB / 0.5589 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.01299, allocations: 0 / 0.5589 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.013, allocations: 12 kB / 0.5589 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.013, allocations: 0 / 0.5589 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01301, allocations: 3.984 kB / 0.559 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.01322, allocations: 343.8 kB / 0.5593 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.01325, allocations: 11.98 kB / 0.5593 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.635e-05/0.01334, allocations: 12 kB / 0.5593 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.01339, allocations: 19.95 kB / 0.5593 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.0134, allocations: 7.938 kB / 0.5593 GB, free: 14.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.2361/0.2495, allocations: 60.23 kB / 0.5594 GB, free: 79.6 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2495, allocations: 0.875 kB / 0.5594 GB, free: 79.6 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002509/0.2498, allocations: 54.59 kB / 0.5594 GB, free: 79.6 MB / 410.8 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.195e-05/0.2499, allocations: 97.98 kB / 0.5595 GB, free: 79.53 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.2501, allocations: 309.2 kB / 0.5598 GB, free: 79.3 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.2501, allocations: 1.156 kB / 0.5598 GB, free: 79.3 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 7.72e-05/0.2502, allocations: 145.5 kB / 0.56 GB, free: 79.2 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.2504, allocations: 81.25 kB / 0.56 GB, free: 79.2 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005444/0.2559, allocations: 0.5715 MB / 0.5606 GB, free: 78.93 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.074e-05/0.2559, allocations: 80.81 kB / 0.5607 GB, free: 78.86 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 7.435e-05/0.256, allocations: 21.75 kB / 0.5607 GB, free: 78.86 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.2561, allocations: 121.8 kB / 0.5608 GB, free: 78.82 MB / 410.8 MB Notification: Performance of SimCode: time 5.71e-07/0.2561, allocations: 0.5312 kB / 0.5608 GB, free: 78.82 MB / 410.8 MB Notification: Performance of Templates: time 0.005634/0.2618, allocations: 3.805 MB / 0.5645 GB, free: 78.68 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride_Ansari2022_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride_Ansari2022_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride_Ansari2022_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride_Ansari2022_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride_Ansari2022_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride_Ansari2022_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride_Ansari2022_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4526991890743375]