Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine.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.001385/0.001385, allocations: 104.3 kB / 19.71 MB, free: 440 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.001742/0.001742, allocations: 221.3 kB / 23.01 MB, free: 2.941 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.172/1.172, allocations: 230.6 MB / 256.8 MB, free: 9.605 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.8095/0.8095, allocations: 312.3 MB / 0.6108 GB, free: 97.16 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine") [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.001729/0.001729, allocations: 81.59 kB / 0.7699 GB, free: 19.62 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1691, allocations: 73.99 MB / 0.8421 GB, free: 9.773 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine): time 0.003374/0.1724, allocations: 2.298 MB / 0.8444 GB, free: 7.477 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.007558/0.18, allocations: 6.533 MB / 0.8508 GB, free: 0.9414 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002464/0.1802, allocations: 0.5312 kB / 0.8508 GB, free: 0.9414 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.1804, allocations: 23.72 kB / 0.8508 GB, free: 0.918 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003378/0.1808, allocations: 80.47 kB / 0.8509 GB, free: 0.8398 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.1811, allocations: 56.58 kB / 0.8509 GB, free: 0.7852 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003809/0.1815, allocations: 255.4 kB / 0.8512 GB, free: 0.5352 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.1817, allocations: 32.58 kB / 0.8512 GB, free: 0.5039 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.1819, allocations: 96.27 kB / 0.8513 GB, free: 420 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.1821, allocations: 104.1 kB / 0.8514 GB, free: 316 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.638e-05/0.1822, allocations: 20 kB / 0.8514 GB, free: 296 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.49e-05/0.1822, allocations: 16.59 kB / 0.8514 GB, free: 280 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.89e-05/0.1823, allocations: 40.44 kB / 0.8515 GB, free: 240 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.1824, allocations: 91.59 kB / 0.8516 GB, free: 148 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.1828, allocations: 195.7 kB / 0.8517 GB, free: 15.95 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.1828, allocations: 4.625 kB / 0.8517 GB, free: 15.95 MB / 490.8 MB Notification: Performance of FrontEnd: time 4.037e-06/0.1828, allocations: 0 / 0.8517 GB, free: 15.95 MB / 490.8 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.1828, allocations: 0.5 kB / 0.8517 GB, free: 15.95 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.001203/0.184, allocations: 0.4943 MB / 0.8522 GB, free: 15.41 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.061e-05/0.184, allocations: 8.75 kB / 0.8522 GB, free: 15.4 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.117e-05/0.1841, allocations: 24.8 kB / 0.8523 GB, free: 15.38 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.1844, allocations: 179.8 kB / 0.8524 GB, free: 15.18 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.1844, allocations: 16.55 kB / 0.8524 GB, free: 15.16 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.318e-05/0.1845, allocations: 20.61 kB / 0.8525 GB, free: 15.14 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003605/0.1848, allocations: 194.9 kB / 0.8527 GB, free: 14.93 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.1849, allocations: 4.5 kB / 0.8527 GB, free: 14.93 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.1849, allocations: 3.984 kB / 0.8527 GB, free: 14.93 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.1849, allocations: 4.625 kB / 0.8527 GB, free: 14.92 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002329/0.1851, allocations: 143.3 kB / 0.8528 GB, free: 14.78 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007448/0.1859, allocations: 482.5 kB / 0.8533 GB, free: 14.27 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004364/0.1863, allocations: 180.3 kB / 0.8534 GB, free: 14.09 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.1864, allocations: 99.11 kB / 0.8535 GB, free: 13.98 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.1864, allocations: 4.719 kB / 0.8535 GB, free: 13.98 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003049/0.1867, allocations: 223.4 kB / 0.8537 GB, free: 13.73 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 5.411e-06/0.1867, allocations: 0.5938 kB / 0.8537 GB, free: 13.73 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001206/0.1879, allocations: 0.6975 MB / 0.8544 GB, free: 12.97 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.336e-05/0.188, allocations: 145 kB / 0.8546 GB, free: 12.8 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.1882, allocations: 219.5 kB / 0.8548 GB, free: 12.58 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.1882, allocations: 37.69 kB / 0.8548 GB, free: 12.54 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.295e-05/0.1883, allocations: 129 kB / 0.8549 GB, free: 12.41 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/0.1884, allocations: 68.08 kB / 0.855 GB, free: 12.34 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.211e-05/0.1885, allocations: 57.66 kB / 0.8551 GB, free: 12.28 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1886, allocations: 343.3 kB / 0.8554 GB, free: 11.93 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3776/0.5661, allocations: 142.2 kB / 0.8555 GB, free: 30.23 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.5663, allocations: 222.2 kB / 0.8557 GB, free: 30.06 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.5666, allocations: 282.6 kB / 0.856 GB, free: 29.91 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.5666, allocations: 2.188 kB / 0.856 GB, free: 29.91 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005/0.5671, allocations: 387.4 kB / 0.8564 GB, free: 29.75 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.954e-05/0.5672, allocations: 63.31 kB / 0.8564 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.5672, allocations: 2.156 kB / 0.8564 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.053e-05/0.5672, allocations: 3.688 kB / 0.8564 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.5674, allocations: 52.94 kB / 0.8565 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.5674, allocations: 10.05 kB / 0.8565 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.5675, allocations: 14.55 kB / 0.8565 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.5676, allocations: 12.47 kB / 0.8565 GB, free: 29.68 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.0002357/0.5678, allocations: 181.2 kB / 0.8567 GB, free: 29.54 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.5678, allocations: 26.62 kB / 0.8567 GB, free: 29.54 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.401e-05/0.5679, allocations: 24.45 kB / 0.8567 GB, free: 29.53 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.5679, allocations: 5.469 kB / 0.8567 GB, free: 29.53 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.5679, allocations: 0 / 0.8567 GB, free: 29.53 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.5679, allocations: 0.5 kB / 0.8567 GB, free: 29.53 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006275/0.5685, allocations: 0.5379 MB / 0.8573 GB, free: 29.23 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5685, allocations: 2.344 kB / 0.8573 GB, free: 29.23 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.5687, allocations: 38.08 kB / 0.8573 GB, free: 29.23 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.5687, allocations: 0.5938 kB / 0.8573 GB, free: 29.23 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.5687, allocations: 4.656 kB / 0.8573 GB, free: 29.23 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.5687, allocations: 3.938 kB / 0.8573 GB, free: 29.23 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5687, allocations: 0.5 kB / 0.8573 GB, free: 29.23 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005276/0.5692, allocations: 0.49 MB / 0.8578 GB, free: 29 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.645e-05/0.5693, allocations: 22.34 kB / 0.8578 GB, free: 29 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.5693, allocations: 7.875 kB / 0.8578 GB, free: 29 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.548e-05/0.5694, allocations: 15.73 kB / 0.8578 GB, free: 29 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.912e-05/0.5695, allocations: 21.75 kB / 0.8579 GB, free: 29 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.5695, allocations: 14.09 kB / 0.8579 GB, free: 29 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001115/0.5696, allocations: 160.7 kB / 0.858 GB, free: 28.93 MB / 490.8 MB Notification: Performance of sort global known variables: time 4e-08/0.5696, allocations: 0 / 0.858 GB, free: 28.93 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002346/0.5698, allocations: 52.91 kB / 0.8581 GB, free: 28.93 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.0001327/0.57, allocations: 117.7 kB / 0.8582 GB, free: 28.84 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004236/0.5704, allocations: 377.3 kB / 0.8586 GB, free: 28.62 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5704, allocations: 0.7188 kB / 0.8586 GB, free: 28.62 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.5706, allocations: 175.8 kB / 0.8587 GB, free: 28.52 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.5709, allocations: 64.69 kB / 0.8588 GB, free: 28.52 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.5721, allocations: 0.7047 MB / 0.8595 GB, free: 28.21 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.855e-05/0.5722, allocations: 125 kB / 0.8596 GB, free: 28.13 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.219e-05/0.5723, allocations: 24.41 kB / 0.8596 GB, free: 28.12 MB / 490.8 MB Notification: Performance of SimCode: time 7.72e-07/0.5723, allocations: 0.6562 kB / 0.8596 GB, free: 28.12 MB / 490.8 MB Notification: Performance of Templates: time 0.006091/0.5784, allocations: 2.946 MB / 0.8625 GB, free: 27.92 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.484968268312514]