Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide_Grasela1984_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.0007854/0.0007854, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001211/0.001996, 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.001145/0.001145, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001342/0.002487, 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 1.04/1.04, allocations: 177.2 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07811/1.119, allocations: 53.65 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.7129/0.7129, allocations: 291.2 MB / 0.5226 GB, free: 52.96 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0245/0.7374, allocations: 21.03 MB / 0.5431 GB, free: 31.98 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.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide_Grasela1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1468800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide_Grasela1984_reference") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide_Grasela1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1468800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide_Grasela1984_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.5444 GB, free: 30.64 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.594e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.63 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide_Grasela1984_reference): time 0.002012/0.002028, allocations: 2.484 MB / 0.5468 GB, free: 28.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003821/0.00585, allocations: 6.684 MB / 0.5534 GB, free: 21.44 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.671e-05/0.005946, allocations: 0 / 0.5534 GB, free: 21.44 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.362e-05/0.00601, allocations: 27.72 kB / 0.5534 GB, free: 21.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.00615, allocations: 95.25 kB / 0.5535 GB, free: 21.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001313/0.006281, allocations: 51.81 kB / 0.5535 GB, free: 21.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.006465, allocations: 262.6 kB / 0.5538 GB, free: 21.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.006565, allocations: 38.53 kB / 0.5538 GB, free: 20.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.006733, allocations: 188.1 kB / 0.554 GB, free: 20.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.006869, allocations: 79.8 kB / 0.5541 GB, free: 20.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.006895, allocations: 19.94 kB / 0.5541 GB, free: 20.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.354e-05/0.006919, allocations: 16 kB / 0.5541 GB, free: 20.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.64e-05/0.006945, allocations: 27.94 kB / 0.5541 GB, free: 20.65 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.58e-05/0.007001, allocations: 67.86 kB / 0.5542 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.007155, allocations: 135.5 kB / 0.5543 GB, free: 20.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.418e-05/0.007169, allocations: 0 / 0.5543 GB, free: 20.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.00717, allocations: 0 / 0.5543 GB, free: 20.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.007182, allocations: 3.984 kB / 0.5543 GB, free: 20.45 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.0005306/0.007713, allocations: 0.4975 MB / 0.5548 GB, free: 19.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.568e-05/0.007738, allocations: 11.89 kB / 0.5548 GB, free: 19.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.301e-05/0.007781, allocations: 32.86 kB / 0.5549 GB, free: 19.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.007923, allocations: 171.1 kB / 0.555 GB, free: 19.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.007944, allocations: 12.61 kB / 0.555 GB, free: 19.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.007966, allocations: 12.38 kB / 0.5551 GB, free: 19.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.008132, allocations: 163.4 kB / 0.5552 GB, free: 19.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.008145, allocations: 3.984 kB / 0.5552 GB, free: 19.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.008155, allocations: 0 / 0.5552 GB, free: 19.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.008161, allocations: 4 kB / 0.5552 GB, free: 19.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.968e-05/0.008241, allocations: 76.7 kB / 0.5553 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.008615, allocations: 364.9 kB / 0.5556 GB, free: 19.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.008786, allocations: 112.2 kB / 0.5557 GB, free: 18.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.694e-05/0.008823, allocations: 62.53 kB / 0.5558 GB, free: 18.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.008832, allocations: 4 kB / 0.5558 GB, free: 18.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001333/0.008965, allocations: 188.4 kB / 0.556 GB, free: 18.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.824e-06/0.008967, allocations: 0 / 0.556 GB, free: 18.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005138/0.009481, allocations: 0.5082 MB / 0.5565 GB, free: 18.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.009512, allocations: 144.4 kB / 0.5566 GB, free: 17.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.578e-05/0.009598, allocations: 202.1 kB / 0.5568 GB, free: 17.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.009611, allocations: 37.69 kB / 0.5569 GB, free: 17.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.169e-05/0.009642, allocations: 116.4 kB / 0.557 GB, free: 17.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.009674, allocations: 71.41 kB / 0.557 GB, free: 17.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/0.009724, allocations: 59.12 kB / 0.5571 GB, free: 17.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.863e-05/0.009762, allocations: 334.8 kB / 0.5574 GB, free: 17.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.131e-05/0.009814, allocations: 97 kB / 0.5575 GB, free: 16.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.037e-05/0.009874, allocations: 181.3 kB / 0.5577 GB, free: 16.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.009977, allocations: 203.7 kB / 0.5579 GB, free: 16.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.009978, allocations: 0 / 0.5579 GB, free: 16.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001494/0.01013, allocations: 266.7 kB / 0.5581 GB, free: 16.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.01016, allocations: 67.39 kB / 0.5582 GB, free: 16.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.01016, allocations: 3.984 kB / 0.5582 GB, free: 16.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.01017, allocations: 7.312 kB / 0.5582 GB, free: 16.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.01033, allocations: 69.86 kB / 0.5583 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.01034, allocations: 0 / 0.5583 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.131e-05/0.01042, allocations: 23.92 kB / 0.5583 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.01043, allocations: 12.22 kB / 0.5583 GB, free: 15.96 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 9.523e-05/0.01052, allocations: 163.7 kB / 0.5585 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.01055, allocations: 23.98 kB / 0.5585 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.01057, allocations: 21.95 kB / 0.5585 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.01058, allocations: 0 / 0.5585 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.01058, allocations: 4 kB / 0.5585 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01058, allocations: 0 / 0.5585 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.01082, allocations: 373.1 kB / 0.5589 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.01083, allocations: 11.94 kB / 0.5589 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.01095, allocations: 35.97 kB / 0.5589 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.285e-05/0.01098, allocations: 19.84 kB / 0.5589 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01098, allocations: 7.938 kB / 0.5589 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.01099, allocations: 4 kB / 0.5589 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.01099, allocations: 4 kB / 0.5589 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01099, allocations: 0 / 0.5589 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.01118, allocations: 345 kB / 0.5593 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.01121, allocations: 8 kB / 0.5593 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.75e-05/0.01128, allocations: 19.98 kB / 0.5593 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.01133, allocations: 17.66 kB / 0.5593 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.01134, allocations: 11.92 kB / 0.5593 GB, free: 14.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.324e-05/0.01139, allocations: 65.91 kB / 0.5594 GB, free: 14.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01139, allocations: 0 / 0.5594 GB, free: 14.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.2508/0.2621, allocations: 50.7 kB / 0.5594 GB, free: 79.64 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 0.0001221/0.2623, allocations: 96.23 kB / 0.5595 GB, free: 79.58 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000273/0.2625, allocations: 305.2 kB / 0.5598 GB, free: 79.35 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.2625, allocations: 2.562 kB / 0.5598 GB, free: 79.35 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.487e-05/0.2626, allocations: 149.7 kB / 0.56 GB, free: 79.25 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.2629, allocations: 88.66 kB / 0.56 GB, free: 79.25 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005787/0.2687, allocations: 0.5757 MB / 0.5606 GB, free: 78.96 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.239e-05/0.2688, allocations: 129.2 kB / 0.5607 GB, free: 78.89 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.269, allocations: 123 kB / 0.5608 GB, free: 78.84 MB / 410.8 MB Notification: Performance of SimCode: time 6.11e-07/0.269, allocations: 0 / 0.5608 GB, free: 78.84 MB / 410.8 MB Notification: Performance of Templates: time 0.00387/0.2729, allocations: 2.925 MB / 0.5637 GB, free: 78.8 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide_Grasela1984_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide_Grasela1984_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide_Grasela1984_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide_Grasela1984_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide_Grasela1984_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide_Grasela1984_reference > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide_Grasela1984_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.8814737210050225]