Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Russo1981_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.001097/0.001097, allocations: 108.3 kB / 19.71 MB, free: 436 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.001026/0.001026, allocations: 221.3 kB / 23 MB, free: 2.961 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.215/1.215, allocations: 230.6 MB / 256.8 MB, free: 9.609 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.7732/0.7732, allocations: 312.3 MB / 0.6108 GB, free: 97.5 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_Russo1981_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Russo1981_reference") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Russo1981_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Russo1981_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.001513/0.001513, allocations: 78.73 kB / 0.7699 GB, free: 20.21 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1519, allocations: 73.98 MB / 0.8421 GB, free: 10.36 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Russo1981_reference): time 0.002934/0.1548, allocations: 2.29 MB / 0.8444 GB, free: 8.066 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006049/0.1609, allocations: 6.529 MB / 0.8507 GB, free: 1.535 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.161, allocations: 0 / 0.8507 GB, free: 1.535 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.1612, allocations: 24.22 kB / 0.8508 GB, free: 1.512 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002212/0.1614, allocations: 80.67 kB / 0.8508 GB, free: 1.434 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.1616, allocations: 52.44 kB / 0.8509 GB, free: 1.383 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002748/0.1619, allocations: 258.7 kB / 0.8511 GB, free: 1.129 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.162, allocations: 33.11 kB / 0.8512 GB, free: 1.098 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.1622, allocations: 100.2 kB / 0.8513 GB, free: 1 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.1624, allocations: 100.1 kB / 0.8514 GB, free: 0.9023 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.995e-05/0.1624, allocations: 20 kB / 0.8514 GB, free: 0.8828 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.71e-05/0.1624, allocations: 16.5 kB / 0.8514 GB, free: 0.8672 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.927e-05/0.1625, allocations: 40.38 kB / 0.8514 GB, free: 0.8281 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.563e-05/0.1626, allocations: 87.59 kB / 0.8515 GB, free: 0.7422 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.1628, allocations: 202.1 kB / 0.8517 GB, free: 0.5469 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.1628, allocations: 0.5938 kB / 0.8517 GB, free: 0.5469 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1628, allocations: 4 kB / 0.8517 GB, free: 0.543 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.1628, allocations: 0.5 kB / 0.8517 GB, free: 0.543 MB / 474.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.0008017/0.1636, allocations: 0.491 MB / 0.8522 GB, free: 8 kB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.1636, allocations: 8.031 kB / 0.8522 GB, free: 0 / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.346e-05/0.1637, allocations: 23.58 kB / 0.8522 GB, free: 15.97 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.164, allocations: 187 kB / 0.8524 GB, free: 15.77 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.164, allocations: 15.02 kB / 0.8524 GB, free: 15.75 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/0.164, allocations: 12.62 kB / 0.8524 GB, free: 15.74 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006252/0.1646, allocations: 191 kB / 0.8526 GB, free: 15.54 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.1647, allocations: 8.438 kB / 0.8526 GB, free: 15.53 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.1647, allocations: 0 / 0.8526 GB, free: 15.53 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1647, allocations: 8.531 kB / 0.8526 GB, free: 15.52 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002185/0.1649, allocations: 147.5 kB / 0.8528 GB, free: 15.38 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006478/0.1656, allocations: 490 kB / 0.8532 GB, free: 14.86 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003835/0.1659, allocations: 173.5 kB / 0.8534 GB, free: 14.68 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.1661, allocations: 99.58 kB / 0.8535 GB, free: 14.57 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.1661, allocations: 4 kB / 0.8535 GB, free: 14.57 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000267/0.1663, allocations: 217.7 kB / 0.8537 GB, free: 14.33 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.865e-06/0.1663, allocations: 0.6875 kB / 0.8537 GB, free: 14.33 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001002/0.1673, allocations: 0.7047 MB / 0.8544 GB, free: 13.56 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/0.1674, allocations: 136.5 kB / 0.8545 GB, free: 13.4 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.1676, allocations: 211.5 kB / 0.8547 GB, free: 13.18 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.1676, allocations: 38.31 kB / 0.8548 GB, free: 13.14 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.1676, allocations: 132.4 kB / 0.8549 GB, free: 13.01 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.1677, allocations: 72.08 kB / 0.855 GB, free: 12.94 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.914e-05/0.1677, allocations: 54.27 kB / 0.855 GB, free: 12.88 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.477e-05/0.1678, allocations: 330.8 kB / 0.8553 GB, free: 12.55 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.168, allocations: 145.6 kB / 0.8555 GB, free: 12.39 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.1682, allocations: 230.4 kB / 0.8557 GB, free: 12.12 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3178/0.4859, allocations: 274.8 kB / 0.8559 GB, free: 30.31 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.4859, allocations: 5.312 kB / 0.856 GB, free: 30.31 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005825/0.4865, allocations: 392.4 kB / 0.8563 GB, free: 30.15 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.274e-05/0.4866, allocations: 66.69 kB / 0.8564 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.4866, allocations: 3.391 kB / 0.8564 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.4866, allocations: 3.469 kB / 0.8564 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.4867, allocations: 51.06 kB / 0.8564 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.4867, allocations: 11.03 kB / 0.8565 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.4869, allocations: 17.03 kB / 0.8565 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.4869, allocations: 13.56 kB / 0.8565 GB, free: 30.09 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.000197/0.4871, allocations: 176.4 kB / 0.8567 GB, free: 29.94 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.4871, allocations: 25.7 kB / 0.8567 GB, free: 29.94 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.1e-05/0.4872, allocations: 22.25 kB / 0.8567 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4872, allocations: 2.656 kB / 0.8567 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.4872, allocations: 3.422 kB / 0.8567 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.4872, allocations: 1.875 kB / 0.8567 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005536/0.4877, allocations: 0.537 MB / 0.8572 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4877, allocations: 0 / 0.8572 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.4878, allocations: 30.64 kB / 0.8573 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.4878, allocations: 6.219 kB / 0.8573 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.4878, allocations: 11.48 kB / 0.8573 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.4879, allocations: 3.938 kB / 0.8573 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4879, allocations: 3.094 kB / 0.8573 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004378/0.4883, allocations: 496.8 kB / 0.8578 GB, free: 29.4 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.647e-05/0.4883, allocations: 27.08 kB / 0.8578 GB, free: 29.4 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.4883, allocations: 7.281 kB / 0.8578 GB, free: 29.4 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.074e-05/0.4884, allocations: 12.44 kB / 0.8578 GB, free: 29.4 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.243e-05/0.4885, allocations: 26.56 kB / 0.8578 GB, free: 29.4 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.4885, allocations: 8.625 kB / 0.8578 GB, free: 29.4 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.852e-05/0.4886, allocations: 156.5 kB / 0.858 GB, free: 29.33 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.4886, allocations: 5.281 kB / 0.858 GB, free: 29.33 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001937/0.4888, allocations: 56.94 kB / 0.858 GB, free: 29.33 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.000104/0.4889, allocations: 125.3 kB / 0.8582 GB, free: 29.24 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003451/0.4893, allocations: 376 kB / 0.8585 GB, free: 29.01 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4893, allocations: 0 / 0.8585 GB, free: 29.01 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.4894, allocations: 177 kB / 0.8587 GB, free: 28.91 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.4897, allocations: 70.67 kB / 0.8588 GB, free: 28.91 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009241/0.4906, allocations: 0.6936 MB / 0.8594 GB, free: 28.61 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.972e-05/0.4907, allocations: 126.6 kB / 0.8596 GB, free: 28.53 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.363e-05/0.4908, allocations: 22.48 kB / 0.8596 GB, free: 28.52 MB / 490.8 MB Notification: Performance of SimCode: time 8.52e-07/0.4908, allocations: 1.906 kB / 0.8596 GB, free: 28.52 MB / 490.8 MB Notification: Performance of Templates: time 0.005761/0.4965, allocations: 2.949 MB / 0.8625 GB, free: 28.32 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Russo1981_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Russo1981_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Russo1981_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Russo1981_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Russo1981_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Russo1981_reference > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Russo1981_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.084949217736721]