Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride.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.0007046/0.0007046, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009561/0.001661, 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.0007268/0.0007268, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009584/0.001685, 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.026/1.026, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1074/1.134, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.7353/0.7353, allocations: 291.1 MB / 0.5226 GB, free: 52.78 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02903/0.7643, allocations: 21.06 MB / 0.5432 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.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.5445 GB, free: 30.41 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.134e-05/1.277e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.41 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride): time 0.002176/0.002189, allocations: 2.498 MB / 0.547 GB, free: 27.9 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004155/0.006343, allocations: 6.692 MB / 0.5535 GB, free: 21.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.732e-05/0.006441, allocations: 7.875 kB / 0.5535 GB, free: 21.19 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.225e-05/0.006503, allocations: 27.77 kB / 0.5535 GB, free: 21.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.006634, allocations: 79.34 kB / 0.5536 GB, free: 21.08 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000125/0.006759, allocations: 59.73 kB / 0.5537 GB, free: 21.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.006946, allocations: 266.6 kB / 0.5539 GB, free: 20.76 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.007057, allocations: 42.52 kB / 0.5539 GB, free: 20.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.007226, allocations: 172.2 kB / 0.5541 GB, free: 20.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.007385, allocations: 87.72 kB / 0.5542 GB, free: 20.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.007412, allocations: 16 kB / 0.5542 GB, free: 20.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.268e-05/0.007434, allocations: 20 kB / 0.5542 GB, free: 20.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.799e-05/0.007462, allocations: 27.88 kB / 0.5543 GB, free: 20.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.864e-05/0.007521, allocations: 63.88 kB / 0.5543 GB, free: 20.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.007687, allocations: 143.5 kB / 0.5545 GB, free: 20.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.152e-05/0.007699, allocations: 0 / 0.5545 GB, free: 20.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.0077, allocations: 4 kB / 0.5545 GB, free: 20.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.007713, allocations: 0 / 0.5545 GB, free: 20.2 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.0005869/0.0083, allocations: 0.4898 MB / 0.5549 GB, free: 19.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.008335, allocations: 15.84 kB / 0.555 GB, free: 19.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.00838, allocations: 32.03 kB / 0.555 GB, free: 19.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.008537, allocations: 187 kB / 0.5552 GB, free: 19.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.008559, allocations: 12.61 kB / 0.5552 GB, free: 19.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.008584, allocations: 16.36 kB / 0.5552 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.008747, allocations: 159.4 kB / 0.5553 GB, free: 19.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.008759, allocations: 3.984 kB / 0.5553 GB, free: 19.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.008771, allocations: 8 kB / 0.5554 GB, free: 19.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.008777, allocations: 0 / 0.5554 GB, free: 19.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.952e-05/0.008856, allocations: 84.69 kB / 0.5554 GB, free: 19.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.009266, allocations: 365 kB / 0.5558 GB, free: 18.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.009443, allocations: 108 kB / 0.5559 GB, free: 18.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.609e-05/0.009479, allocations: 58.55 kB / 0.5559 GB, free: 18.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.009487, allocations: 4 kB / 0.5559 GB, free: 18.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001394/0.009627, allocations: 191.1 kB / 0.5561 GB, free: 18.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.753e-06/0.009628, allocations: 0 / 0.5561 GB, free: 18.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005192/0.01015, allocations: 0.5094 MB / 0.5566 GB, free: 17.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.01018, allocations: 170.2 kB / 0.5568 GB, free: 17.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.635e-05/0.01027, allocations: 210 kB / 0.557 GB, free: 17.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.01029, allocations: 33.7 kB / 0.557 GB, free: 17.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.003e-05/0.01032, allocations: 112.4 kB / 0.5571 GB, free: 17.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.01035, allocations: 71.47 kB / 0.5572 GB, free: 17.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/0.01039, allocations: 55.16 kB / 0.5572 GB, free: 17.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.481e-05/0.01043, allocations: 338.8 kB / 0.5576 GB, free: 16.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.747e-05/0.01047, allocations: 89.02 kB / 0.5577 GB, free: 16.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.101e-05/0.01053, allocations: 173.3 kB / 0.5578 GB, free: 16.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.01063, allocations: 222.9 kB / 0.558 GB, free: 16.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01064, allocations: 4 kB / 0.558 GB, free: 16.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001421/0.01078, allocations: 260.3 kB / 0.5583 GB, free: 15.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/0.01081, allocations: 63.39 kB / 0.5583 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.01082, allocations: 4 kB / 0.5583 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.01083, allocations: 0 / 0.5583 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.01098, allocations: 71.89 kB / 0.5584 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.01098, allocations: 4 kB / 0.5584 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.499e-05/0.01106, allocations: 12 kB / 0.5584 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.01107, allocations: 11.92 kB / 0.5584 GB, free: 15.68 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 0.0001061/0.01118, allocations: 173.2 kB / 0.5586 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.0112, allocations: 27.97 kB / 0.5586 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/0.01123, allocations: 21.97 kB / 0.5587 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.01123, allocations: 3.984 kB / 0.5587 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01123, allocations: 0 / 0.5587 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.959e-05/0.01125, allocations: 19.86 kB / 0.5587 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.01126, allocations: 3.938 kB / 0.5587 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.01129, allocations: 8 kB / 0.5587 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.041e-05/0.01134, allocations: 19.98 kB / 0.5587 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.01138, allocations: 15.97 kB / 0.5587 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001729/0.01155, allocations: 274.9 kB / 0.559 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2496/0.2612, allocations: 416.5 kB / 0.5594 GB, free: 79.32 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.169e-05/0.2612, allocations: 82.25 kB / 0.5595 GB, free: 79.28 MB / 410.8 MB Notification: Performance of sorting global known variables: time 6.887e-05/0.2613, allocations: 63.09 kB / 0.5595 GB, free: 79.27 MB / 410.8 MB Notification: Performance of Backend: time 2.4e-07/0.2613, allocations: 0 / 0.5595 GB, free: 79.27 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003507/0.2617, allocations: 340.6 kB / 0.5598 GB, free: 79.04 MB / 410.8 MB Notification: Performance of SimCode: time 0.005439/0.2671, allocations: 1.118 MB / 0.5609 GB, free: 78.22 MB / 410.8 MB Notification: Performance of Templates: time 0.005264/0.2724, allocations: 3.843 MB / 0.5647 GB, free: 78.08 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5605187993496656]