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.0008919/0.0008919, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001137/0.002029, 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.000932/0.000932, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001153/0.002085, 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.9961/0.9961, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1168/1.113, allocations: 53.66 MB / 243.3 MB, free: 15.56 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.8052/0.8052, allocations: 291.1 MB / 0.5226 GB, free: 52.79 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03368/0.8389, allocations: 21.04 MB / 0.5431 GB, free: 31.8 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.383e-06/1.383e-06, allocations: 0 / 0.5445 GB, free: 30.38 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.848e-05/1.987e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.37 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride): time 0.002269/0.002289, allocations: 2.531 MB / 0.547 GB, free: 27.83 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006525/0.002942, allocations: 0.6271 MB / 0.5476 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.985e-05/0.003012, allocations: 3.938 kB / 0.5476 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.56e-05/0.003067, allocations: 31.66 kB / 0.5477 GB, free: 27.17 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.003184, allocations: 75.39 kB / 0.5477 GB, free: 27.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001074/0.003292, allocations: 59.8 kB / 0.5478 GB, free: 27.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.003462, allocations: 266.6 kB / 0.548 GB, free: 26.77 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.003564, allocations: 42.47 kB / 0.5481 GB, free: 26.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.003722, allocations: 176.2 kB / 0.5483 GB, free: 26.56 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.003856, allocations: 87.72 kB / 0.5483 GB, free: 26.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.003881, allocations: 16 kB / 0.5484 GB, free: 26.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.09e-05/0.003902, allocations: 16 kB / 0.5484 GB, free: 26.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.695e-05/0.003929, allocations: 27.88 kB / 0.5484 GB, free: 26.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.268e-05/0.003981, allocations: 63.88 kB / 0.5485 GB, free: 26.35 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.004125, allocations: 135.5 kB / 0.5486 GB, free: 26.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.004134, allocations: 0 / 0.5486 GB, free: 26.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004134, allocations: 0 / 0.5486 GB, free: 26.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.004145, allocations: 4 kB / 0.5486 GB, free: 26.21 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.0005011/0.004647, allocations: 0.5015 MB / 0.5491 GB, free: 25.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.004677, allocations: 8.031 kB / 0.5491 GB, free: 25.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.004719, allocations: 28.61 kB / 0.5491 GB, free: 25.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.00485, allocations: 171.1 kB / 0.5493 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.004865, allocations: 8.609 kB / 0.5493 GB, free: 25.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.004887, allocations: 20.36 kB / 0.5493 GB, free: 25.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.005034, allocations: 167.4 kB / 0.5495 GB, free: 25.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.005044, allocations: 0 / 0.5495 GB, free: 25.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.005054, allocations: 4 kB / 0.5495 GB, free: 25.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.00506, allocations: 7.938 kB / 0.5495 GB, free: 25.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.171e-05/0.005132, allocations: 72.7 kB / 0.5495 GB, free: 25.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.005477, allocations: 368.9 kB / 0.5499 GB, free: 24.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.005624, allocations: 120 kB / 0.55 GB, free: 24.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.324e-05/0.005657, allocations: 54.56 kB / 0.5501 GB, free: 24.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.005665, allocations: 8 kB / 0.5501 GB, free: 24.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/0.005783, allocations: 188.4 kB / 0.5502 GB, free: 24.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.202e-06/0.005784, allocations: 0 / 0.5502 GB, free: 24.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004801/0.006265, allocations: 0.5123 MB / 0.5507 GB, free: 23.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.006297, allocations: 166.2 kB / 0.5509 GB, free: 23.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.863e-05/0.006386, allocations: 210 kB / 0.5511 GB, free: 23.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.006399, allocations: 33.7 kB / 0.5511 GB, free: 23.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.157e-05/0.00643, allocations: 116.4 kB / 0.5513 GB, free: 23.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.006467, allocations: 75.39 kB / 0.5513 GB, free: 23.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.006512, allocations: 51.19 kB / 0.5514 GB, free: 23.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.778e-05/0.00655, allocations: 334.8 kB / 0.5517 GB, free: 22.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.922e-05/0.006599, allocations: 93 kB / 0.5518 GB, free: 22.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.929e-05/0.006659, allocations: 179.7 kB / 0.552 GB, free: 22.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.595e-05/0.006755, allocations: 215.8 kB / 0.5522 GB, free: 22.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.006756, allocations: 3.984 kB / 0.5522 GB, free: 22.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001436/0.0069, allocations: 262.7 kB / 0.5524 GB, free: 21.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.006929, allocations: 62.38 kB / 0.5525 GB, free: 21.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.006933, allocations: 0 / 0.5525 GB, free: 21.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.006945, allocations: 8.219 kB / 0.5525 GB, free: 21.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.007097, allocations: 71.83 kB / 0.5525 GB, free: 21.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.007101, allocations: 4 kB / 0.5526 GB, free: 21.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.775e-05/0.007179, allocations: 15.98 kB / 0.5526 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.007191, allocations: 11.94 kB / 0.5526 GB, free: 21.69 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.0001098/0.007301, allocations: 167.7 kB / 0.5527 GB, free: 21.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.007322, allocations: 23.98 kB / 0.5528 GB, free: 21.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/0.007355, allocations: 33.27 kB / 0.5528 GB, free: 21.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.007359, allocations: 0 / 0.5528 GB, free: 21.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.00736, allocations: 0 / 0.5528 GB, free: 21.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.418e-05/0.007385, allocations: 15.86 kB / 0.5528 GB, free: 21.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.007397, allocations: 11.92 kB / 0.5528 GB, free: 21.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.007424, allocations: 8 kB / 0.5528 GB, free: 21.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.25e-05/0.007476, allocations: 15.98 kB / 0.5528 GB, free: 21.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.007526, allocations: 15.97 kB / 0.5529 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001893/0.007715, allocations: 272.1 kB / 0.5531 GB, free: 21.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001994/0.007914, allocations: 420.5 kB / 0.5535 GB, free: 20.66 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.296e-05/0.007977, allocations: 82.52 kB / 0.5536 GB, free: 20.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.433e-05/0.008022, allocations: 61.95 kB / 0.5537 GB, free: 20.51 MB / 410.7 MB Notification: Performance of Backend: time 1.5e-07/0.008022, allocations: 0 / 0.5537 GB, free: 20.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002893/0.008311, allocations: 334.4 kB / 0.554 GB, free: 20.14 MB / 410.7 MB Notification: Performance of SimCode: time 0.00566/0.01397, allocations: 1.125 MB / 0.5551 GB, free: 18.96 MB / 410.7 MB Notification: Performance of Templates: time 0.005027/0.019, allocations: 3.853 MB / 0.5588 GB, free: 15.2 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 9.427496038377285]