Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_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.0007239/0.0007239, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001002/0.001726, allocations: 443.9 kB / 10.36 MB, free: 332 kB / 10.45 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.0007028/0.0007028, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009274/0.00163, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.025/1.025, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1085/1.134, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.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.7315/0.7315, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.034/0.7655, allocations: 21.05 MB / 0.5432 GB, free: 31.95 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.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.16e-05, allocations: 10.19 kB / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference): time 0.002579/0.002601, allocations: 2.936 MB / 0.5474 GB, free: 27.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004931/0.007531, allocations: 6.786 MB / 0.5541 GB, free: 20.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.007726, allocations: 0 / 0.5541 GB, free: 20.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.007826, allocations: 43.58 kB / 0.5541 GB, free: 20.76 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002234/0.00805, allocations: 119 kB / 0.5542 GB, free: 20.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.008256, allocations: 75.89 kB / 0.5543 GB, free: 20.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002884/0.008544, allocations: 393.9 kB / 0.5547 GB, free: 20.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.008689, allocations: 66.78 kB / 0.5547 GB, free: 20.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.008938, allocations: 242.5 kB / 0.555 GB, free: 19.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.009128, allocations: 127.6 kB / 0.5551 GB, free: 19.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.407e-05/0.009162, allocations: 24 kB / 0.5551 GB, free: 19.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.457e-05/0.009197, allocations: 28 kB / 0.5551 GB, free: 19.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.026e-05/0.009227, allocations: 39.81 kB / 0.5552 GB, free: 19.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.935e-05/0.009306, allocations: 95.8 kB / 0.5553 GB, free: 19.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.009517, allocations: 199.3 kB / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.274e-05/0.009529, allocations: 0 / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.009531, allocations: 3.938 kB / 0.5555 GB, free: 19.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.009543, allocations: 0 / 0.5555 GB, free: 19.37 MB / 410.7 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.0006709/0.01021, allocations: 0.6282 MB / 0.5561 GB, free: 18.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.01025, allocations: 15.89 kB / 0.5561 GB, free: 18.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.344e-05/0.0103, allocations: 36.91 kB / 0.5561 GB, free: 18.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.01047, allocations: 197.5 kB / 0.5563 GB, free: 18.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.01049, allocations: 16.75 kB / 0.5563 GB, free: 18.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.01052, allocations: 24.33 kB / 0.5563 GB, free: 18.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.01074, allocations: 244 kB / 0.5566 GB, free: 18.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.01075, allocations: 7.922 kB / 0.5566 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.01077, allocations: 11.98 kB / 0.5566 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.01077, allocations: 4 kB / 0.5566 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.01088, allocations: 134.6 kB / 0.5567 GB, free: 17.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005872/0.01147, allocations: 0.5114 MB / 0.5572 GB, free: 17.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.01166, allocations: 161.2 kB / 0.5574 GB, free: 17.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.444e-05/0.01171, allocations: 100.5 kB / 0.5575 GB, free: 17.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.01172, allocations: 7.938 kB / 0.5575 GB, free: 17.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001955/0.01192, allocations: 313.4 kB / 0.5578 GB, free: 16.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.134e-06/0.01192, allocations: 4 kB / 0.5578 GB, free: 16.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007842/0.0127, allocations: 0.8092 MB / 0.5586 GB, free: 15.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.01275, allocations: 281 kB / 0.5588 GB, free: 15.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.01286, allocations: 225 kB / 0.5591 GB, free: 15.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.01288, allocations: 37.7 kB / 0.5591 GB, free: 15.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.338e-05/0.01292, allocations: 137.3 kB / 0.5592 GB, free: 15.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.605e-05/0.01298, allocations: 119 kB / 0.5593 GB, free: 15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.726e-05/0.01305, allocations: 74.16 kB / 0.5594 GB, free: 14.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2972/0.3102, allocations: 344.6 kB / 0.5597 GB, free: 79.52 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.3104, allocations: 138.9 kB / 0.5599 GB, free: 79.41 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.81e-05/0.3105, allocations: 247.9 kB / 0.5601 GB, free: 79.19 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.3107, allocations: 347.1 kB / 0.5604 GB, free: 78.93 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3107, allocations: 1.438 kB / 0.5604 GB, free: 78.93 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003138/0.311, allocations: 385.6 kB / 0.5608 GB, free: 78.71 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.573e-05/0.3111, allocations: 93.08 kB / 0.5609 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.3111, allocations: 3.938 kB / 0.5609 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3111, allocations: 5.844 kB / 0.5609 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003011/0.3114, allocations: 107 kB / 0.561 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.3114, allocations: 9.625 kB / 0.561 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.3115, allocations: 22.05 kB / 0.561 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.3115, allocations: 14.47 kB / 0.5611 GB, free: 78.62 MB / 410.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.0001583/0.3117, allocations: 211.5 kB / 0.5613 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.463e-05/0.3117, allocations: 35.19 kB / 0.5613 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.036e-05/0.3118, allocations: 33.25 kB / 0.5613 GB, free: 78.43 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.3118, allocations: 4.453 kB / 0.5613 GB, free: 78.43 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3118, allocations: 0.5625 kB / 0.5613 GB, free: 78.43 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.505e-05/0.3118, allocations: 21.08 kB / 0.5613 GB, free: 78.43 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.3118, allocations: 12.58 kB / 0.5614 GB, free: 78.43 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.3119, allocations: 11.34 kB / 0.5614 GB, free: 78.43 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.61e-05/0.312, allocations: 15.61 kB / 0.5614 GB, free: 78.43 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/0.312, allocations: 26.3 kB / 0.5614 GB, free: 78.43 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003095/0.3123, allocations: 392.6 kB / 0.5618 GB, free: 78.2 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003475/0.3127, allocations: 0.6004 MB / 0.5624 GB, free: 77.79 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001066/0.3128, allocations: 135.7 kB / 0.5625 GB, free: 77.72 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.812e-05/0.3129, allocations: 80.64 kB / 0.5626 GB, free: 77.71 MB / 410.8 MB Notification: Performance of Backend: time 4.71e-07/0.3129, allocations: 0 / 0.5626 GB, free: 77.71 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003995/0.3133, allocations: 485.6 kB / 0.563 GB, free: 77.37 MB / 410.8 MB Notification: Performance of SimCode: time 0.007933/0.3212, allocations: 1.32 MB / 0.5643 GB, free: 76.44 MB / 410.8 MB Notification: Performance of Templates: time 0.009003/0.3302, allocations: 5.271 MB / 0.5695 GB, free: 75.44 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7534710224717855]