Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.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.0006815/0.0006815, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008464/0.001528, 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.0006852/0.0006852, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00084/0.001525, 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.9775/0.9775, allocations: 177.1 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08877/1.066, allocations: 53.66 MB / 243.2 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.8514/0.8514, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03392/0.8853, 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_Houpert1997_ewe_7,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.736e-05, allocations: 10.19 kB / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7): time 0.003845/0.003872, allocations: 2.503 MB / 0.5469 GB, free: 28.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.00514, allocations: 0.6233 MB / 0.5475 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.005294, allocations: 0 / 0.5475 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.005397, allocations: 27.66 kB / 0.5476 GB, free: 27.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002257/0.005622, allocations: 87.27 kB / 0.5476 GB, free: 27.31 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.005839, allocations: 59.8 kB / 0.5477 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003383/0.006177, allocations: 266.6 kB / 0.548 GB, free: 26.99 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.006327, allocations: 34.55 kB / 0.548 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002967/0.006624, allocations: 172.2 kB / 0.5482 GB, free: 26.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.006845, allocations: 87.7 kB / 0.5482 GB, free: 26.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.626e-05/0.006892, allocations: 20 kB / 0.5483 GB, free: 26.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.632e-05/0.006928, allocations: 16 kB / 0.5483 GB, free: 26.67 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.642e-05/0.006964, allocations: 27.88 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.162e-05/0.007046, allocations: 59.88 kB / 0.5484 GB, free: 26.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.007279, allocations: 147.4 kB / 0.5485 GB, free: 26.44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.725e-05/0.007296, allocations: 4 kB / 0.5485 GB, free: 26.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.007297, allocations: 0 / 0.5485 GB, free: 26.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.007312, allocations: 0 / 0.5485 GB, free: 26.43 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.0007897/0.008101, allocations: 0.4976 MB / 0.549 GB, free: 25.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.00814, allocations: 15.89 kB / 0.549 GB, free: 25.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.568e-05/0.008215, allocations: 19.67 kB / 0.549 GB, free: 25.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.008431, allocations: 183.1 kB / 0.5492 GB, free: 25.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.00846, allocations: 4.609 kB / 0.5492 GB, free: 25.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/0.008492, allocations: 20.38 kB / 0.5492 GB, free: 25.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.008718, allocations: 159.4 kB / 0.5494 GB, free: 25.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.008732, allocations: 4 kB / 0.5494 GB, free: 25.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.008746, allocations: 4 kB / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.008753, allocations: 7.938 kB / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.008863, allocations: 80.64 kB / 0.5495 GB, free: 25.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005507/0.009414, allocations: 364.9 kB / 0.5498 GB, free: 24.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.009626, allocations: 112.2 kB / 0.5499 GB, free: 24.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.254e-05/0.009678, allocations: 54.56 kB / 0.55 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.009689, allocations: 0 / 0.55 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.009865, allocations: 199.5 kB / 0.5502 GB, free: 24.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.009866, allocations: 0 / 0.5502 GB, free: 24.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.000602/0.01047, allocations: 0.5082 MB / 0.5507 GB, free: 24.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.0105, allocations: 140.5 kB / 0.5508 GB, free: 23.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.603e-05/0.01059, allocations: 198.1 kB / 0.551 GB, free: 23.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.0106, allocations: 33.7 kB / 0.551 GB, free: 23.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.341e-05/0.01063, allocations: 124.4 kB / 0.5511 GB, free: 23.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.01066, allocations: 67.41 kB / 0.5512 GB, free: 23.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.01071, allocations: 55.17 kB / 0.5513 GB, free: 23.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.511e-05/0.01075, allocations: 334.8 kB / 0.5516 GB, free: 23.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.692e-05/0.01079, allocations: 97 kB / 0.5517 GB, free: 22.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.977e-05/0.01085, allocations: 181.3 kB / 0.5518 GB, free: 22.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.455e-05/0.01095, allocations: 211.8 kB / 0.552 GB, free: 22.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01095, allocations: 0 / 0.552 GB, free: 22.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000151/0.0111, allocations: 259.8 kB / 0.5523 GB, free: 22.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/0.01114, allocations: 67.39 kB / 0.5523 GB, free: 22.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.01114, allocations: 7.938 kB / 0.5524 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.01115, allocations: 4 kB / 0.5524 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.01131, allocations: 63.89 kB / 0.5524 GB, free: 21.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.01131, allocations: 11.56 kB / 0.5524 GB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.745e-05/0.01139, allocations: 15.94 kB / 0.5524 GB, free: 21.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.0114, allocations: 15.98 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 0.0001027/0.0115, allocations: 173.6 kB / 0.5526 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.01152, allocations: 19.97 kB / 0.5526 GB, free: 21.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.01155, allocations: 21.97 kB / 0.5527 GB, free: 21.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.01155, allocations: 4 kB / 0.5527 GB, free: 21.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.01156, allocations: 0 / 0.5527 GB, free: 21.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.01156, allocations: 3.984 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.01181, allocations: 374.2 kB / 0.553 GB, free: 21.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.01181, allocations: 3.938 kB / 0.553 GB, free: 21.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.01193, allocations: 43.97 kB / 0.5531 GB, free: 21.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.928e-05/0.01195, allocations: 19.86 kB / 0.5531 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.01195, allocations: 3.984 kB / 0.5531 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.01196, allocations: 8 kB / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01197, allocations: 0 / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01197, allocations: 0 / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.01215, allocations: 351.6 kB / 0.5534 GB, free: 20.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.01217, allocations: 8 kB / 0.5535 GB, free: 20.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.118e-05/0.01224, allocations: 11.98 kB / 0.5535 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.01229, allocations: 15.97 kB / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.966e-06/0.0123, allocations: 15.94 kB / 0.5535 GB, free: 20.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.831e-05/0.01233, allocations: 65.94 kB / 0.5536 GB, free: 20.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01233, allocations: 0 / 0.5536 GB, free: 20.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000164/0.0125, allocations: 56 kB / 0.5536 GB, free: 20.69 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 7.04e-05/0.01257, allocations: 92.34 kB / 0.5537 GB, free: 20.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001566/0.01273, allocations: 308.5 kB / 0.554 GB, free: 20.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.01273, allocations: 448 / 0.554 GB, free: 20.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.913e-05/0.01279, allocations: 149.9 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.0002295/0.01302, allocations: 88.44 kB / 0.5542 GB, free: 20 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005187/0.0182, allocations: 0.5852 MB / 0.5548 GB, free: 19.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.079e-05/0.01824, allocations: 76.33 kB / 0.5549 GB, free: 19.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.639e-05/0.01831, allocations: 29.97 kB / 0.5549 GB, free: 19.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.01844, allocations: 111.3 kB / 0.555 GB, free: 19.14 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01844, allocations: 0 / 0.555 GB, free: 19.14 MB / 410.7 MB Notification: Performance of Templates: time 0.004989/0.02343, allocations: 3.791 MB / 0.5587 GB, free: 15.45 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3825232703238726]