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.001145/0.001145, allocations: 104.3 kB / 19.71 MB, free: 440 kB / 13.93 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.001225/0.001225, allocations: 221.3 kB / 23.01 MB, free: 2.941 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.005/1.005, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.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.7513/0.7513, allocations: 312.3 MB / 0.6108 GB, free: 97.5 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002283/0.002283, allocations: 76.11 kB / 0.7699 GB, free: 20.13 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.153, allocations: 73.99 MB / 0.8421 GB, free: 10.27 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride): time 0.003709/0.1568, allocations: 2.357 MB / 0.8444 GB, free: 7.918 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1578, allocations: 0.5912 MB / 0.845 GB, free: 7.332 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.1579, allocations: 0.625 kB / 0.845 GB, free: 7.332 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.158, allocations: 27.72 kB / 0.845 GB, free: 7.305 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.1582, allocations: 76.44 kB / 0.8451 GB, free: 7.23 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.1585, allocations: 52.61 kB / 0.8452 GB, free: 7.18 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002652/0.1587, allocations: 255.3 kB / 0.8454 GB, free: 6.93 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.1589, allocations: 36.56 kB / 0.8454 GB, free: 6.895 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.159, allocations: 96.17 kB / 0.8455 GB, free: 6.801 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.1592, allocations: 104 kB / 0.8456 GB, free: 6.699 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.1593, allocations: 16.56 kB / 0.8457 GB, free: 6.684 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.691e-05/0.1593, allocations: 16 kB / 0.8457 GB, free: 6.668 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.964e-05/0.1593, allocations: 32.45 kB / 0.8457 GB, free: 6.637 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.934e-05/0.1594, allocations: 96.2 kB / 0.8458 GB, free: 6.543 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.1597, allocations: 199.2 kB / 0.846 GB, free: 6.348 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1597, allocations: 0.625 kB / 0.846 GB, free: 6.348 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1597, allocations: 0 / 0.846 GB, free: 6.348 MB / 474.8 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.1597, allocations: 0.5938 kB / 0.846 GB, free: 6.348 MB / 474.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.0007607/0.1604, allocations: 0.491 MB / 0.8465 GB, free: 5.812 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.1605, allocations: 11.89 kB / 0.8465 GB, free: 5.801 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.69e-05/0.1605, allocations: 25.45 kB / 0.8465 GB, free: 5.777 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.1608, allocations: 183.1 kB / 0.8467 GB, free: 5.57 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1608, allocations: 9.203 kB / 0.8467 GB, free: 5.562 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.028e-05/0.1608, allocations: 24.58 kB / 0.8467 GB, free: 5.539 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.1611, allocations: 194.4 kB / 0.8469 GB, free: 5.332 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.1611, allocations: 0.5 kB / 0.8469 GB, free: 5.332 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.1612, allocations: 4.781 kB / 0.8469 GB, free: 5.328 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1612, allocations: 7.938 kB / 0.8469 GB, free: 5.32 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002203/0.1614, allocations: 147.5 kB / 0.847 GB, free: 5.172 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006688/0.1621, allocations: 482.6 kB / 0.8475 GB, free: 4.668 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003813/0.1624, allocations: 173.2 kB / 0.8477 GB, free: 4.484 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.1626, allocations: 99.23 kB / 0.8478 GB, free: 4.379 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.1626, allocations: 4.625 kB / 0.8478 GB, free: 4.375 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002761/0.1628, allocations: 223 kB / 0.848 GB, free: 4.129 MB / 474.8 MB Notification: Performance of pre-optimization done (n=20): time 2.184e-06/0.1628, allocations: 4.625 kB / 0.848 GB, free: 4.125 MB / 474.8 MB Notification: Performance of matching and sorting (n=21): time 0.001076/0.1639, allocations: 0.6971 MB / 0.8487 GB, free: 3.367 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.676e-05/0.164, allocations: 137 kB / 0.8488 GB, free: 3.203 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.1642, allocations: 211 kB / 0.849 GB, free: 2.988 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.1642, allocations: 38.25 kB / 0.849 GB, free: 2.945 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.738e-05/0.1643, allocations: 133.1 kB / 0.8492 GB, free: 2.812 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.1643, allocations: 71.42 kB / 0.8492 GB, free: 2.742 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.809e-05/0.1644, allocations: 58.16 kB / 0.8493 GB, free: 2.68 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1645, allocations: 343.4 kB / 0.8496 GB, free: 2.336 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.1646, allocations: 141.6 kB / 0.8497 GB, free: 2.18 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.1648, allocations: 221.8 kB / 0.85 GB, free: 1.918 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.1651, allocations: 285.7 kB / 0.8502 GB, free: 1.602 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1651, allocations: 0 / 0.8502 GB, free: 1.602 MB / 474.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003954/0.1655, allocations: 386.5 kB / 0.8506 GB, free: 1.195 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.509e-05/0.1655, allocations: 67.95 kB / 0.8507 GB, free: 1.117 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1656, allocations: 0.5 kB / 0.8507 GB, free: 1.117 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.1656, allocations: 4 kB / 0.8507 GB, free: 1.113 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.1657, allocations: 56.47 kB / 0.8507 GB, free: 1.059 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.1657, allocations: 4.625 kB / 0.8507 GB, free: 1.055 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.791e-05/0.1658, allocations: 24.64 kB / 0.8507 GB, free: 1.031 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.1658, allocations: 12.61 kB / 0.8508 GB, free: 1.02 MB / 474.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.0002129/0.166, allocations: 177 kB / 0.8509 GB, free: 0.832 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.1661, allocations: 23.8 kB / 0.851 GB, free: 0.8086 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.371e-05/0.1661, allocations: 30.73 kB / 0.851 GB, free: 0.7773 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1661, allocations: 0 / 0.851 GB, free: 0.7773 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.1661, allocations: 4.531 kB / 0.851 GB, free: 0.7734 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1661, allocations: 0 / 0.851 GB, free: 0.7734 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005653/0.1667, allocations: 0.5329 MB / 0.8515 GB, free: 200 kB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1667, allocations: 0.5 kB / 0.8515 GB, free: 200 kB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.1668, allocations: 44.44 kB / 0.8515 GB, free: 156 kB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1668, allocations: 0.625 kB / 0.8515 GB, free: 156 kB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.1668, allocations: 4 kB / 0.8516 GB, free: 152 kB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1668, allocations: 4.656 kB / 0.8516 GB, free: 148 kB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1668, allocations: 0 / 0.8516 GB, free: 148 kB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005042/0.1673, allocations: 0.4919 MB / 0.852 GB, free: 15.62 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.222e-05/0.1674, allocations: 19.89 kB / 0.8521 GB, free: 15.6 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.1674, allocations: 8.625 kB / 0.8521 GB, free: 15.59 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.809e-05/0.1675, allocations: 16.61 kB / 0.8521 GB, free: 15.58 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.628e-05/0.1676, allocations: 19.97 kB / 0.8521 GB, free: 15.56 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.1676, allocations: 8.578 kB / 0.8521 GB, free: 15.55 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000102/0.1677, allocations: 164.8 kB / 0.8523 GB, free: 15.39 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1677, allocations: 0 / 0.8523 GB, free: 15.39 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002042/0.1679, allocations: 56.59 kB / 0.8523 GB, free: 15.34 MB / 490.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.0001172/0.168, allocations: 108.1 kB / 0.8524 GB, free: 15.22 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003839/0.1684, allocations: 384.4 kB / 0.8528 GB, free: 14.8 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1684, allocations: 0.5938 kB / 0.8528 GB, free: 14.8 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.1685, allocations: 169.6 kB / 0.853 GB, free: 14.62 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.1689, allocations: 73.47 kB / 0.853 GB, free: 14.55 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.1699, allocations: 0.7048 MB / 0.8537 GB, free: 13.89 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.618e-05/0.17, allocations: 121.6 kB / 0.8538 GB, free: 13.75 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.552e-05/0.1701, allocations: 23.44 kB / 0.8538 GB, free: 13.73 MB / 490.8 MB Notification: Performance of SimCode: time 1.042e-06/0.1701, allocations: 3.938 kB / 0.8539 GB, free: 13.73 MB / 490.8 MB Notification: Performance of Templates: time 0.2657/0.4358, allocations: 2.929 MB / 0.8567 GB, free: 29.75 MB / 490.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.581770262680948]