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.0008509/0.0008509, allocations: 92.42 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0009298/0.0009298, allocations: 169.9 kB / 23.21 MB, free: 1.328 MB / 18.57 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.961/0.961, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.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.7288/0.7288, allocations: 291.1 MB / 0.5382 GB, free: 51.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.863e-06/1.863e-06, allocations: 0 / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.912e-05/3.098e-05, allocations: 5.234 kB / 0.6974 GB, free: 10.37 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride): time 0.002529/0.00256, allocations: 2.336 MB / 0.6996 GB, free: 8.016 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008425/0.003402, allocations: 0.5999 MB / 0.7002 GB, free: 7.414 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.003516, allocations: 3.938 kB / 0.7002 GB, free: 7.41 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.003635, allocations: 23.78 kB / 0.7003 GB, free: 7.387 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.003816, allocations: 87.27 kB / 0.7003 GB, free: 7.301 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.004019, allocations: 47.88 kB / 0.7004 GB, free: 7.254 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.004238, allocations: 266.6 kB / 0.7006 GB, free: 6.992 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.004381, allocations: 44.5 kB / 0.7007 GB, free: 6.953 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.004536, allocations: 131.7 kB / 0.7008 GB, free: 6.824 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.00471, allocations: 91.64 kB / 0.7009 GB, free: 6.734 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.00474, allocations: 20 kB / 0.7009 GB, free: 6.715 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.359e-05/0.004764, allocations: 16 kB / 0.7009 GB, free: 6.699 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.035e-05/0.004794, allocations: 39.78 kB / 0.701 GB, free: 6.66 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.588e-05/0.00486, allocations: 67.84 kB / 0.701 GB, free: 6.594 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.005049, allocations: 207.4 kB / 0.7012 GB, free: 6.391 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.005053, allocations: 0 / 0.7012 GB, free: 6.391 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.335e-06/0.005055, allocations: 0 / 0.7012 GB, free: 6.391 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.005062, allocations: 0 / 0.7012 GB, free: 6.391 MB / 410.8 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.0006485/0.00571, allocations: 496.8 kB / 0.7017 GB, free: 5.859 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.005749, allocations: 11.89 kB / 0.7017 GB, free: 5.848 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.279e-05/0.005802, allocations: 24.8 kB / 0.7017 GB, free: 5.824 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.005979, allocations: 182.4 kB / 0.7019 GB, free: 5.617 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.005995, allocations: 8.609 kB / 0.7019 GB, free: 5.609 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.006023, allocations: 20.31 kB / 0.7019 GB, free: 5.59 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.006259, allocations: 194 kB / 0.7021 GB, free: 5.387 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.006272, allocations: 11.89 kB / 0.7021 GB, free: 5.375 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.006287, allocations: 8 kB / 0.7021 GB, free: 5.367 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.006293, allocations: 0 / 0.7021 GB, free: 5.367 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.006485, allocations: 150.2 kB / 0.7023 GB, free: 5.215 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005247/0.00701, allocations: 481.5 kB / 0.7027 GB, free: 4.711 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003141/0.007324, allocations: 176.2 kB / 0.7029 GB, free: 4.523 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.007427, allocations: 94.52 kB / 0.703 GB, free: 4.422 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.007436, allocations: 4 kB / 0.703 GB, free: 4.418 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/0.007655, allocations: 232.5 kB / 0.7032 GB, free: 4.16 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.232e-06/0.007657, allocations: 0 / 0.7032 GB, free: 4.16 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009149/0.008571, allocations: 0.7031 MB / 0.7039 GB, free: 3.395 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.008612, allocations: 140.5 kB / 0.7041 GB, free: 3.227 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.00874, allocations: 219 kB / 0.7043 GB, free: 3.004 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.008752, allocations: 29.7 kB / 0.7043 GB, free: 2.969 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.008804, allocations: 132.5 kB / 0.7044 GB, free: 2.836 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.008836, allocations: 71.42 kB / 0.7045 GB, free: 2.766 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.361e-05/0.00889, allocations: 49.7 kB / 0.7045 GB, free: 2.711 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.662e-05/0.008936, allocations: 334.8 kB / 0.7049 GB, free: 2.375 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.009073, allocations: 149 kB / 0.705 GB, free: 2.211 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.009201, allocations: 223.7 kB / 0.7052 GB, free: 1.949 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.00942, allocations: 284.8 kB / 0.7055 GB, free: 1.629 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.009422, allocations: 4 kB / 0.7055 GB, free: 1.625 MB / 410.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003329/0.009755, allocations: 390.2 kB / 0.7059 GB, free: 1.215 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.681e-05/0.009792, allocations: 67.39 kB / 0.7059 GB, free: 1.137 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.0098, allocations: 7.938 kB / 0.7059 GB, free: 1.129 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.009817, allocations: 8.219 kB / 0.7059 GB, free: 1.121 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.009934, allocations: 51.84 kB / 0.706 GB, free: 1.07 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.009941, allocations: 4 kB / 0.706 GB, free: 1.066 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.08e-05/0.01003, allocations: 15.98 kB / 0.706 GB, free: 1.051 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.01005, allocations: 12 kB / 0.706 GB, free: 1.039 MB / 410.8 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.0001425/0.01019, allocations: 167.5 kB / 0.7062 GB, free: 0.8594 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/0.01021, allocations: 19.91 kB / 0.7062 GB, free: 0.8398 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.332e-05/0.01024, allocations: 29.95 kB / 0.7062 GB, free: 0.8086 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.01025, allocations: 4 kB / 0.7062 GB, free: 0.8047 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.01026, allocations: 3.938 kB / 0.7062 GB, free: 0.8008 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.01026, allocations: 0 / 0.7062 GB, free: 0.8008 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004394/0.0107, allocations: 0.5367 MB / 0.7068 GB, free: 220 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.0107, allocations: 0 / 0.7068 GB, free: 220 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.01081, allocations: 39.91 kB / 0.7068 GB, free: 180 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.01081, allocations: 0 / 0.7068 GB, free: 180 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.01082, allocations: 12 kB / 0.7068 GB, free: 168 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.01083, allocations: 0 / 0.7068 GB, free: 168 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.01083, allocations: 3.984 kB / 0.7068 GB, free: 164 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004614/0.01129, allocations: 0.4901 MB / 0.7073 GB, free: 15.64 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/0.01132, allocations: 27.89 kB / 0.7073 GB, free: 15.61 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.01135, allocations: 4 kB / 0.7073 GB, free: 15.61 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.325e-05/0.01143, allocations: 15.98 kB / 0.7073 GB, free: 15.59 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.916e-05/0.0115, allocations: 15.97 kB / 0.7073 GB, free: 15.57 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.01151, allocations: 19.98 kB / 0.7074 GB, free: 15.55 MB / 426.8 MB Notification: Performance of sorting global known variables: time 9.815e-05/0.01161, allocations: 152.4 kB / 0.7075 GB, free: 15.41 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01161, allocations: 0 / 0.7075 GB, free: 15.41 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002042/0.01182, allocations: 56 kB / 0.7076 GB, free: 15.35 MB / 426.8 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 0.0001165/0.01193, allocations: 115.2 kB / 0.7077 GB, free: 15.23 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0003864/0.01232, allocations: 380 kB / 0.708 GB, free: 14.82 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01232, allocations: 3.938 kB / 0.708 GB, free: 14.81 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.01247, allocations: 176.9 kB / 0.7082 GB, free: 14.62 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.01279, allocations: 74.86 kB / 0.7083 GB, free: 14.55 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008582/0.01365, allocations: 0.5914 MB / 0.7089 GB, free: 13.93 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.231e-05/0.01374, allocations: 129.6 kB / 0.709 GB, free: 13.78 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.77e-05/0.0138, allocations: 28.5 kB / 0.709 GB, free: 13.75 MB / 426.8 MB Notification: Performance of SimCode: time 6.52e-07/0.0138, allocations: 3.938 kB / 0.709 GB, free: 13.75 MB / 426.8 MB Notification: Performance of Templates: time 0.003921/0.01772, allocations: 2.939 MB / 0.7119 GB, free: 10.83 MB / 426.8 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: 11.545136549510062]