Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride.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.0008427/0.0008427, allocations: 72.12 kB / 9.871 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001378/0.002221, allocations: 443.9 kB / 10.3 MB, free: 396 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.0008383/0.0008383, allocations: 157.2 kB / 11.19 MB, free: 2.988 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001145/0.001983, allocations: 467.5 kB / 11.64 MB, free: 2.527 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.038/1.038, allocations: 177.2 MB / 189.5 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1084/1.146, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7937/0.7937, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03806/0.8318, allocations: 21.04 MB / 0.5431 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.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride,tolerance=1e-09,outputFormat="empty",numberOfIntervals=15552000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride,tolerance=1e-09,outputFormat="empty",numberOfIntervals=15552000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.066e-05, allocations: 6.312 kB / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride): time 0.003198/0.003218, allocations: 2.53 MB / 0.547 GB, free: 28.03 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.004237, allocations: 0.6193 MB / 0.5476 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.00434, allocations: 7.938 kB / 0.5476 GB, free: 27.4 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.639e-05/0.004416, allocations: 27.72 kB / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.004606, allocations: 75.34 kB / 0.5477 GB, free: 27.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004498/0.005056, allocations: 63.72 kB / 0.5477 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002907/0.005346, allocations: 262.6 kB / 0.548 GB, free: 26.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.005464, allocations: 42.53 kB / 0.548 GB, free: 26.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.005695, allocations: 168.3 kB / 0.5482 GB, free: 26.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.005881, allocations: 87.72 kB / 0.5483 GB, free: 26.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.341e-05/0.005915, allocations: 23.94 kB / 0.5483 GB, free: 26.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.53e-05/0.00595, allocations: 16 kB / 0.5483 GB, free: 26.65 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.709e-05/0.005987, allocations: 27.88 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.732e-05/0.006064, allocations: 63.88 kB / 0.5484 GB, free: 26.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.006268, allocations: 143.5 kB / 0.5485 GB, free: 26.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-05/0.006287, allocations: 0 / 0.5485 GB, free: 26.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.006288, allocations: 0 / 0.5485 GB, free: 26.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.006301, allocations: 0 / 0.5485 GB, free: 26.42 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.0006693/0.006971, allocations: 0.5015 MB / 0.549 GB, free: 25.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.007003, allocations: 8.031 kB / 0.549 GB, free: 25.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.644e-05/0.00706, allocations: 24.92 kB / 0.549 GB, free: 25.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.007245, allocations: 175.1 kB / 0.5492 GB, free: 25.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.007271, allocations: 12.61 kB / 0.5492 GB, free: 25.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.007299, allocations: 12.38 kB / 0.5492 GB, free: 25.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.007522, allocations: 163.4 kB / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.007534, allocations: 0 / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.007547, allocations: 0 / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.007554, allocations: 4 kB / 0.5494 GB, free: 25.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.007661, allocations: 80.7 kB / 0.5495 GB, free: 25.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004977/0.008159, allocations: 361 kB / 0.5498 GB, free: 24.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.008379, allocations: 116 kB / 0.5499 GB, free: 24.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.058e-05/0.00843, allocations: 58.69 kB / 0.55 GB, free: 24.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.008441, allocations: 7.938 kB / 0.55 GB, free: 24.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.008611, allocations: 191.7 kB / 0.5502 GB, free: 24.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.874e-06/0.008612, allocations: 4 kB / 0.5502 GB, free: 24.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006924/0.009305, allocations: 0.5065 MB / 0.5507 GB, free: 24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.009344, allocations: 144.4 kB / 0.5508 GB, free: 23.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.009468, allocations: 202.1 kB / 0.551 GB, free: 23.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.00949, allocations: 33.7 kB / 0.551 GB, free: 23.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.117e-05/0.009531, allocations: 116.4 kB / 0.5511 GB, free: 23.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.573e-05/0.009577, allocations: 71.41 kB / 0.5512 GB, free: 23.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.892e-05/0.009646, allocations: 59.16 kB / 0.5513 GB, free: 23.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.043e-05/0.009686, allocations: 342.8 kB / 0.5516 GB, free: 22.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.227e-05/0.009758, allocations: 93 kB / 0.5517 GB, free: 22.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.413e-05/0.009852, allocations: 169.4 kB / 0.5518 GB, free: 22.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.009997, allocations: 211.7 kB / 0.552 GB, free: 22.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.009999, allocations: 4.031 kB / 0.552 GB, free: 22.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002272/0.01023, allocations: 266.1 kB / 0.5523 GB, free: 22.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.577e-05/0.01026, allocations: 63.39 kB / 0.5524 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.01027, allocations: 0 / 0.5524 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.01028, allocations: 4 kB / 0.5524 GB, free: 22.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.01051, allocations: 67.89 kB / 0.5524 GB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.01052, allocations: 4.219 kB / 0.5524 GB, free: 21.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.01065, allocations: 19.94 kB / 0.5525 GB, free: 21.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.01066, allocations: 11.98 kB / 0.5525 GB, free: 21.94 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.0001296/0.01079, allocations: 165.7 kB / 0.5526 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.01082, allocations: 27.97 kB / 0.5527 GB, free: 21.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.737e-05/0.01086, allocations: 17.97 kB / 0.5527 GB, free: 21.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.01087, allocations: 3.984 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.01087, allocations: 4 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.01087, allocations: 4 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000343/0.01121, allocations: 374.2 kB / 0.553 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.01122, allocations: 7.938 kB / 0.553 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/0.0114, allocations: 35.97 kB / 0.5531 GB, free: 21.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.01143, allocations: 30.91 kB / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.01144, allocations: 0 / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.01145, allocations: 4 kB / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.01146, allocations: 7.938 kB / 0.5531 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01146, allocations: 0 / 0.5531 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.01172, allocations: 348.2 kB / 0.5535 GB, free: 20.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.01175, allocations: 8 kB / 0.5535 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.01188, allocations: 15.98 kB / 0.5535 GB, free: 20.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.01193, allocations: 15.97 kB / 0.5535 GB, free: 20.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.01195, allocations: 7.938 kB / 0.5535 GB, free: 20.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.347e-05/0.01201, allocations: 69.94 kB / 0.5536 GB, free: 20.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01201, allocations: 0 / 0.5536 GB, free: 20.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002988/0.01231, allocations: 52 kB / 0.5536 GB, free: 20.68 MB / 410.7 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.532e-05/0.01241, allocations: 96.34 kB / 0.5537 GB, free: 20.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002253/0.01263, allocations: 312.5 kB / 0.554 GB, free: 20.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.01264, allocations: 0 / 0.554 GB, free: 20.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.01274, allocations: 145 kB / 0.5541 GB, free: 20.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.0131, allocations: 92.72 kB / 0.5542 GB, free: 19.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009146/0.02225, allocations: 0.584 MB / 0.5548 GB, free: 19.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.278e-05/0.02233, allocations: 125.6 kB / 0.5549 GB, free: 19.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.02257, allocations: 119.3 kB / 0.555 GB, free: 19.11 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.02257, allocations: 0 / 0.555 GB, free: 19.11 MB / 410.7 MB Notification: Performance of Templates: time 0.003936/0.0265, allocations: 2.93 MB / 0.5579 GB, free: 16.21 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.2686986932531]