Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.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: 112.3 kB / 19.71 MB, free: 432 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.00143/0.00143, allocations: 221.3 kB / 23.01 MB, free: 2.938 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.068/1.068, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.755/0.755, allocations: 312.3 MB / 0.6108 GB, free: 97.18 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_ewe_7,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7") [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.001442/0.001442, allocations: 77.25 kB / 0.7699 GB, free: 19.62 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1312, allocations: 73.99 MB / 0.8421 GB, free: 9.773 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7): time 0.002857/0.1341, allocations: 2.339 MB / 0.8444 GB, free: 7.434 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009491/0.135, allocations: 0.5909 MB / 0.845 GB, free: 6.848 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.1351, allocations: 0.75 kB / 0.845 GB, free: 6.848 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.1352, allocations: 23.72 kB / 0.845 GB, free: 6.824 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.1355, allocations: 84.73 kB / 0.8451 GB, free: 6.742 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.1356, allocations: 48.5 kB / 0.8451 GB, free: 6.695 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.1359, allocations: 259.3 kB / 0.8454 GB, free: 6.441 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.136, allocations: 36.56 kB / 0.8454 GB, free: 6.406 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.1361, allocations: 96.2 kB / 0.8455 GB, free: 6.312 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.1363, allocations: 95.98 kB / 0.8456 GB, free: 6.219 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.267e-05/0.1364, allocations: 16.59 kB / 0.8456 GB, free: 6.203 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.714e-05/0.1364, allocations: 20 kB / 0.8456 GB, free: 6.184 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.359e-05/0.1364, allocations: 36.47 kB / 0.8457 GB, free: 6.148 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.598e-05/0.1365, allocations: 92.3 kB / 0.8458 GB, free: 6.059 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.1367, allocations: 207.1 kB / 0.846 GB, free: 5.855 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1367, allocations: 0.5 kB / 0.846 GB, free: 5.855 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1367, allocations: 4 kB / 0.846 GB, free: 5.852 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1367, allocations: 0.7188 kB / 0.846 GB, free: 5.852 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.0007492/0.1375, allocations: 490.7 kB / 0.8464 GB, free: 5.328 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1375, allocations: 12.02 kB / 0.8465 GB, free: 5.316 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.4e-05/0.1376, allocations: 25.42 kB / 0.8465 GB, free: 5.293 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.1378, allocations: 183.1 kB / 0.8467 GB, free: 5.086 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.1378, allocations: 17.22 kB / 0.8467 GB, free: 5.07 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.1378, allocations: 20.48 kB / 0.8467 GB, free: 5.051 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002846/0.1381, allocations: 183 kB / 0.8469 GB, free: 4.855 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.1381, allocations: 4.719 kB / 0.8469 GB, free: 4.852 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.1382, allocations: 7.984 kB / 0.8469 GB, free: 4.844 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.1382, allocations: 8.438 kB / 0.8469 GB, free: 4.836 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.1384, allocations: 142.9 kB / 0.847 GB, free: 4.691 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005645/0.1389, allocations: 486.6 kB / 0.8475 GB, free: 4.184 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003299/0.1393, allocations: 174.2 kB / 0.8477 GB, free: 4 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.1394, allocations: 91.11 kB / 0.8477 GB, free: 3.902 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.1394, allocations: 8.438 kB / 0.8477 GB, free: 3.895 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002406/0.1396, allocations: 227.8 kB / 0.848 GB, free: 3.645 MB / 474.8 MB Notification: Performance of pre-optimization done (n=20): time 3.086e-06/0.1396, allocations: 3.984 kB / 0.848 GB, free: 3.641 MB / 474.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009958/0.1406, allocations: 0.701 MB / 0.8487 GB, free: 2.879 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.1407, allocations: 137.1 kB / 0.8488 GB, free: 2.715 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.1409, allocations: 219.6 kB / 0.849 GB, free: 2.492 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.1409, allocations: 33.7 kB / 0.849 GB, free: 2.453 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.006e-05/0.141, allocations: 133 kB / 0.8492 GB, free: 2.32 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.665e-05/0.141, allocations: 68.05 kB / 0.8492 GB, free: 2.254 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.658e-05/0.1411, allocations: 61.64 kB / 0.8493 GB, free: 2.188 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.1412, allocations: 335.5 kB / 0.8496 GB, free: 1.852 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.1414, allocations: 141.6 kB / 0.8497 GB, free: 1.695 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.1416, allocations: 225.9 kB / 0.8499 GB, free: 1.43 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.1418, allocations: 281.7 kB / 0.8502 GB, free: 1.117 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.1418, allocations: 0 / 0.8502 GB, free: 1.117 MB / 474.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003805/0.1422, allocations: 390.3 kB / 0.8506 GB, free: 0.707 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/0.1423, allocations: 70.12 kB / 0.8507 GB, free: 0.6289 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1423, allocations: 0.625 kB / 0.8507 GB, free: 0.6289 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1423, allocations: 4 kB / 0.8507 GB, free: 0.625 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.1424, allocations: 56.48 kB / 0.8507 GB, free: 0.5703 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1424, allocations: 4.625 kB / 0.8507 GB, free: 0.5664 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.151e-05/0.1425, allocations: 16.58 kB / 0.8507 GB, free: 0.5508 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.1425, allocations: 12 kB / 0.8507 GB, free: 0.5391 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.0001673/0.1427, allocations: 182.7 kB / 0.8509 GB, free: 356 kB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.1427, allocations: 23.8 kB / 0.8509 GB, free: 332 kB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/0.1427, allocations: 22.56 kB / 0.851 GB, free: 308 kB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1427, allocations: 7.984 kB / 0.851 GB, free: 300 kB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.1428, allocations: 9.25 kB / 0.851 GB, free: 292 kB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.1428, allocations: 0 / 0.851 GB, free: 292 kB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005326/0.1433, allocations: 0.5327 MB / 0.8515 GB, free: 15.71 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1433, allocations: 0 / 0.8515 GB, free: 15.71 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.1434, allocations: 40.62 kB / 0.8515 GB, free: 15.67 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1434, allocations: 1.938 kB / 0.8515 GB, free: 15.67 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.1434, allocations: 8 kB / 0.8515 GB, free: 15.66 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1434, allocations: 3.938 kB / 0.8515 GB, free: 15.66 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1434, allocations: 0 / 0.8515 GB, free: 15.66 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/0.1439, allocations: 0.4902 MB / 0.852 GB, free: 15.13 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/0.1439, allocations: 15.86 kB / 0.852 GB, free: 15.12 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.1439, allocations: 12.88 kB / 0.8521 GB, free: 15.11 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.843e-05/0.144, allocations: 15.92 kB / 0.8521 GB, free: 15.09 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.767e-05/0.1441, allocations: 24.47 kB / 0.8521 GB, free: 15.07 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.1441, allocations: 4.531 kB / 0.8521 GB, free: 15.06 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.984e-05/0.1442, allocations: 164.3 kB / 0.8523 GB, free: 14.9 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.1442, allocations: 1.875 kB / 0.8523 GB, free: 14.9 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001909/0.1444, allocations: 56 kB / 0.8523 GB, free: 14.85 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.0001011/0.1445, allocations: 114.4 kB / 0.8524 GB, free: 14.73 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003558/0.1448, allocations: 382 kB / 0.8528 GB, free: 14.31 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1448, allocations: 0 / 0.8528 GB, free: 14.31 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.145, allocations: 169.7 kB / 0.8529 GB, free: 14.13 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.1453, allocations: 73.36 kB / 0.853 GB, free: 14.06 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009184/0.1462, allocations: 0.7064 MB / 0.8537 GB, free: 13.4 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.835e-05/0.1463, allocations: 129.6 kB / 0.8538 GB, free: 13.25 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.1463, allocations: 19.44 kB / 0.8538 GB, free: 13.23 MB / 490.8 MB Notification: Performance of SimCode: time 6.91e-07/0.1463, allocations: 0 / 0.8538 GB, free: 13.23 MB / 490.8 MB Notification: Performance of Templates: time 0.232/0.3784, allocations: 2.919 MB / 0.8567 GB, free: 28.85 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.31336410343647]