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.002469/0.002469, allocations: 105.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.002964/0.002964, allocations: 215.6 kB / 22.25 MB, free: 3.574 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.752/1.752, allocations: 230.6 MB / 256 MB, free: 9.594 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.449/1.449, allocations: 316.7 MB / 0.6144 GB, free: 92.94 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.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: 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.003962/0.003962, allocations: 73.64 kB / 0.775 GB, free: 14.77 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1638, allocations: 73.99 MB / 0.8472 GB, free: 4.922 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Levin1978_reference): time 0.004151/0.168, allocations: 2.293 MB / 0.8495 GB, free: 2.633 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3417/0.5097, allocations: 6.528 MB / 0.8558 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002718/0.5099, allocations: 4.391 kB / 0.8558 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001916/0.5101, allocations: 26.89 kB / 0.8559 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003685/0.5105, allocations: 79.08 kB / 0.8559 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.5108, allocations: 52.95 kB / 0.856 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004023/0.5112, allocations: 262.5 kB / 0.8562 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.5114, allocations: 32.84 kB / 0.8563 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002136/0.5116, allocations: 96.38 kB / 0.8564 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.5118, allocations: 101.2 kB / 0.8565 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.646e-05/0.5119, allocations: 17.19 kB / 0.8565 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.894e-05/0.5119, allocations: 19.12 kB / 0.8565 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.326e-05/0.512, allocations: 40.95 kB / 0.8565 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.926e-05/0.5121, allocations: 93.31 kB / 0.8566 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.5123, allocations: 193.2 kB / 0.8568 GB, free: 21.79 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.5123, allocations: 1.125 kB / 0.8568 GB, free: 21.79 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5123, allocations: 0 / 0.8568 GB, free: 21.79 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.5123, allocations: 0 / 0.8568 GB, free: 21.79 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.0007935/0.5131, allocations: 0.4904 MB / 0.8573 GB, free: 21.38 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.5132, allocations: 9.906 kB / 0.8573 GB, free: 21.38 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.782e-05/0.5132, allocations: 26.95 kB / 0.8573 GB, free: 21.37 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.5134, allocations: 187.5 kB / 0.8575 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.5135, allocations: 11.42 kB / 0.8575 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.994e-05/0.5135, allocations: 21.95 kB / 0.8575 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003511/0.5138, allocations: 185.8 kB / 0.8577 GB, free: 21.13 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.5139, allocations: 2.609 kB / 0.8577 GB, free: 21.13 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.5139, allocations: 7.688 kB / 0.8577 GB, free: 21.13 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.5139, allocations: 3 kB / 0.8577 GB, free: 21.13 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003221/0.5142, allocations: 148.1 kB / 0.8579 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006816/0.5149, allocations: 481.8 kB / 0.8583 GB, free: 20.8 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004473/0.5153, allocations: 172.1 kB / 0.8585 GB, free: 20.74 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.5155, allocations: 93.8 kB / 0.8586 GB, free: 20.7 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.5155, allocations: 5.969 kB / 0.8586 GB, free: 20.7 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002925/0.5158, allocations: 224.9 kB / 0.8588 GB, free: 20.55 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.5158, allocations: 3.188 kB / 0.8588 GB, free: 20.55 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001324/0.5171, allocations: 0.6987 MB / 0.8595 GB, free: 20.2 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.5172, allocations: 138 kB / 0.8596 GB, free: 20.04 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.5174, allocations: 215.6 kB / 0.8598 GB, free: 19.94 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.5174, allocations: 32.48 kB / 0.8598 GB, free: 19.91 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.706e-05/0.5175, allocations: 136.3 kB / 0.86 GB, free: 19.81 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.248e-05/0.5175, allocations: 72.17 kB / 0.86 GB, free: 19.77 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.098e-05/0.5176, allocations: 54.38 kB / 0.8601 GB, free: 19.75 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.335e-05/0.5176, allocations: 341.5 kB / 0.8604 GB, free: 19.43 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.5178, allocations: 143.2 kB / 0.8606 GB, free: 19.36 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.518, allocations: 225.8 kB / 0.8608 GB, free: 19.19 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.5184, allocations: 284.3 kB / 0.861 GB, free: 19.02 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5184, allocations: 0.625 kB / 0.861 GB, free: 19.02 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005133/0.5189, allocations: 386.1 kB / 0.8614 GB, free: 18.84 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/0.5189, allocations: 63.91 kB / 0.8615 GB, free: 18.78 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5189, allocations: 4.5 kB / 0.8615 GB, free: 18.78 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.519, allocations: 4.625 kB / 0.8615 GB, free: 18.78 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.5192, allocations: 50.52 kB / 0.8615 GB, free: 18.77 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.5192, allocations: 5.5 kB / 0.8615 GB, free: 18.77 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.5193, allocations: 19.62 kB / 0.8616 GB, free: 18.77 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.5194, allocations: 7.781 kB / 0.8616 GB, free: 18.77 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.0001561/0.5195, allocations: 177.2 kB / 0.8617 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.5196, allocations: 27.72 kB / 0.8618 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.249e-05/0.5196, allocations: 26.25 kB / 0.8618 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.5196, allocations: 7.531 kB / 0.8618 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.5196, allocations: 1.219 kB / 0.8618 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.5196, allocations: 1.5 kB / 0.8618 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006223/0.5202, allocations: 0.5371 MB / 0.8623 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.5202, allocations: 1.031 kB / 0.8623 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.5204, allocations: 43.91 kB / 0.8624 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.5204, allocations: 0.5938 kB / 0.8624 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.5204, allocations: 3.281 kB / 0.8624 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.5205, allocations: 5.25 kB / 0.8624 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5205, allocations: 1.031 kB / 0.8624 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006333/0.5211, allocations: 497.8 kB / 0.8628 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.5211, allocations: 26.17 kB / 0.8629 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/0.5212, allocations: 10.03 kB / 0.8629 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.5213, allocations: 15.22 kB / 0.8629 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.221e-05/0.5214, allocations: 28.39 kB / 0.8629 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.5214, allocations: 9.578 kB / 0.8629 GB, free: 18.02 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001116/0.5215, allocations: 164.1 kB / 0.8631 GB, free: 17.94 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.5215, allocations: 0 / 0.8631 GB, free: 17.94 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002799/0.5218, allocations: 52.31 kB / 0.8631 GB, free: 17.94 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 0.0001013/0.5219, allocations: 116.6 kB / 0.8632 GB, free: 17.85 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005109/0.5224, allocations: 381.4 kB / 0.8636 GB, free: 17.62 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5224, allocations: 0 / 0.8636 GB, free: 17.62 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.5226, allocations: 172.5 kB / 0.8638 GB, free: 17.52 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.5231, allocations: 65.41 kB / 0.8638 GB, free: 17.52 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.5243, allocations: 0.6797 MB / 0.8645 GB, free: 17.2 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.5244, allocations: 127.6 kB / 0.8646 GB, free: 17.12 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001006/0.5245, allocations: 25.61 kB / 0.8646 GB, free: 17.12 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.476e-05/0.5245, allocations: 24.3 kB / 0.8647 GB, free: 17.11 MB / 490.8 MB Notification: Performance of SimCode: time 3.81e-07/0.5245, allocations: 0 / 0.8647 GB, free: 17.11 MB / 490.8 MB Notification: Performance of Templates: time 0.008234/0.5328, allocations: 3.65 MB / 0.8682 GB, free: 16.79 MB / 490.8 MB " [Timeout remaining time 659] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Levin1978_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.506437733070925]