Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating.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.001095/0.001095, allocations: 108.4 kB / 19.71 MB, free: 436 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.001355/0.001355, allocations: 211 kB / 23 MB, free: 2.965 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.05/1.05, allocations: 230.6 MB / 256.8 MB, free: 9.574 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.7533/0.7533, allocations: 312.3 MB / 0.6108 GB, free: 97.08 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_lactating,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating") [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.002081/0.002081, allocations: 77.72 kB / 0.7699 GB, free: 19.7 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1374, allocations: 73.99 MB / 0.8422 GB, free: 9.84 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating): time 0.002724/0.1401, allocations: 2.331 MB / 0.8444 GB, free: 7.508 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007521/0.1409, allocations: 0.5949 MB / 0.845 GB, free: 6.918 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.111e-05/0.1409, allocations: 0.5938 kB / 0.845 GB, free: 6.918 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.1411, allocations: 27.72 kB / 0.845 GB, free: 6.891 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.1412, allocations: 80.66 kB / 0.8451 GB, free: 6.812 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.1414, allocations: 52.56 kB / 0.8452 GB, free: 6.762 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.1416, allocations: 254.7 kB / 0.8454 GB, free: 6.512 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.1417, allocations: 37.31 kB / 0.8454 GB, free: 6.477 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.1418, allocations: 95.64 kB / 0.8455 GB, free: 6.383 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.142, allocations: 100.1 kB / 0.8456 GB, free: 6.285 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.142, allocations: 16.62 kB / 0.8457 GB, free: 6.27 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.554e-05/0.1421, allocations: 16 kB / 0.8457 GB, free: 6.254 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.046e-05/0.1421, allocations: 36.44 kB / 0.8457 GB, free: 6.219 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.578e-05/0.1422, allocations: 92.22 kB / 0.8458 GB, free: 6.129 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.1423, allocations: 199.2 kB / 0.846 GB, free: 5.934 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1423, allocations: 0.6875 kB / 0.846 GB, free: 5.934 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1423, allocations: 0 / 0.846 GB, free: 5.934 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1424, allocations: 0.5 kB / 0.846 GB, free: 5.934 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.0006732/0.143, allocations: 0.4908 MB / 0.8465 GB, free: 5.398 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1431, allocations: 8.531 kB / 0.8465 GB, free: 5.391 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.1431, allocations: 24.8 kB / 0.8465 GB, free: 5.367 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.1433, allocations: 187.7 kB / 0.8467 GB, free: 5.156 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.1433, allocations: 13.36 kB / 0.8467 GB, free: 5.145 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.1433, allocations: 19.89 kB / 0.8467 GB, free: 5.125 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.1436, allocations: 191 kB / 0.8469 GB, free: 4.922 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1436, allocations: 4.531 kB / 0.8469 GB, free: 4.918 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.1436, allocations: 4 kB / 0.8469 GB, free: 4.914 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1436, allocations: 4.625 kB / 0.8469 GB, free: 4.91 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.1438, allocations: 151.5 kB / 0.847 GB, free: 4.758 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005334/0.1444, allocations: 482.7 kB / 0.8475 GB, free: 4.254 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/0.1447, allocations: 172.8 kB / 0.8477 GB, free: 4.07 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.1448, allocations: 99.17 kB / 0.8478 GB, free: 3.965 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.1448, allocations: 0.7188 kB / 0.8478 GB, free: 3.965 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.145, allocations: 229.1 kB / 0.848 GB, free: 3.711 MB / 474.8 MB Notification: Performance of pre-optimization done (n=20): time 1.833e-06/0.145, allocations: 4.625 kB / 0.848 GB, free: 3.707 MB / 474.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009208/0.1459, allocations: 0.6969 MB / 0.8487 GB, free: 2.949 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.146, allocations: 133.2 kB / 0.8488 GB, free: 2.789 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.1461, allocations: 220 kB / 0.849 GB, free: 2.566 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.1462, allocations: 34.33 kB / 0.849 GB, free: 2.527 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/0.1462, allocations: 132.5 kB / 0.8492 GB, free: 2.395 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.1463, allocations: 72 kB / 0.8492 GB, free: 2.324 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/0.1463, allocations: 58.28 kB / 0.8493 GB, free: 2.262 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.613e-05/0.1464, allocations: 342.8 kB / 0.8496 GB, free: 1.918 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.1466, allocations: 141.6 kB / 0.8497 GB, free: 1.762 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.1467, allocations: 221.9 kB / 0.85 GB, free: 1.5 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.147, allocations: 278.6 kB / 0.8502 GB, free: 1.191 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.147, allocations: 0 / 0.8502 GB, free: 1.191 MB / 474.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003621/0.1473, allocations: 394.2 kB / 0.8506 GB, free: 0.7773 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.869e-05/0.1474, allocations: 70.3 kB / 0.8507 GB, free: 0.6992 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1474, allocations: 0 / 0.8507 GB, free: 0.6992 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1474, allocations: 4.594 kB / 0.8507 GB, free: 0.6953 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.1475, allocations: 52.59 kB / 0.8507 GB, free: 0.6445 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1475, allocations: 8.5 kB / 0.8507 GB, free: 0.6367 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9e-05/0.1476, allocations: 20.48 kB / 0.8507 GB, free: 0.6172 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.1476, allocations: 8 kB / 0.8508 GB, free: 0.6094 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.0001561/0.1478, allocations: 182.2 kB / 0.8509 GB, free: 428 kB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.1478, allocations: 25.58 kB / 0.851 GB, free: 404 kB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.1478, allocations: 29.95 kB / 0.851 GB, free: 372 kB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1478, allocations: 0 / 0.851 GB, free: 372 kB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1478, allocations: 0 / 0.851 GB, free: 372 kB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1478, allocations: 1.344 kB / 0.851 GB, free: 372 kB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004814/0.1483, allocations: 0.5368 MB / 0.8515 GB, free: 15.77 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1483, allocations: 1.094 kB / 0.8515 GB, free: 15.77 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.1484, allocations: 39.91 kB / 0.8515 GB, free: 15.73 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1484, allocations: 0 / 0.8515 GB, free: 15.73 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1484, allocations: 9.906 kB / 0.8516 GB, free: 15.73 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1484, allocations: 3.938 kB / 0.8516 GB, free: 15.72 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1484, allocations: 0 / 0.8516 GB, free: 15.72 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004344/0.1489, allocations: 0.4921 MB / 0.852 GB, free: 15.2 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.658e-05/0.1489, allocations: 26.33 kB / 0.8521 GB, free: 15.18 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.1489, allocations: 4 kB / 0.8521 GB, free: 15.17 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.009e-05/0.149, allocations: 19.98 kB / 0.8521 GB, free: 15.15 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/0.1491, allocations: 19.97 kB / 0.8521 GB, free: 15.13 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.1491, allocations: 7.984 kB / 0.8521 GB, free: 15.12 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.203e-05/0.1492, allocations: 159.4 kB / 0.8523 GB, free: 14.97 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1492, allocations: 2.031 kB / 0.8523 GB, free: 14.97 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001838/0.1494, allocations: 56 kB / 0.8523 GB, free: 14.91 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 8.864e-05/0.1494, allocations: 126.8 kB / 0.8524 GB, free: 14.78 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003437/0.1498, allocations: 374.1 kB / 0.8528 GB, free: 14.38 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1498, allocations: 0 / 0.8528 GB, free: 14.38 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.1499, allocations: 173.6 kB / 0.853 GB, free: 14.19 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.1502, allocations: 55.14 kB / 0.853 GB, free: 14.14 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008404/0.151, allocations: 0.7032 MB / 0.8537 GB, free: 13.48 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.617e-05/0.1511, allocations: 125.6 kB / 0.8538 GB, free: 13.34 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/0.1512, allocations: 23.44 kB / 0.8538 GB, free: 13.31 MB / 490.8 MB Notification: Performance of SimCode: time 5.61e-07/0.1512, allocations: 0 / 0.8538 GB, free: 13.31 MB / 490.8 MB Notification: Performance of Templates: time 0.2236/0.3748, allocations: 2.93 MB / 0.8567 GB, free: 28.83 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_lactating.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.18449399061501]