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.002442/0.002442, allocations: 101.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.003416/0.003416, allocations: 214.4 kB / 22.25 MB, free: 3.57 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.763/1.763, allocations: 230.6 MB / 256 MB, free: 9.605 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.556/1.556, allocations: 316.8 MB / 0.6144 GB, free: 93.01 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.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.004144/0.004144, allocations: 74.02 kB / 0.775 GB, free: 14.76 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1757, allocations: 73.99 MB / 0.8473 GB, free: 4.902 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA05_Nifedipine.Nifedipine): time 0.004136/0.1799, allocations: 2.304 MB / 0.8495 GB, free: 2.598 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.4333/0.6131, allocations: 6.528 MB / 0.8559 GB, free: 22.04 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003035/0.6134, allocations: 2 kB / 0.8559 GB, free: 22.04 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.6136, allocations: 29.56 kB / 0.8559 GB, free: 22.04 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.6139, allocations: 80.97 kB / 0.856 GB, free: 22.04 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.6142, allocations: 55.41 kB / 0.8561 GB, free: 22.04 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003052/0.6145, allocations: 260.2 kB / 0.8563 GB, free: 22 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.6147, allocations: 32.73 kB / 0.8563 GB, free: 22 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.6148, allocations: 104.8 kB / 0.8564 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/0.6151, allocations: 93.33 kB / 0.8565 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.886e-05/0.6151, allocations: 17.38 kB / 0.8566 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.495e-05/0.6151, allocations: 18.19 kB / 0.8566 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.906e-05/0.6152, allocations: 37.22 kB / 0.8566 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.6153, allocations: 99.8 kB / 0.8567 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.6156, allocations: 193.7 kB / 0.8569 GB, free: 21.89 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.6156, allocations: 2.781 kB / 0.8569 GB, free: 21.89 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.433e-06/0.6156, allocations: 0 / 0.8569 GB, free: 21.89 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.6156, allocations: 0 / 0.8569 GB, free: 21.89 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.0009106/0.6165, allocations: 0.4906 MB / 0.8574 GB, free: 21.49 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.6165, allocations: 7.375 kB / 0.8574 GB, free: 21.49 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.978e-05/0.6166, allocations: 26.08 kB / 0.8574 GB, free: 21.48 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.6169, allocations: 190.3 kB / 0.8576 GB, free: 21.32 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.6169, allocations: 7.641 kB / 0.8576 GB, free: 21.32 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.401e-05/0.6169, allocations: 23.61 kB / 0.8576 GB, free: 21.32 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003801/0.6173, allocations: 188.1 kB / 0.8578 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.6173, allocations: 2.719 kB / 0.8578 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.6173, allocations: 3.344 kB / 0.8578 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.6173, allocations: 3.062 kB / 0.8578 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003597/0.6177, allocations: 149.4 kB / 0.8579 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008085/0.6185, allocations: 482.2 kB / 0.8584 GB, free: 20.91 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005156/0.619, allocations: 174.1 kB / 0.8586 GB, free: 20.85 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.6192, allocations: 93.41 kB / 0.8587 GB, free: 20.81 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.6192, allocations: 3.375 kB / 0.8587 GB, free: 20.81 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003512/0.6196, allocations: 232.1 kB / 0.8589 GB, free: 20.66 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.372e-06/0.6196, allocations: 0 / 0.8589 GB, free: 20.66 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001552/0.6211, allocations: 0.7042 MB / 0.8596 GB, free: 20.3 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/0.6212, allocations: 136.8 kB / 0.8597 GB, free: 20.14 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.6214, allocations: 213.1 kB / 0.8599 GB, free: 20.04 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.6215, allocations: 31.92 kB / 0.8599 GB, free: 20.01 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.6216, allocations: 141.7 kB / 0.8601 GB, free: 19.91 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.77e-05/0.6216, allocations: 68.2 kB / 0.8601 GB, free: 19.87 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.428e-05/0.6217, allocations: 55.41 kB / 0.8602 GB, free: 19.86 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.761e-05/0.6218, allocations: 337.8 kB / 0.8605 GB, free: 19.54 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.6221, allocations: 141.4 kB / 0.8606 GB, free: 19.46 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.6223, allocations: 223 kB / 0.8609 GB, free: 19.3 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004054/0.6227, allocations: 283.5 kB / 0.8611 GB, free: 19.13 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.6227, allocations: 1.531 kB / 0.8611 GB, free: 19.13 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005475/0.6232, allocations: 389.9 kB / 0.8615 GB, free: 18.95 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/0.6233, allocations: 58.03 kB / 0.8616 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.6233, allocations: 10.41 kB / 0.8616 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.6233, allocations: 3.094 kB / 0.8616 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.6235, allocations: 53.62 kB / 0.8616 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.6235, allocations: 2.344 kB / 0.8616 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.6237, allocations: 18.67 kB / 0.8616 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.6237, allocations: 9.312 kB / 0.8616 GB, free: 18.88 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.0001859/0.6239, allocations: 180 kB / 0.8618 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.624, allocations: 21.86 kB / 0.8618 GB, free: 18.72 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.045e-05/0.624, allocations: 33.41 kB / 0.8619 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.624, allocations: 3.906 kB / 0.8619 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.624, allocations: 0 / 0.8619 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.624, allocations: 1.969 kB / 0.8619 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007005/0.6247, allocations: 0.5442 MB / 0.8624 GB, free: 18.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.6247, allocations: 1.188 kB / 0.8624 GB, free: 18.4 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.6249, allocations: 32.97 kB / 0.8624 GB, free: 18.4 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.6249, allocations: 4.562 kB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.6249, allocations: 11.03 kB / 0.8625 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.6249, allocations: 10.81 kB / 0.8625 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.6249, allocations: 0.5 kB / 0.8625 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006777/0.6256, allocations: 499.1 kB / 0.8629 GB, free: 18.14 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-05/0.6256, allocations: 19.8 kB / 0.863 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.506e-05/0.6257, allocations: 11.62 kB / 0.863 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.6258, allocations: 11.81 kB / 0.863 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.028e-05/0.6259, allocations: 25.47 kB / 0.863 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.626, allocations: 7.547 kB / 0.863 GB, free: 18.13 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001471/0.6261, allocations: 161.4 kB / 0.8632 GB, free: 18.05 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6261, allocations: 0.5938 kB / 0.8632 GB, free: 18.05 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003054/0.6264, allocations: 52.88 kB / 0.8632 GB, free: 18.05 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.0001451/0.6266, allocations: 119.6 kB / 0.8633 GB, free: 17.96 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005518/0.6271, allocations: 381.5 kB / 0.8637 GB, free: 17.73 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.6271, allocations: 0 / 0.8637 GB, free: 17.73 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002606/0.6274, allocations: 171.6 kB / 0.8639 GB, free: 17.63 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.6278, allocations: 77.16 kB / 0.8639 GB, free: 17.62 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.6292, allocations: 0.6788 MB / 0.8646 GB, free: 17.31 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.6293, allocations: 122.7 kB / 0.8647 GB, free: 17.24 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.6294, allocations: 26.61 kB / 0.8647 GB, free: 17.23 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.6295, allocations: 23.55 kB / 0.8648 GB, free: 17.23 MB / 490.8 MB Notification: Performance of SimCode: time 8.32e-07/0.6295, allocations: 0 / 0.8648 GB, free: 17.23 MB / 490.8 MB Notification: Performance of Templates: time 0.009198/0.6387, allocations: 3.647 MB / 0.8683 GB, free: 16.91 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA05_Nifedipine.Nifedipine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.507615630049258]