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.00199/0.00199, 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.002066/0.002066, allocations: 216.9 kB / 22.25 MB, free: 3.578 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.689/1.689, allocations: 230.6 MB / 256 MB, free: 9.59 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.542/1.542, allocations: 316.8 MB / 0.6144 GB, free: 93 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.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: 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.01125/0.01125, allocations: 77.41 kB / 0.775 GB, free: 14.74 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2335, allocations: 73.99 MB / 0.8472 GB, free: 4.895 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide_Grasela1984_reference): time 0.005094/0.2386, allocations: 2.303 MB / 0.8495 GB, free: 2.594 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3509/0.5895, allocations: 6.523 MB / 0.8559 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003678/0.5899, allocations: 1.438 kB / 0.8559 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002321/0.5901, allocations: 27.66 kB / 0.8559 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003594/0.5905, allocations: 80.84 kB / 0.856 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.5908, allocations: 54.56 kB / 0.856 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003394/0.5911, allocations: 260 kB / 0.8563 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.5913, allocations: 32.88 kB / 0.8563 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.5914, allocations: 100.4 kB / 0.8564 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.5917, allocations: 103.3 kB / 0.8565 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.548e-05/0.5917, allocations: 14.75 kB / 0.8565 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.451e-05/0.5918, allocations: 16.72 kB / 0.8565 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.533e-05/0.5918, allocations: 35.31 kB / 0.8566 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.5919, allocations: 96.89 kB / 0.8566 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.5922, allocations: 200.5 kB / 0.8568 GB, free: 21.85 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.5922, allocations: 1.312 kB / 0.8568 GB, free: 21.85 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5922, allocations: 1.531 kB / 0.8568 GB, free: 21.85 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.994e-06/0.5922, allocations: 0 / 0.8568 GB, free: 21.85 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.00085/0.593, allocations: 495.1 kB / 0.8573 GB, free: 21.45 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.5931, allocations: 11.94 kB / 0.8573 GB, free: 21.45 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.912e-05/0.5931, allocations: 25.02 kB / 0.8574 GB, free: 21.44 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.5934, allocations: 182.8 kB / 0.8575 GB, free: 21.28 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.5934, allocations: 11.67 kB / 0.8575 GB, free: 21.28 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.266e-05/0.5934, allocations: 22.16 kB / 0.8576 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003602/0.5938, allocations: 188.4 kB / 0.8577 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.5938, allocations: 1.938 kB / 0.8577 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.5938, allocations: 7.812 kB / 0.8577 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.5938, allocations: 3.531 kB / 0.8577 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003383/0.5942, allocations: 149.8 kB / 0.8579 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007247/0.5949, allocations: 482.4 kB / 0.8584 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004926/0.5954, allocations: 171 kB / 0.8585 GB, free: 20.81 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.5956, allocations: 100.5 kB / 0.8586 GB, free: 20.77 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.5956, allocations: 1.312 kB / 0.8586 GB, free: 20.77 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003454/0.5959, allocations: 230.1 kB / 0.8588 GB, free: 20.62 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.382e-06/0.5959, allocations: 0.5312 kB / 0.8588 GB, free: 20.62 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001471/0.5974, allocations: 0.7031 MB / 0.8595 GB, free: 20.26 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.5975, allocations: 137.2 kB / 0.8596 GB, free: 20.11 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.5977, allocations: 215.4 kB / 0.8599 GB, free: 20 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.5977, allocations: 35.27 kB / 0.8599 GB, free: 19.97 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.244e-05/0.5977, allocations: 138.8 kB / 0.86 GB, free: 19.87 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/0.5978, allocations: 70.33 kB / 0.8601 GB, free: 19.83 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.277e-05/0.5979, allocations: 49.58 kB / 0.8601 GB, free: 19.81 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.281e-05/0.5979, allocations: 339.6 kB / 0.8605 GB, free: 19.5 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.5981, allocations: 143.8 kB / 0.8606 GB, free: 19.42 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.5984, allocations: 225.7 kB / 0.8608 GB, free: 19.25 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003631/0.5987, allocations: 274.5 kB / 0.8611 GB, free: 19.09 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5987, allocations: 1.828 kB / 0.8611 GB, free: 19.09 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000541/0.5993, allocations: 394.5 kB / 0.8615 GB, free: 18.91 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.615e-05/0.5993, allocations: 61.86 kB / 0.8615 GB, free: 18.85 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.5993, allocations: 8.5 kB / 0.8615 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.5993, allocations: 2.906 kB / 0.8615 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.5995, allocations: 48.12 kB / 0.8616 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.5996, allocations: 5.484 kB / 0.8616 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.5997, allocations: 20.88 kB / 0.8616 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.5998, allocations: 17.7 kB / 0.8616 GB, free: 18.84 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.0001697/0.5999, allocations: 174.2 kB / 0.8618 GB, free: 18.69 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.6, allocations: 23.27 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.521e-05/0.6, allocations: 28.22 kB / 0.8618 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.6, allocations: 4.406 kB / 0.8618 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.6, allocations: 0.7188 kB / 0.8618 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.6, allocations: 4.312 kB / 0.8618 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00068/0.6007, allocations: 0.539 MB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.6007, allocations: 0.7188 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.6009, allocations: 36.06 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.6009, allocations: 2.25 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.6009, allocations: 6.484 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.6009, allocations: 8.562 kB / 0.8624 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.6009, allocations: 1.562 kB / 0.8624 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006864/0.6016, allocations: 0.4943 MB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.548e-05/0.6016, allocations: 21.48 kB / 0.8629 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/0.6017, allocations: 12.47 kB / 0.8629 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.6019, allocations: 16.88 kB / 0.8629 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.026e-05/0.6019, allocations: 21.16 kB / 0.863 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.602, allocations: 9.938 kB / 0.863 GB, free: 18.09 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001229/0.6021, allocations: 158 kB / 0.8631 GB, free: 18.01 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.6021, allocations: 3.5 kB / 0.8631 GB, free: 18.01 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000313/0.6024, allocations: 55.25 kB / 0.8632 GB, free: 18.01 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.0001157/0.6025, allocations: 116.8 kB / 0.8633 GB, free: 17.92 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005388/0.603, allocations: 380.3 kB / 0.8637 GB, free: 17.69 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.603, allocations: 2.406 kB / 0.8637 GB, free: 17.69 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002418/0.6033, allocations: 171.5 kB / 0.8638 GB, free: 17.59 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/0.6038, allocations: 64.78 kB / 0.8639 GB, free: 17.59 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.605, allocations: 0.6853 MB / 0.8646 GB, free: 17.27 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.6052, allocations: 127.1 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.6053, allocations: 19.73 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.012e-05/0.6054, allocations: 21.8 kB / 0.8647 GB, free: 17.19 MB / 490.8 MB Notification: Performance of SimCode: time 7.32e-07/0.6054, allocations: 4 kB / 0.8647 GB, free: 17.18 MB / 490.8 MB Notification: Performance of Templates: time 0.009044/0.6144, allocations: 3.644 MB / 0.8683 GB, free: 16.86 MB / 490.8 MB " [Timeout remaining time 659] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide_Grasela1984_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.365355016896501]