Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide.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.0008771/0.0008771, allocations: 92.42 kB / 19.94 MB, free: 4.605 MB / 18.57 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.001642/0.001642, allocations: 169.9 kB / 23.21 MB, free: 1.332 MB / 18.57 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.8791/0.8791, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.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.6471/0.6471, allocations: 291.1 MB / 0.5382 GB, free: 51.9 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1468800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1468800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.6973 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.594e-05, allocations: 6.219 kB / 0.6973 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide): time 0.001877/0.001892, allocations: 2.305 MB / 0.6996 GB, free: 8.055 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.003866/0.005759, allocations: 6.541 MB / 0.706 GB, free: 1.504 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.951e-05/0.005838, allocations: 4 kB / 0.706 GB, free: 1.5 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.005938, allocations: 27.7 kB / 0.706 GB, free: 1.473 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.00608, allocations: 91.27 kB / 0.7061 GB, free: 1.383 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/0.006234, allocations: 51.88 kB / 0.7061 GB, free: 1.332 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.006419, allocations: 266.6 kB / 0.7064 GB, free: 1.07 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.006538, allocations: 36.52 kB / 0.7064 GB, free: 1.039 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.006652, allocations: 135.7 kB / 0.7066 GB, free: 0.9062 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.006827, allocations: 83.72 kB / 0.7066 GB, free: 0.8242 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.006851, allocations: 19.94 kB / 0.7067 GB, free: 0.8047 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.087e-05/0.006872, allocations: 20 kB / 0.7067 GB, free: 0.7852 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.726e-05/0.006899, allocations: 47.77 kB / 0.7067 GB, free: 0.7383 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.848e-05/0.006958, allocations: 71.84 kB / 0.7068 GB, free: 0.668 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.007117, allocations: 199.4 kB / 0.707 GB, free: 484 kB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.007119, allocations: 0 / 0.707 GB, free: 484 kB / 410.8 MB Notification: Performance of FrontEnd: time 1.082e-06/0.00712, allocations: 0 / 0.707 GB, free: 484 kB / 410.8 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.007124, allocations: 0 / 0.707 GB, free: 484 kB / 410.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.0005613/0.007685, allocations: 495.8 kB / 0.7075 GB, free: 15.94 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.007718, allocations: 12.03 kB / 0.7075 GB, free: 15.93 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.007767, allocations: 28.8 kB / 0.7075 GB, free: 15.9 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.007948, allocations: 178.4 kB / 0.7077 GB, free: 15.7 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.007962, allocations: 8.609 kB / 0.7077 GB, free: 15.69 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.007992, allocations: 16.38 kB / 0.7077 GB, free: 15.67 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.008226, allocations: 191.7 kB / 0.7079 GB, free: 15.47 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.008239, allocations: 7.938 kB / 0.7079 GB, free: 15.46 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.008253, allocations: 4 kB / 0.7079 GB, free: 15.46 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.008258, allocations: 0 / 0.7079 GB, free: 15.46 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000201/0.008459, allocations: 162.2 kB / 0.708 GB, free: 15.3 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000529/0.008988, allocations: 481.4 kB / 0.7085 GB, free: 14.79 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.009298, allocations: 180.1 kB / 0.7087 GB, free: 14.6 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.009402, allocations: 90.52 kB / 0.7088 GB, free: 14.5 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.009413, allocations: 4 kB / 0.7088 GB, free: 14.5 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002324/0.009645, allocations: 239 kB / 0.709 GB, free: 14.24 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 1.212e-06/0.009646, allocations: 3.938 kB / 0.709 GB, free: 14.24 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009134/0.01056, allocations: 0.7004 MB / 0.7097 GB, free: 13.47 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.01062, allocations: 140.5 kB / 0.7098 GB, free: 13.3 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.01077, allocations: 215.1 kB / 0.71 GB, free: 13.09 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.01079, allocations: 29.7 kB / 0.71 GB, free: 13.05 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.487e-05/0.01085, allocations: 136.4 kB / 0.7102 GB, free: 12.91 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.01089, allocations: 75.41 kB / 0.7102 GB, free: 12.84 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-05/0.01095, allocations: 49.7 kB / 0.7103 GB, free: 12.79 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.769e-05/0.01104, allocations: 330.8 kB / 0.7106 GB, free: 12.45 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.01118, allocations: 145 kB / 0.7107 GB, free: 12.29 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.01134, allocations: 217.3 kB / 0.711 GB, free: 12.04 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.01159, allocations: 280.8 kB / 0.7112 GB, free: 11.72 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.01159, allocations: 3.938 kB / 0.7112 GB, free: 11.71 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003714/0.01196, allocations: 394.6 kB / 0.7116 GB, free: 11.3 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.012, allocations: 69.27 kB / 0.7117 GB, free: 11.22 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.01201, allocations: 7.938 kB / 0.7117 GB, free: 11.21 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.01203, allocations: 4 kB / 0.7117 GB, free: 11.21 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.01214, allocations: 47.91 kB / 0.7117 GB, free: 11.16 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.465e-06/0.01215, allocations: 4 kB / 0.7117 GB, free: 11.16 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.843e-05/0.01224, allocations: 16.2 kB / 0.7117 GB, free: 11.14 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.01225, allocations: 16 kB / 0.7118 GB, free: 11.13 MB / 426.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.0001564/0.01241, allocations: 176.3 kB / 0.7119 GB, free: 10.94 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.01243, allocations: 23.86 kB / 0.712 GB, free: 10.92 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.598e-05/0.01246, allocations: 25.95 kB / 0.712 GB, free: 10.89 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.01247, allocations: 4 kB / 0.712 GB, free: 10.89 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.01247, allocations: 3.984 kB / 0.712 GB, free: 10.88 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01248, allocations: 0 / 0.712 GB, free: 10.88 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005096/0.01299, allocations: 0.543 MB / 0.7125 GB, free: 10.29 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01299, allocations: 0 / 0.7125 GB, free: 10.29 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.894e-05/0.01309, allocations: 35.97 kB / 0.7125 GB, free: 10.26 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.01309, allocations: 0 / 0.7125 GB, free: 10.26 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.0131, allocations: 4 kB / 0.7126 GB, free: 10.25 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.0131, allocations: 4 kB / 0.7126 GB, free: 10.25 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.0131, allocations: 0 / 0.7126 GB, free: 10.25 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004369/0.01354, allocations: 0.4926 MB / 0.713 GB, free: 9.727 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.578e-05/0.01357, allocations: 27.89 kB / 0.7131 GB, free: 9.699 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.01359, allocations: 11.94 kB / 0.7131 GB, free: 9.688 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.858e-05/0.01368, allocations: 15.98 kB / 0.7131 GB, free: 9.672 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.01374, allocations: 15.97 kB / 0.7131 GB, free: 9.656 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.01375, allocations: 15.98 kB / 0.7131 GB, free: 9.641 MB / 426.8 MB Notification: Performance of sorting global known variables: time 9.285e-05/0.01385, allocations: 152.4 kB / 0.7133 GB, free: 9.492 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01385, allocations: 3.938 kB / 0.7133 GB, free: 9.488 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001858/0.01403, allocations: 56 kB / 0.7133 GB, free: 9.434 MB / 426.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 8.954e-05/0.01412, allocations: 122.9 kB / 0.7134 GB, free: 9.309 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0003569/0.01448, allocations: 378.3 kB / 0.7138 GB, free: 8.898 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01448, allocations: 3.938 kB / 0.7138 GB, free: 8.895 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.01464, allocations: 175.5 kB / 0.714 GB, free: 8.707 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.01492, allocations: 64.28 kB / 0.714 GB, free: 8.645 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006844/0.0156, allocations: 0.5954 MB / 0.7146 GB, free: 8.012 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.326e-05/0.01567, allocations: 125.6 kB / 0.7147 GB, free: 7.867 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/0.01572, allocations: 24.5 kB / 0.7148 GB, free: 7.844 MB / 426.8 MB Notification: Performance of SimCode: time 4.81e-07/0.01572, allocations: 4 kB / 0.7148 GB, free: 7.84 MB / 426.8 MB Notification: Performance of Templates: time 0.002977/0.0187, allocations: 2.936 MB / 0.7176 GB, free: 4.934 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.976372183300555]