Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed_Blair2004_total_cohort.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.002322/0.002322, allocations: 109.5 kB / 18.95 MB, free: 1.18 MB / 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.002739/0.002739, allocations: 219.6 kB / 22.25 MB, free: 3.578 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.716/1.716, allocations: 230.6 MB / 256 MB, free: 9.637 MB / 202.7 MB " [Timeout remaining time 178] 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 1.39/1.39, allocations: 316.7 MB / 0.6144 GB, free: 93.38 MB / 410.7 MB " [Timeout remaining time 178] 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.L01BA03_Raltitrexed.Raltitrexed_Blair2004_total_cohort,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed_Blair2004_total_cohort") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed_Blair2004_total_cohort,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed_Blair2004_total_cohort") [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.003769/0.003769, allocations: 74.17 kB / 0.775 GB, free: 15.02 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1692, allocations: 73.99 MB / 0.8472 GB, free: 5.16 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed_Blair2004_total_cohort): time 0.004136/0.1734, allocations: 2.303 MB / 0.8495 GB, free: 2.859 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3127/0.486, allocations: 6.516 MB / 0.8558 GB, free: 21.57 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002654/0.4863, allocations: 0 / 0.8558 GB, free: 21.57 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00016/0.4865, allocations: 26.25 kB / 0.8558 GB, free: 21.57 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.4867, allocations: 83.05 kB / 0.8559 GB, free: 21.57 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.487, allocations: 55.44 kB / 0.856 GB, free: 21.57 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002615/0.4872, allocations: 255.1 kB / 0.8562 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.4874, allocations: 38.23 kB / 0.8563 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.4875, allocations: 97.2 kB / 0.8564 GB, free: 21.53 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.4877, allocations: 97.38 kB / 0.8564 GB, free: 21.5 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.388e-05/0.4877, allocations: 17.75 kB / 0.8565 GB, free: 21.5 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.147e-05/0.4878, allocations: 18.16 kB / 0.8565 GB, free: 21.5 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.833e-05/0.4878, allocations: 38.97 kB / 0.8565 GB, free: 21.49 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.349e-05/0.4879, allocations: 98.14 kB / 0.8566 GB, free: 21.46 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.4881, allocations: 197.7 kB / 0.8568 GB, free: 21.43 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4881, allocations: 0.5625 kB / 0.8568 GB, free: 21.43 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4881, allocations: 2.5 kB / 0.8568 GB, free: 21.43 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.4882, allocations: 0 / 0.8568 GB, free: 21.43 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007805/0.4889, allocations: 497.1 kB / 0.8573 GB, free: 21.04 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.489, allocations: 10.19 kB / 0.8573 GB, free: 21.04 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.481e-05/0.489, allocations: 26.38 kB / 0.8573 GB, free: 21.02 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.4893, allocations: 183.4 kB / 0.8575 GB, free: 20.87 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.4893, allocations: 11.08 kB / 0.8575 GB, free: 20.87 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.301e-05/0.4893, allocations: 24.14 kB / 0.8575 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.4897, allocations: 186.2 kB / 0.8577 GB, free: 20.78 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.4897, allocations: 7.656 kB / 0.8577 GB, free: 20.78 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.4897, allocations: 8.156 kB / 0.8577 GB, free: 20.78 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4897, allocations: 0.9375 kB / 0.8577 GB, free: 20.78 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003064/0.49, allocations: 144.6 kB / 0.8579 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006656/0.4907, allocations: 481.5 kB / 0.8583 GB, free: 20.45 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004704/0.4911, allocations: 179.6 kB / 0.8585 GB, free: 20.39 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.4913, allocations: 94.58 kB / 0.8586 GB, free: 20.35 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.4913, allocations: 4.375 kB / 0.8586 GB, free: 20.35 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002933/0.4916, allocations: 222.2 kB / 0.8588 GB, free: 20.21 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.452e-06/0.4916, allocations: 0.625 kB / 0.8588 GB, free: 20.21 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001308/0.4929, allocations: 0.7046 MB / 0.8595 GB, free: 19.85 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.493, allocations: 141.1 kB / 0.8596 GB, free: 19.69 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.4932, allocations: 214.8 kB / 0.8598 GB, free: 19.59 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.4932, allocations: 32.83 kB / 0.8598 GB, free: 19.55 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.462e-05/0.4932, allocations: 130.7 kB / 0.86 GB, free: 19.46 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.4933, allocations: 75.73 kB / 0.86 GB, free: 19.42 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.108e-05/0.4933, allocations: 53.53 kB / 0.8601 GB, free: 19.4 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.351e-05/0.4934, allocations: 337.3 kB / 0.8604 GB, free: 19.08 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.4936, allocations: 149 kB / 0.8606 GB, free: 19 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.4938, allocations: 222.2 kB / 0.8608 GB, free: 18.84 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003572/0.4942, allocations: 281.2 kB / 0.861 GB, free: 18.68 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4942, allocations: 2.031 kB / 0.861 GB, free: 18.68 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000507/0.4947, allocations: 387 kB / 0.8614 GB, free: 18.5 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/0.4947, allocations: 61.83 kB / 0.8615 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.4947, allocations: 5.969 kB / 0.8615 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.4947, allocations: 8.156 kB / 0.8615 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.4949, allocations: 50.47 kB / 0.8615 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.495, allocations: 10.44 kB / 0.8615 GB, free: 18.42 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.4951, allocations: 21.2 kB / 0.8616 GB, free: 18.42 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.4952, allocations: 12.5 kB / 0.8616 GB, free: 18.42 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.0001523/0.4953, allocations: 176.7 kB / 0.8617 GB, free: 18.27 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.4953, allocations: 21.58 kB / 0.8618 GB, free: 18.26 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.255e-05/0.4954, allocations: 29.48 kB / 0.8618 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4954, allocations: 3 kB / 0.8618 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4954, allocations: 0.625 kB / 0.8618 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-06/0.4954, allocations: 3.938 kB / 0.8618 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006906/0.4961, allocations: 0.54 MB / 0.8623 GB, free: 17.94 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4961, allocations: 0 / 0.8623 GB, free: 17.94 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.4963, allocations: 38.25 kB / 0.8624 GB, free: 17.94 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4963, allocations: 1.938 kB / 0.8624 GB, free: 17.94 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.4963, allocations: 7.328 kB / 0.8624 GB, free: 17.94 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.4963, allocations: 7.281 kB / 0.8624 GB, free: 17.93 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4963, allocations: 0 / 0.8624 GB, free: 17.93 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006593/0.497, allocations: 0.493 MB / 0.8629 GB, free: 17.69 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/0.497, allocations: 24.92 kB / 0.8629 GB, free: 17.68 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.497, allocations: 3.812 kB / 0.8629 GB, free: 17.68 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.4972, allocations: 19.41 kB / 0.8629 GB, free: 17.67 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.253e-05/0.4973, allocations: 24.45 kB / 0.8629 GB, free: 17.67 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.4973, allocations: 9.109 kB / 0.8629 GB, free: 17.67 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001098/0.4974, allocations: 155.7 kB / 0.8631 GB, free: 17.59 MB / 490.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4974, allocations: 0 / 0.8631 GB, free: 17.59 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002813/0.4977, allocations: 56.53 kB / 0.8631 GB, free: 17.59 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.35e-05/0.4978, allocations: 111.7 kB / 0.8632 GB, free: 17.5 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005409/0.4983, allocations: 383.1 kB / 0.8636 GB, free: 17.27 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4983, allocations: 0 / 0.8636 GB, free: 17.27 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.4985, allocations: 173.9 kB / 0.8638 GB, free: 17.18 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.499, allocations: 65.86 kB / 0.8638 GB, free: 17.17 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.5001, allocations: 0.6888 MB / 0.8645 GB, free: 16.86 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.5002, allocations: 127.5 kB / 0.8646 GB, free: 16.78 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.5003, allocations: 19.89 kB / 0.8647 GB, free: 16.78 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.234e-05/0.5004, allocations: 21.62 kB / 0.8647 GB, free: 16.77 MB / 490.8 MB Notification: Performance of SimCode: time 3.9e-07/0.5004, allocations: 4 kB / 0.8647 GB, free: 16.77 MB / 490.8 MB Notification: Performance of Templates: time 0.008113/0.5085, allocations: 3.646 MB / 0.8682 GB, free: 16.45 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed_Blair2004_total_cohort.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed_Blair2004_total_cohort.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed_Blair2004_total_cohort.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed_Blair2004_total_cohort.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed_Blair2004_total_cohort.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed_Blair2004_total_cohort -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed_Blair2004_total_cohort.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.6315574089530855]