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.001118/0.001118, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001614/0.002732, 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.001125/0.001125, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001449/0.002574, 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 1.017/1.017, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1151/1.132, 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.7672/0.7672, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02719/0.7943, allocations: 21.04 MB / 0.5431 GB, free: 31.95 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 2.054e-06/2.054e-06, allocations: 0 / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.285e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride): time 0.006717/0.00674, allocations: 2.524 MB / 0.547 GB, free: 28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.007758, allocations: 0.6194 MB / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.007906, allocations: 0 / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.469e-05/0.007991, allocations: 31.66 kB / 0.5476 GB, free: 27.35 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000156/0.008147, allocations: 87.27 kB / 0.5477 GB, free: 27.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.008293, allocations: 51.86 kB / 0.5477 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.008473, allocations: 266.6 kB / 0.548 GB, free: 26.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.008578, allocations: 38.55 kB / 0.548 GB, free: 26.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.008746, allocations: 172.1 kB / 0.5482 GB, free: 26.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.008895, allocations: 87.72 kB / 0.5483 GB, free: 26.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.008919, allocations: 16 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.251e-05/0.008941, allocations: 16 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.732e-05/0.008968, allocations: 27.88 kB / 0.5483 GB, free: 26.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.395e-05/0.009022, allocations: 71.88 kB / 0.5484 GB, free: 26.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.009179, allocations: 135.5 kB / 0.5485 GB, free: 26.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.442e-05/0.009193, allocations: 0 / 0.5485 GB, free: 26.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.009195, allocations: 0 / 0.5485 GB, free: 26.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.009206, allocations: 0 / 0.5485 GB, free: 26.39 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.0005374/0.009743, allocations: 0.5014 MB / 0.549 GB, free: 25.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.666e-05/0.00977, allocations: 8.031 kB / 0.549 GB, free: 25.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.009812, allocations: 24.91 kB / 0.5491 GB, free: 25.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.009951, allocations: 179.1 kB / 0.5492 GB, free: 25.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.009972, allocations: 12.61 kB / 0.5492 GB, free: 25.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.009996, allocations: 12.38 kB / 0.5492 GB, free: 25.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.01014, allocations: 159.4 kB / 0.5494 GB, free: 25.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.01015, allocations: 7.922 kB / 0.5494 GB, free: 25.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.01016, allocations: 4 kB / 0.5494 GB, free: 25.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.01016, allocations: 4 kB / 0.5494 GB, free: 25.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.901e-05/0.01023, allocations: 76.7 kB / 0.5495 GB, free: 25.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.01059, allocations: 372.8 kB / 0.5498 GB, free: 24.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.01075, allocations: 108.1 kB / 0.5499 GB, free: 24.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.561e-05/0.01078, allocations: 65.5 kB / 0.55 GB, free: 24.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.01079, allocations: 4 kB / 0.55 GB, free: 24.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/0.01093, allocations: 195.3 kB / 0.5502 GB, free: 24.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.353e-06/0.01093, allocations: 0 / 0.5502 GB, free: 24.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.000537/0.01147, allocations: 0.5054 MB / 0.5507 GB, free: 23.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.01151, allocations: 136.5 kB / 0.5508 GB, free: 23.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.355e-05/0.0116, allocations: 202.1 kB / 0.551 GB, free: 23.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.01161, allocations: 33.7 kB / 0.551 GB, free: 23.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.653e-05/0.01165, allocations: 120.4 kB / 0.5512 GB, free: 23.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.01168, allocations: 67.42 kB / 0.5512 GB, free: 23.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.01173, allocations: 51.17 kB / 0.5513 GB, free: 23.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.18e-05/0.01177, allocations: 342.8 kB / 0.5516 GB, free: 22.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.041e-05/0.01182, allocations: 93 kB / 0.5517 GB, free: 22.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.211e-05/0.01189, allocations: 181.3 kB / 0.5519 GB, free: 22.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.01199, allocations: 207.7 kB / 0.5521 GB, free: 22.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.01199, allocations: 0 / 0.5521 GB, free: 22.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001569/0.01215, allocations: 266.7 kB / 0.5523 GB, free: 22.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.01218, allocations: 67.39 kB / 0.5524 GB, free: 22.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.01219, allocations: 3.938 kB / 0.5524 GB, free: 22.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.0122, allocations: 4 kB / 0.5524 GB, free: 22.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.01235, allocations: 63.91 kB / 0.5525 GB, free: 21.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.01236, allocations: 6.641 kB / 0.5525 GB, free: 21.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.965e-05/0.01244, allocations: 21.62 kB / 0.5525 GB, free: 21.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.01245, allocations: 8 kB / 0.5525 GB, free: 21.91 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.0001014/0.01255, allocations: 169.8 kB / 0.5526 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.01257, allocations: 27.97 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/0.0126, allocations: 17.97 kB / 0.5527 GB, free: 21.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.0126, allocations: 0 / 0.5527 GB, free: 21.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.01261, allocations: 4 kB / 0.5527 GB, free: 21.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01261, allocations: 3.984 kB / 0.5527 GB, free: 21.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.01284, allocations: 374.2 kB / 0.5531 GB, free: 21.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01285, allocations: 7.938 kB / 0.5531 GB, free: 21.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.01296, allocations: 47.22 kB / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.928e-05/0.01298, allocations: 23.84 kB / 0.5531 GB, free: 21.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.01298, allocations: 0 / 0.5531 GB, free: 21.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.01299, allocations: 7.984 kB / 0.5531 GB, free: 21.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01299, allocations: 4 kB / 0.5531 GB, free: 21.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01299, allocations: 0 / 0.5531 GB, free: 21.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.01316, allocations: 343.8 kB / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.01318, allocations: 8 kB / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.8e-05/0.01326, allocations: 19.98 kB / 0.5535 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.01331, allocations: 15.97 kB / 0.5535 GB, free: 20.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.01331, allocations: 7.938 kB / 0.5535 GB, free: 20.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.804e-05/0.01335, allocations: 65.95 kB / 0.5536 GB, free: 20.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.01335, allocations: 0 / 0.5536 GB, free: 20.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000157/0.01351, allocations: 52 kB / 0.5536 GB, free: 20.66 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 6.735e-05/0.01358, allocations: 96.3 kB / 0.5537 GB, free: 20.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.01373, allocations: 320.8 kB / 0.554 GB, free: 20.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.01374, allocations: 3.938 kB / 0.554 GB, free: 20.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.944e-05/0.01379, allocations: 145.9 kB / 0.5542 GB, free: 20.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.01401, allocations: 81.94 kB / 0.5543 GB, free: 19.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005329/0.01934, allocations: 0.5813 MB / 0.5548 GB, free: 19.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.997e-05/0.01937, allocations: 76.33 kB / 0.5549 GB, free: 19.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.64e-05/0.01944, allocations: 25.94 kB / 0.5549 GB, free: 19.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.01956, allocations: 111.3 kB / 0.555 GB, free: 19.11 MB / 410.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01956, allocations: 0 / 0.555 GB, free: 19.11 MB / 410.7 MB Notification: Performance of Templates: time 0.004423/0.02398, allocations: 3.782 MB / 0.5587 GB, free: 15.43 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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 26.966615822166204]