Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Levin1978_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.001016/0.001016, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001389/0.002404, allocations: 443.8 kB / 10.3 MB, free: 400 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.001127/0.001127, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001394/0.002522, allocations: 463.6 kB / 11.64 MB, free: 2.527 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 0.9388/0.9388, allocations: 177.2 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0814/1.02, allocations: 53.65 MB / 243.2 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.7875/0.7875, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03616/0.8237, allocations: 21.04 MB / 0.5431 GB, free: 31.96 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.L01AD01_Carmustine.Carmustine_Levin1978_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Levin1978_reference") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Levin1978_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Levin1978_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.123e-06/1.123e-06, allocations: 0 / 0.5444 GB, free: 30.64 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/1.966e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.63 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Levin1978_reference): time 0.002157/0.002177, allocations: 2.485 MB / 0.5468 GB, free: 28.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004283/0.00646, allocations: 6.684 MB / 0.5534 GB, free: 21.44 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.006578, allocations: 0 / 0.5534 GB, free: 21.44 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.965e-05/0.006647, allocations: 27.72 kB / 0.5534 GB, free: 21.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.006807, allocations: 87.27 kB / 0.5535 GB, free: 21.33 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.006966, allocations: 55.8 kB / 0.5535 GB, free: 21.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.007177, allocations: 266.6 kB / 0.5538 GB, free: 21.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.007279, allocations: 38.53 kB / 0.5538 GB, free: 20.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.007457, allocations: 184.1 kB / 0.554 GB, free: 20.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.007603, allocations: 83.78 kB / 0.5541 GB, free: 20.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.00763, allocations: 19.94 kB / 0.5541 GB, free: 20.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.938e-05/0.00766, allocations: 16 kB / 0.5541 GB, free: 20.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.664e-05/0.007686, allocations: 23.94 kB / 0.5541 GB, free: 20.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.708e-05/0.007743, allocations: 63.88 kB / 0.5542 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.007897, allocations: 139.5 kB / 0.5543 GB, free: 20.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.187e-05/0.007909, allocations: 0 / 0.5543 GB, free: 20.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.007909, allocations: 4 kB / 0.5543 GB, free: 20.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.00792, allocations: 0 / 0.5543 GB, free: 20.45 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005525/0.008472, allocations: 0.4976 MB / 0.5548 GB, free: 19.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.008502, allocations: 11.89 kB / 0.5548 GB, free: 19.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.58e-05/0.008548, allocations: 32.8 kB / 0.5549 GB, free: 19.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.00871, allocations: 171.1 kB / 0.555 GB, free: 19.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.008731, allocations: 8.609 kB / 0.555 GB, free: 19.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.008752, allocations: 16.38 kB / 0.555 GB, free: 19.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.008914, allocations: 167.4 kB / 0.5552 GB, free: 19.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.008925, allocations: 0 / 0.5552 GB, free: 19.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.008935, allocations: 0 / 0.5552 GB, free: 19.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.00894, allocations: 4 kB / 0.5552 GB, free: 19.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.591e-05/0.009016, allocations: 80.69 kB / 0.5553 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/0.009394, allocations: 364.9 kB / 0.5556 GB, free: 19.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.009561, allocations: 112.2 kB / 0.5557 GB, free: 18.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.839e-05/0.009599, allocations: 58.55 kB / 0.5558 GB, free: 18.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.589e-06/0.009609, allocations: 4 kB / 0.5558 GB, free: 18.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000128/0.009737, allocations: 196.4 kB / 0.556 GB, free: 18.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.009738, allocations: 0 / 0.556 GB, free: 18.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005118/0.01025, allocations: 0.5003 MB / 0.5565 GB, free: 18.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.01028, allocations: 140.5 kB / 0.5566 GB, free: 17.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.399e-05/0.01037, allocations: 214.1 kB / 0.5568 GB, free: 17.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.01038, allocations: 25.7 kB / 0.5568 GB, free: 17.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.003e-05/0.01041, allocations: 124.4 kB / 0.557 GB, free: 17.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.01044, allocations: 67.42 kB / 0.557 GB, free: 17.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.01048, allocations: 59.16 kB / 0.5571 GB, free: 17.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.634e-05/0.01052, allocations: 334.8 kB / 0.5574 GB, free: 17.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.199e-05/0.01058, allocations: 97 kB / 0.5575 GB, free: 16.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.977e-05/0.01064, allocations: 177.3 kB / 0.5577 GB, free: 16.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.01074, allocations: 211.8 kB / 0.5579 GB, free: 16.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.01074, allocations: 0 / 0.5579 GB, free: 16.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001513/0.0109, allocations: 265.9 kB / 0.5581 GB, free: 16.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.01092, allocations: 63.39 kB / 0.5582 GB, free: 16.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01093, allocations: 4.219 kB / 0.5582 GB, free: 16.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/0.01094, allocations: 4 kB / 0.5582 GB, free: 16.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.01109, allocations: 69.86 kB / 0.5582 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.596e-06/0.0111, allocations: 4 kB / 0.5583 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.946e-05/0.01118, allocations: 15.94 kB / 0.5583 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.01119, allocations: 11.98 kB / 0.5583 GB, free: 15.97 MB / 410.7 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 9.638e-05/0.01128, allocations: 167.7 kB / 0.5584 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.01131, allocations: 27.97 kB / 0.5585 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.01133, allocations: 17.97 kB / 0.5585 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.01134, allocations: 0 / 0.5585 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.01134, allocations: 3.984 kB / 0.5585 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01134, allocations: 4 kB / 0.5585 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000296/0.01164, allocations: 377 kB / 0.5588 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.01164, allocations: 3.938 kB / 0.5589 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.01177, allocations: 39.97 kB / 0.5589 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.098e-05/0.01179, allocations: 19.8 kB / 0.5589 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.01179, allocations: 11.98 kB / 0.5589 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.0118, allocations: 4 kB / 0.5589 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.0118, allocations: 4 kB / 0.5589 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.01181, allocations: 0 / 0.5589 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.01198, allocations: 341 kB / 0.5593 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.012, allocations: 11.69 kB / 0.5593 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.397e-05/0.01208, allocations: 15.98 kB / 0.5593 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.01212, allocations: 19.95 kB / 0.5593 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.01213, allocations: 7.938 kB / 0.5593 GB, free: 14.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.064e-05/0.01217, allocations: 73.89 kB / 0.5594 GB, free: 14.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01217, allocations: 0 / 0.5594 GB, free: 14.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.2639/0.2761, allocations: 50.83 kB / 0.5594 GB, free: 79.63 MB / 410.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.0001214/0.2762, allocations: 94.52 kB / 0.5595 GB, free: 79.56 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002868/0.2765, allocations: 306.7 kB / 0.5598 GB, free: 79.34 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.2765, allocations: 3 kB / 0.5598 GB, free: 79.34 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.945e-05/0.2766, allocations: 143.4 kB / 0.5599 GB, free: 79.23 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.2769, allocations: 88.25 kB / 0.56 GB, free: 79.23 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007563/0.2845, allocations: 0.5791 MB / 0.5606 GB, free: 78.94 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.695e-05/0.2846, allocations: 124.8 kB / 0.5607 GB, free: 78.87 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.2848, allocations: 123.4 kB / 0.5608 GB, free: 78.83 MB / 410.8 MB Notification: Performance of SimCode: time 6.41e-07/0.2848, allocations: 0.7188 kB / 0.5608 GB, free: 78.83 MB / 410.8 MB Notification: Performance of Templates: time 0.00405/0.2888, allocations: 2.923 MB / 0.5637 GB, free: 78.79 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Levin1978_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Levin1978_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Levin1978_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Levin1978_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Levin1978_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Levin1978_reference > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Levin1978_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.256583286449313]