Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine_Serdjebi2017_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.001007/0.001007, allocations: 104.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.0009188/0.0009188, allocations: 215.5 kB / 23 MB, free: 2.961 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.034/1.034, 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.807/0.807, allocations: 312.3 MB / 0.6108 GB, free: 97.43 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.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine_Serdjebi2017_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine_Serdjebi2017_reference") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine_Serdjebi2017_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine_Serdjebi2017_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.001554/0.001554, allocations: 77.47 kB / 0.7699 GB, free: 20.15 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1512, allocations: 73.99 MB / 0.8421 GB, free: 10.3 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine_Serdjebi2017_reference): time 0.00309/0.1543, allocations: 2.693 MB / 0.8448 GB, free: 7.605 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006001/0.1603, allocations: 6.61 MB / 0.8512 GB, free: 0.9961 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1604, allocations: 4 kB / 0.8512 GB, free: 0.9922 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.1605, allocations: 40.2 kB / 0.8513 GB, free: 0.9531 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000233/0.1608, allocations: 120.1 kB / 0.8514 GB, free: 0.8359 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.161, allocations: 72.44 kB / 0.8514 GB, free: 0.7656 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003055/0.1613, allocations: 378.7 kB / 0.8518 GB, free: 404 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.1615, allocations: 57.61 kB / 0.8519 GB, free: 348 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.1616, allocations: 131.5 kB / 0.852 GB, free: 216 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.1618, allocations: 144 kB / 0.8521 GB, free: 72 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.1619, allocations: 24.53 kB / 0.8521 GB, free: 48 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.405e-05/0.1619, allocations: 24 kB / 0.8522 GB, free: 24 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.707e-05/0.162, allocations: 64.5 kB / 0.8522 GB, free: 15.96 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.1621, allocations: 131.9 kB / 0.8524 GB, free: 15.83 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.1623, allocations: 286.8 kB / 0.8526 GB, free: 15.55 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1623, allocations: 0.625 kB / 0.8526 GB, free: 15.55 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1623, allocations: 0.5312 kB / 0.8526 GB, free: 15.55 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.1623, allocations: 0 / 0.8526 GB, free: 15.55 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0008564/0.1632, allocations: 0.602 MB / 0.8532 GB, free: 14.89 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.1632, allocations: 12.66 kB / 0.8532 GB, free: 14.88 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.45e-05/0.1633, allocations: 33.25 kB / 0.8533 GB, free: 14.85 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.1636, allocations: 209.1 kB / 0.8535 GB, free: 14.62 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.1636, allocations: 13.38 kB / 0.8535 GB, free: 14.61 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.278e-05/0.1636, allocations: 32.5 kB / 0.8535 GB, free: 14.57 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.164, allocations: 292.5 kB / 0.8538 GB, free: 14.27 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.164, allocations: 3.953 kB / 0.8538 GB, free: 14.27 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.164, allocations: 8.719 kB / 0.8538 GB, free: 14.26 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.164, allocations: 4 kB / 0.8538 GB, free: 14.25 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000285/0.1643, allocations: 233.7 kB / 0.854 GB, free: 14.02 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008616/0.1652, allocations: 0.6734 MB / 0.8547 GB, free: 13.3 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004081/0.1656, allocations: 238.5 kB / 0.8549 GB, free: 13.05 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.1657, allocations: 149.1 kB / 0.8551 GB, free: 12.89 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.1657, allocations: 8.5 kB / 0.8551 GB, free: 12.88 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003358/0.1661, allocations: 354.4 kB / 0.8554 GB, free: 12.48 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.643e-06/0.1661, allocations: 4.531 kB / 0.8554 GB, free: 12.48 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.3519/0.518, allocations: 1.075 MB / 0.8565 GB, free: 30.52 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.518, allocations: 221 kB / 0.8567 GB, free: 30.27 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.5182, allocations: 250.3 kB / 0.8569 GB, free: 30.16 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.5182, allocations: 36.33 kB / 0.8569 GB, free: 30.13 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.19e-05/0.5183, allocations: 156 kB / 0.8571 GB, free: 30.04 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.599e-05/0.5184, allocations: 119.6 kB / 0.8572 GB, free: 29.97 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.832e-05/0.5185, allocations: 70.42 kB / 0.8573 GB, free: 29.95 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.562e-05/0.5185, allocations: 344.6 kB / 0.8576 GB, free: 29.64 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.5187, allocations: 209 kB / 0.8578 GB, free: 29.54 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.5189, allocations: 316.9 kB / 0.8581 GB, free: 29.31 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003264/0.5192, allocations: 442.4 kB / 0.8585 GB, free: 29.05 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.5192, allocations: 0 / 0.8585 GB, free: 29.05 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004864/0.5197, allocations: 0.5525 MB / 0.8591 GB, free: 28.8 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.212e-05/0.5198, allocations: 87.52 kB / 0.8591 GB, free: 28.71 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.5198, allocations: 3.125 kB / 0.8591 GB, free: 28.71 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.5198, allocations: 4.312 kB / 0.8591 GB, free: 28.71 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.52, allocations: 83.44 kB / 0.8592 GB, free: 28.7 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.52, allocations: 9.797 kB / 0.8592 GB, free: 28.7 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.5201, allocations: 20.48 kB / 0.8593 GB, free: 28.7 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.5201, allocations: 18.03 kB / 0.8593 GB, free: 28.7 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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 3 * 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.0001943/0.5203, allocations: 228.9 kB / 0.8595 GB, free: 28.51 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.5204, allocations: 33.14 kB / 0.8595 GB, free: 28.49 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.534e-05/0.5204, allocations: 32.41 kB / 0.8596 GB, free: 28.48 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.5204, allocations: 6.156 kB / 0.8596 GB, free: 28.48 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.5204, allocations: 0 / 0.8596 GB, free: 28.48 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.5204, allocations: 6.344 kB / 0.8596 GB, free: 28.48 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007117/0.5211, allocations: 0.7577 MB / 0.8603 GB, free: 28.12 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5211, allocations: 3.062 kB / 0.8603 GB, free: 28.12 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.5213, allocations: 52.81 kB / 0.8604 GB, free: 28.12 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.5213, allocations: 3.469 kB / 0.8604 GB, free: 28.12 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.5213, allocations: 8.391 kB / 0.8604 GB, free: 28.12 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.5213, allocations: 0.5938 kB / 0.8604 GB, free: 28.12 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5213, allocations: 3.375 kB / 0.8604 GB, free: 28.12 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000592/0.5219, allocations: 0.7326 MB / 0.8611 GB, free: 27.76 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.522, allocations: 25.44 kB / 0.8611 GB, free: 27.75 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.522, allocations: 10.5 kB / 0.8611 GB, free: 27.75 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.5221, allocations: 20.75 kB / 0.8611 GB, free: 27.75 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.789e-05/0.5222, allocations: 28.83 kB / 0.8612 GB, free: 27.75 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.5222, allocations: 11.56 kB / 0.8612 GB, free: 27.75 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001177/0.5223, allocations: 179.5 kB / 0.8614 GB, free: 27.66 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.5223, allocations: 0 / 0.8614 GB, free: 27.66 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002184/0.5225, allocations: 92.19 kB / 0.8614 GB, free: 27.66 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0001089/0.5226, allocations: 130.3 kB / 0.8616 GB, free: 27.57 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004732/0.5231, allocations: 0.5646 MB / 0.8621 GB, free: 27.21 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5231, allocations: 1.844 kB / 0.8621 GB, free: 27.21 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.5233, allocations: 300.5 kB / 0.8624 GB, free: 27.02 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.5237, allocations: 84.55 kB / 0.8625 GB, free: 27.02 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.5249, allocations: 0.9674 MB / 0.8634 GB, free: 26.55 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.525, allocations: 159.3 kB / 0.8636 GB, free: 26.46 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.688e-05/0.5251, allocations: 28.27 kB / 0.8636 GB, free: 26.46 MB / 490.8 MB Notification: Performance of SimCode: time 1.082e-06/0.5251, allocations: 0 / 0.8636 GB, free: 26.46 MB / 490.8 MB Notification: Performance of Templates: time 0.006044/0.5311, allocations: 4.014 MB / 0.8675 GB, free: 26.1 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine_Serdjebi2017_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine_Serdjebi2017_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine_Serdjebi2017_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine_Serdjebi2017_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine_Serdjebi2017_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine_Serdjebi2017_reference > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine_Serdjebi2017_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.017561074346304]