Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA05_Nifedipine.Nifedipine.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.0008099/0.0008099, allocations: 108.4 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.001222/0.001222, allocations: 217.3 kB / 23.01 MB, free: 2.957 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.077/1.077, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.8294/0.8294, allocations: 312.3 MB / 0.6108 GB, free: 97.55 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.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA05_Nifedipine.Nifedipine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=604800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA05_Nifedipine.Nifedipine") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA05_Nifedipine.Nifedipine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=604800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA05_Nifedipine.Nifedipine") [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.001683/0.001683, allocations: 74.58 kB / 0.7699 GB, free: 20.12 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1426, allocations: 73.99 MB / 0.8421 GB, free: 10.27 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA05_Nifedipine.Nifedipine): time 0.003045/0.1457, allocations: 2.32 MB / 0.8444 GB, free: 7.949 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006889/0.1526, allocations: 6.533 MB / 0.8508 GB, free: 1.414 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000208/0.1528, allocations: 0 / 0.8508 GB, free: 1.414 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.1529, allocations: 28.28 kB / 0.8508 GB, free: 1.387 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002579/0.1532, allocations: 84.62 kB / 0.8509 GB, free: 1.305 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.1535, allocations: 43.89 kB / 0.8509 GB, free: 1.262 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002768/0.1538, allocations: 263.5 kB / 0.8512 GB, free: 1.004 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.1539, allocations: 37.09 kB / 0.8512 GB, free: 0.9688 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.154, allocations: 95.64 kB / 0.8513 GB, free: 0.875 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.1543, allocations: 100 kB / 0.8514 GB, free: 0.7773 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.1543, allocations: 16.5 kB / 0.8514 GB, free: 0.7617 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.638e-05/0.1543, allocations: 16.62 kB / 0.8514 GB, free: 0.7461 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.955e-05/0.1544, allocations: 39.83 kB / 0.8515 GB, free: 0.707 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.754e-05/0.1544, allocations: 88.2 kB / 0.8516 GB, free: 0.6211 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.1547, allocations: 199.2 kB / 0.8517 GB, free: 436 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1547, allocations: 0.625 kB / 0.8517 GB, free: 436 kB / 474.8 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1547, allocations: 0.6875 kB / 0.8517 GB, free: 436 kB / 474.8 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.1547, allocations: 0 / 0.8517 GB, free: 436 kB / 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.0007741/0.1555, allocations: 0.4908 MB / 0.8522 GB, free: 15.89 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.1555, allocations: 8.031 kB / 0.8522 GB, free: 15.88 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.208e-05/0.1556, allocations: 25.42 kB / 0.8523 GB, free: 15.86 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.1558, allocations: 179.7 kB / 0.8524 GB, free: 15.66 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.1558, allocations: 12.61 kB / 0.8524 GB, free: 15.64 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/0.1559, allocations: 20.48 kB / 0.8525 GB, free: 15.62 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.1562, allocations: 198.9 kB / 0.8526 GB, free: 15.41 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.1562, allocations: 0.625 kB / 0.8526 GB, free: 15.41 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.1562, allocations: 4 kB / 0.8527 GB, free: 15.41 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.1562, allocations: 8.469 kB / 0.8527 GB, free: 15.4 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000225/0.1564, allocations: 147.4 kB / 0.8528 GB, free: 15.25 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006585/0.1571, allocations: 482.5 kB / 0.8533 GB, free: 14.75 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003901/0.1575, allocations: 173.4 kB / 0.8534 GB, free: 14.57 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.1576, allocations: 99.11 kB / 0.8535 GB, free: 14.46 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.1576, allocations: 4.5 kB / 0.8535 GB, free: 14.46 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002825/0.1579, allocations: 227.3 kB / 0.8537 GB, free: 14.21 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.595e-06/0.1579, allocations: 0.5625 kB / 0.8537 GB, free: 14.21 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001092/0.159, allocations: 0.6987 MB / 0.8544 GB, free: 13.45 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.1591, allocations: 141 kB / 0.8546 GB, free: 13.28 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.1592, allocations: 211.6 kB / 0.8548 GB, free: 13.06 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.1593, allocations: 33.7 kB / 0.8548 GB, free: 13.02 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.004e-05/0.1593, allocations: 133.2 kB / 0.8549 GB, free: 12.89 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.508e-05/0.1594, allocations: 75.42 kB / 0.855 GB, free: 12.82 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.235e-05/0.1594, allocations: 50.27 kB / 0.855 GB, free: 12.76 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1595, allocations: 343.5 kB / 0.8554 GB, free: 12.42 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.1597, allocations: 141.7 kB / 0.8555 GB, free: 12.26 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.1599, allocations: 222 kB / 0.8557 GB, free: 12 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3592/0.5191, allocations: 280.2 kB / 0.856 GB, free: 30.3 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.5191, allocations: 1.906 kB / 0.856 GB, free: 30.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005161/0.5196, allocations: 390.7 kB / 0.8564 GB, free: 30.14 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.243e-05/0.5197, allocations: 70.64 kB / 0.8564 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.5197, allocations: 3.094 kB / 0.8564 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-05/0.5197, allocations: 2.906 kB / 0.8564 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.5199, allocations: 53.09 kB / 0.8565 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.5199, allocations: 2.438 kB / 0.8565 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.5201, allocations: 25.2 kB / 0.8565 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.5201, allocations: 9.828 kB / 0.8565 GB, free: 30.07 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.0002223/0.5203, allocations: 177.5 kB / 0.8567 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.5203, allocations: 26.42 kB / 0.8567 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.286e-05/0.5204, allocations: 20.75 kB / 0.8567 GB, free: 29.92 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.5204, allocations: 6.031 kB / 0.8567 GB, free: 29.92 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5204, allocations: 0 / 0.8567 GB, free: 29.92 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.5204, allocations: 0 / 0.8567 GB, free: 29.92 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005895/0.521, allocations: 0.534 MB / 0.8573 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.521, allocations: 3.406 kB / 0.8573 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.5211, allocations: 34.81 kB / 0.8573 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.5211, allocations: 1.406 kB / 0.8573 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.5211, allocations: 7.5 kB / 0.8573 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.5211, allocations: 8.344 kB / 0.8573 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5211, allocations: 2.531 kB / 0.8573 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000453/0.5216, allocations: 0.4943 MB / 0.8578 GB, free: 29.39 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.222e-05/0.5216, allocations: 19.78 kB / 0.8578 GB, free: 29.39 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/0.5216, allocations: 11.25 kB / 0.8578 GB, free: 29.39 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.962e-05/0.5217, allocations: 14.75 kB / 0.8578 GB, free: 29.39 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.243e-05/0.5218, allocations: 24.58 kB / 0.8579 GB, free: 29.39 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.5218, allocations: 7.156 kB / 0.8579 GB, free: 29.39 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001118/0.5219, allocations: 156.8 kB / 0.858 GB, free: 29.32 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5219, allocations: 3.797 kB / 0.858 GB, free: 29.32 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002248/0.5222, allocations: 54.41 kB / 0.8581 GB, free: 29.32 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.0001251/0.5223, allocations: 119.9 kB / 0.8582 GB, free: 29.23 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000387/0.5227, allocations: 379.3 kB / 0.8586 GB, free: 29 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5227, allocations: 1.125 kB / 0.8586 GB, free: 29 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.5228, allocations: 175.2 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.0003484/0.5232, allocations: 71.66 kB / 0.8588 GB, free: 28.9 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.5242, allocations: 0.7009 MB / 0.8595 GB, free: 28.59 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.809e-05/0.5243, allocations: 124.4 kB / 0.8596 GB, free: 28.52 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.147e-05/0.5243, allocations: 23.05 kB / 0.8596 GB, free: 28.51 MB / 490.8 MB Notification: Performance of SimCode: time 9.11e-07/0.5243, allocations: 0 / 0.8596 GB, free: 28.51 MB / 490.8 MB Notification: Performance of Templates: time 0.00542/0.5297, allocations: 2.944 MB / 0.8625 GB, free: 28.3 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA05_Nifedipine.Nifedipine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA05_Nifedipine.Nifedipine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA05_Nifedipine.Nifedipine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA05_Nifedipine.Nifedipine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA05_Nifedipine.Nifedipine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA05_Nifedipine.Nifedipine > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA05_Nifedipine.Nifedipine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.026496436446905]