Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide_Kerbusch2001v4_reference.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.001133/0.001133, allocations: 104.3 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.001664/0.001664, allocations: 220.4 kB / 23 MB, free: 2.969 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.075/1.075, allocations: 230.6 MB / 256.8 MB, free: 9.629 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.7892/0.7892, 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.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide_Kerbusch2001v4_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide_Kerbusch2001v4_reference") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide_Kerbusch2001v4_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide_Kerbusch2001v4_reference") [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.08 kB / 0.7699 GB, free: 19.7 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1424, allocations: 73.98 MB / 0.8421 GB, free: 9.844 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide_Kerbusch2001v4_reference): time 0.003091/0.1455, allocations: 2.287 MB / 0.8444 GB, free: 7.562 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006366/0.1519, allocations: 6.537 MB / 0.8507 GB, free: 1.023 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002094/0.1521, allocations: 0.5938 kB / 0.8507 GB, free: 1.023 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.1522, allocations: 23.72 kB / 0.8508 GB, free: 1 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.1525, allocations: 80.77 kB / 0.8508 GB, free: 0.9219 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.1527, allocations: 56.52 kB / 0.8509 GB, free: 0.8672 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.153, allocations: 254.7 kB / 0.8511 GB, free: 0.6172 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.1532, allocations: 37.09 kB / 0.8512 GB, free: 0.582 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.1533, allocations: 100.2 kB / 0.8513 GB, free: 496 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.1535, allocations: 96.06 kB / 0.8514 GB, free: 400 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.1536, allocations: 20 kB / 0.8514 GB, free: 380 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.777e-05/0.1536, allocations: 16.72 kB / 0.8514 GB, free: 364 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.902e-05/0.1536, allocations: 36.36 kB / 0.8514 GB, free: 328 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.178e-05/0.1537, allocations: 95.53 kB / 0.8515 GB, free: 232 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.154, allocations: 199.7 kB / 0.8517 GB, free: 32 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.154, allocations: 4.625 kB / 0.8517 GB, free: 28 kB / 474.8 MB Notification: Performance of FrontEnd: time 2.846e-06/0.154, allocations: 0 / 0.8517 GB, free: 28 kB / 474.8 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.154, allocations: 4.531 kB / 0.8517 GB, free: 24 kB / 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.0008044/0.1548, allocations: 0.4923 MB / 0.8522 GB, free: 15.49 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.1548, allocations: 8.688 kB / 0.8522 GB, free: 15.48 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.978e-05/0.1549, allocations: 25.39 kB / 0.8522 GB, free: 15.46 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.1551, allocations: 179.2 kB / 0.8524 GB, free: 15.25 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.1551, allocations: 13.3 kB / 0.8524 GB, free: 15.24 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.1552, allocations: 19.89 kB / 0.8524 GB, free: 15.22 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.1555, allocations: 187.1 kB / 0.8526 GB, free: 15.02 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.1555, allocations: 4.719 kB / 0.8526 GB, free: 15.02 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.1555, allocations: 4 kB / 0.8526 GB, free: 15.02 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.1555, allocations: 8.562 kB / 0.8526 GB, free: 15.01 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002148/0.1557, allocations: 143.7 kB / 0.8528 GB, free: 14.86 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006453/0.1563, allocations: 486 kB / 0.8532 GB, free: 14.36 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003562/0.1567, allocations: 173.4 kB / 0.8534 GB, free: 14.17 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.1568, allocations: 99.58 kB / 0.8535 GB, free: 14.07 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.1568, allocations: 4 kB / 0.8535 GB, free: 14.06 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002544/0.1571, allocations: 229.6 kB / 0.8537 GB, free: 13.81 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.955e-06/0.1571, allocations: 0.7188 kB / 0.8537 GB, free: 13.81 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001073/0.1582, allocations: 0.6958 MB / 0.8544 GB, free: 13.05 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000181/0.1583, allocations: 137.1 kB / 0.8545 GB, free: 12.89 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.1585, allocations: 219.6 kB / 0.8547 GB, free: 12.66 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.1586, allocations: 37.69 kB / 0.8548 GB, free: 12.62 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.926e-05/0.1586, allocations: 129.1 kB / 0.8549 GB, free: 12.49 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.579e-05/0.1587, allocations: 71.47 kB / 0.855 GB, free: 12.42 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.809e-05/0.1587, allocations: 58.34 kB / 0.855 GB, free: 12.36 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.174e-05/0.1588, allocations: 338.8 kB / 0.8553 GB, free: 12.02 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3363/0.4952, allocations: 139.1 kB / 0.8555 GB, free: 30.3 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.4954, allocations: 221.9 kB / 0.8557 GB, free: 30.13 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.4956, allocations: 281.7 kB / 0.856 GB, free: 29.98 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4956, allocations: 0 / 0.856 GB, free: 29.98 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004241/0.496, allocations: 398 kB / 0.8563 GB, free: 29.82 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.943e-05/0.4961, allocations: 63.67 kB / 0.8564 GB, free: 29.75 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.4961, allocations: 3.594 kB / 0.8564 GB, free: 29.75 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.4961, allocations: 3.172 kB / 0.8564 GB, free: 29.75 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.4963, allocations: 50.61 kB / 0.8564 GB, free: 29.75 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.4963, allocations: 3.344 kB / 0.8565 GB, free: 29.75 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.4964, allocations: 21.33 kB / 0.8565 GB, free: 29.75 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.4964, allocations: 11.34 kB / 0.8565 GB, free: 29.75 MB / 490.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.0001812/0.4966, allocations: 178 kB / 0.8567 GB, free: 29.6 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.4966, allocations: 24.3 kB / 0.8567 GB, free: 29.6 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.072e-05/0.4967, allocations: 32.67 kB / 0.8567 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.4967, allocations: 3.375 kB / 0.8567 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.4967, allocations: 0 / 0.8567 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.4967, allocations: 0.75 kB / 0.8567 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005226/0.4972, allocations: 0.5342 MB / 0.8572 GB, free: 29.3 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.4972, allocations: 0 / 0.8572 GB, free: 29.3 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.4973, allocations: 41.19 kB / 0.8573 GB, free: 29.29 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.4973, allocations: 3 kB / 0.8573 GB, free: 29.29 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.4973, allocations: 7.656 kB / 0.8573 GB, free: 29.29 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.4974, allocations: 6.766 kB / 0.8573 GB, free: 29.29 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4974, allocations: 0 / 0.8573 GB, free: 29.29 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004382/0.4978, allocations: 0.4902 MB / 0.8578 GB, free: 29.06 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/0.4978, allocations: 20.84 kB / 0.8578 GB, free: 29.06 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.4979, allocations: 10.11 kB / 0.8578 GB, free: 29.06 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.75e-05/0.498, allocations: 18.25 kB / 0.8578 GB, free: 29.06 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.498, allocations: 18.47 kB / 0.8578 GB, free: 29.06 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.4981, allocations: 10.48 kB / 0.8578 GB, free: 29.06 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.695e-05/0.4981, allocations: 157.3 kB / 0.858 GB, free: 28.99 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.4981, allocations: 3.828 kB / 0.858 GB, free: 28.99 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002024/0.4984, allocations: 50.94 kB / 0.858 GB, free: 28.99 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 9.192e-05/0.4984, allocations: 127.3 kB / 0.8582 GB, free: 28.89 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003327/0.4988, allocations: 379.3 kB / 0.8585 GB, free: 28.67 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4988, allocations: 3.406 kB / 0.8585 GB, free: 28.67 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.4989, allocations: 168.6 kB / 0.8587 GB, free: 28.57 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.4992, allocations: 62.16 kB / 0.8587 GB, free: 28.57 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009517/0.5002, allocations: 0.7078 MB / 0.8594 GB, free: 28.26 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.144e-05/0.5002, allocations: 124 kB / 0.8596 GB, free: 28.18 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.663e-05/0.5003, allocations: 24.27 kB / 0.8596 GB, free: 28.17 MB / 490.8 MB Notification: Performance of SimCode: time 1.212e-06/0.5003, allocations: 0 / 0.8596 GB, free: 28.17 MB / 490.8 MB Notification: Performance of Templates: time 0.004534/0.5048, allocations: 2.948 MB / 0.8625 GB, free: 27.97 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide_Kerbusch2001v4_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide_Kerbusch2001v4_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide_Kerbusch2001v4_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide_Kerbusch2001v4_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide_Kerbusch2001v4_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide_Kerbusch2001v4_reference > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide_Kerbusch2001v4_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.8841963252052665]