Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA04_Nicardipine.Nicardipine.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.0007202/0.0007202, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009564/0.001677, 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.0007024/0.0007024, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009376/0.00164, 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.9532/0.9532, allocations: 177.2 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07762/1.031, allocations: 53.64 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.6997/0.6997, allocations: 291.2 MB / 0.5226 GB, free: 52.46 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0239/0.7236, allocations: 21.03 MB / 0.5431 GB, free: 31.51 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.C08CA04_Nicardipine.Nicardipine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA04_Nicardipine.Nicardipine") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA04_Nicardipine.Nicardipine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA04_Nicardipine.Nicardipine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 0.5445 GB, free: 30.15 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.468e-05/1.576e-05, allocations: 6.312 kB / 0.5445 GB, free: 30.14 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA04_Nicardipine.Nicardipine): time 0.001961/0.001977, allocations: 2.501 MB / 0.5469 GB, free: 27.63 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003741/0.005718, allocations: 6.684 MB / 0.5534 GB, free: 20.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.005819, allocations: 4 kB / 0.5534 GB, free: 20.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.707e-05/0.005886, allocations: 23.72 kB / 0.5535 GB, free: 20.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.006018, allocations: 87.27 kB / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000127/0.006145, allocations: 55.86 kB / 0.5536 GB, free: 20.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.006324, allocations: 270.5 kB / 0.5539 GB, free: 20.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.883e-05/0.006422, allocations: 38.53 kB / 0.5539 GB, free: 20.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.00658, allocations: 184.1 kB / 0.5541 GB, free: 20.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.006723, allocations: 83.78 kB / 0.5541 GB, free: 20.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.006746, allocations: 16 kB / 0.5542 GB, free: 20.19 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.326e-05/0.00677, allocations: 16 kB / 0.5542 GB, free: 20.17 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.443e-05/0.006794, allocations: 27.88 kB / 0.5542 GB, free: 20.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.356e-05/0.006848, allocations: 59.88 kB / 0.5543 GB, free: 20.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.00699, allocations: 139.5 kB / 0.5544 GB, free: 19.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.462e-05/0.007005, allocations: 4 kB / 0.5544 GB, free: 19.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.007006, allocations: 0 / 0.5544 GB, free: 19.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.007019, allocations: 0 / 0.5544 GB, free: 19.95 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.0005182/0.007537, allocations: 0.5014 MB / 0.5549 GB, free: 19.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.007569, allocations: 15.89 kB / 0.5549 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.00761, allocations: 20.92 kB / 0.5549 GB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.00775, allocations: 175.1 kB / 0.5551 GB, free: 19.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.00777, allocations: 8.609 kB / 0.5551 GB, free: 19.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.007791, allocations: 20.38 kB / 0.5551 GB, free: 19.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.007938, allocations: 155.5 kB / 0.5553 GB, free: 18.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.007949, allocations: 4 kB / 0.5553 GB, free: 18.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.00796, allocations: 4 kB / 0.5553 GB, free: 18.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.007966, allocations: 7.938 kB / 0.5553 GB, free: 18.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.043e-05/0.008036, allocations: 72.7 kB / 0.5553 GB, free: 18.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.008384, allocations: 372.8 kB / 0.5557 GB, free: 18.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.008551, allocations: 116.1 kB / 0.5558 GB, free: 18.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.483e-05/0.008585, allocations: 62.48 kB / 0.5559 GB, free: 18.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.397e-06/0.008595, allocations: 3.984 kB / 0.5559 GB, free: 18.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/0.008722, allocations: 198.5 kB / 0.5561 GB, free: 18.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.008724, allocations: 0 / 0.5561 GB, free: 18.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004908/0.009214, allocations: 0.5016 MB / 0.5566 GB, free: 17.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.009241, allocations: 136.5 kB / 0.5567 GB, free: 17.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.628e-05/0.009327, allocations: 206.1 kB / 0.5569 GB, free: 17.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.009338, allocations: 29.7 kB / 0.5569 GB, free: 17.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.839e-05/0.009366, allocations: 120.4 kB / 0.557 GB, free: 16.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.009398, allocations: 71.41 kB / 0.5571 GB, free: 16.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.697e-05/0.009445, allocations: 59.12 kB / 0.5571 GB, free: 16.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.942e-05/0.009474, allocations: 330.8 kB / 0.5575 GB, free: 16.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.565e-05/0.00953, allocations: 100.9 kB / 0.5576 GB, free: 16.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.801e-05/0.009588, allocations: 177.3 kB / 0.5577 GB, free: 16.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.386e-05/0.009682, allocations: 218.2 kB / 0.5579 GB, free: 15.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.009683, allocations: 0 / 0.5579 GB, free: 15.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001432/0.009826, allocations: 260.2 kB / 0.5582 GB, free: 15.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.009856, allocations: 67.61 kB / 0.5583 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.00986, allocations: 0 / 0.5583 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/0.009869, allocations: 4 kB / 0.5583 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.01002, allocations: 65.88 kB / 0.5583 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.01003, allocations: 7.984 kB / 0.5583 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.814e-05/0.01011, allocations: 19.88 kB / 0.5583 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.01012, allocations: 8 kB / 0.5584 GB, free: 15.46 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 8.817e-05/0.01021, allocations: 167.7 kB / 0.5585 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.01023, allocations: 23.97 kB / 0.5585 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.01025, allocations: 25.97 kB / 0.5586 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.01025, allocations: 0 / 0.5586 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.01026, allocations: 0 / 0.5586 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.01026, allocations: 3.984 kB / 0.5586 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.0105, allocations: 373.1 kB / 0.5589 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.0105, allocations: 3.938 kB / 0.5589 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.01062, allocations: 39.97 kB / 0.559 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.856e-05/0.01064, allocations: 19.86 kB / 0.559 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.01064, allocations: 0 / 0.559 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.01065, allocations: 15.36 kB / 0.559 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01065, allocations: 0 / 0.559 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01066, allocations: 0 / 0.559 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2167/0.2273, allocations: 347 kB / 0.5593 GB, free: 79.47 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.354e-05/0.2274, allocations: 5.312 kB / 0.5593 GB, free: 79.47 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.2275, allocations: 13.59 kB / 0.5593 GB, free: 79.47 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.2276, allocations: 18.73 kB / 0.5594 GB, free: 79.47 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.2276, allocations: 9.969 kB / 0.5594 GB, free: 79.47 MB / 410.8 MB Notification: Performance of sorting global known variables: time 6.027e-05/0.2276, allocations: 63.91 kB / 0.5594 GB, free: 79.46 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.2276, allocations: 0 / 0.5594 GB, free: 79.46 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002095/0.2278, allocations: 56 kB / 0.5595 GB, free: 79.46 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 9.972e-05/0.2279, allocations: 100.3 kB / 0.5596 GB, free: 79.39 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.2281, allocations: 303.2 kB / 0.5599 GB, free: 79.17 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.2282, allocations: 2.25 kB / 0.5599 GB, free: 79.17 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 7.541e-05/0.2282, allocations: 145.3 kB / 0.56 GB, free: 79.07 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.2285, allocations: 90.11 kB / 0.5601 GB, free: 79.07 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005793/0.2343, allocations: 0.5865 MB / 0.5607 GB, free: 78.78 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.272e-05/0.2344, allocations: 126.5 kB / 0.5608 GB, free: 78.71 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.2345, allocations: 120.1 kB / 0.5609 GB, free: 78.66 MB / 410.8 MB Notification: Performance of SimCode: time 7.02e-07/0.2345, allocations: 0.5469 kB / 0.5609 GB, free: 78.66 MB / 410.8 MB Notification: Performance of Templates: time 0.003411/0.238, allocations: 2.931 MB / 0.5638 GB, free: 78.62 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA04_Nicardipine.Nicardipine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA04_Nicardipine.Nicardipine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA04_Nicardipine.Nicardipine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA04_Nicardipine.Nicardipine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA04_Nicardipine.Nicardipine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA04_Nicardipine.Nicardipine > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA04_Nicardipine.Nicardipine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.471268126741052]