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.0006389/0.0006389, allocations: 72.19 kB / 9.919 MB, free: 0.7695 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0007948/0.001434, allocations: 447.8 kB / 10.36 MB, free: 340 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.0006745/0.0006745, allocations: 161.1 kB / 11.24 MB, free: 2.93 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008139/0.001488, allocations: 467.6 kB / 11.7 MB, free: 2.469 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.9911/0.9911, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09682/1.088, allocations: 53.66 MB / 243.3 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.7734/0.7734, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03079/0.8042, allocations: 21.05 MB / 0.5432 GB, free: 31.96 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 7.12e-07/7.12e-07, allocations: 0 / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.263e-06/7.975e-06, allocations: 2.312 kB / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide): time 0.00238/0.002388, allocations: 2.51 MB / 0.547 GB, free: 28.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01036/0.01275, allocations: 6.688 MB / 0.5535 GB, free: 21.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.997e-05/0.01283, allocations: 0 / 0.5535 GB, free: 21.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.898e-05/0.01288, allocations: 27.72 kB / 0.5535 GB, free: 21.31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.01301, allocations: 87.27 kB / 0.5536 GB, free: 21.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001056/0.01311, allocations: 55.86 kB / 0.5537 GB, free: 21.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.01328, allocations: 262.6 kB / 0.5539 GB, free: 20.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.983e-05/0.01335, allocations: 42.47 kB / 0.554 GB, free: 20.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.01351, allocations: 184.1 kB / 0.5542 GB, free: 20.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.01363, allocations: 83.73 kB / 0.5542 GB, free: 20.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.01366, allocations: 20 kB / 0.5543 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.41e-05/0.01368, allocations: 16 kB / 0.5543 GB, free: 20.58 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.488e-05/0.01371, allocations: 27.88 kB / 0.5543 GB, free: 20.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.544e-05/0.01376, allocations: 67.86 kB / 0.5544 GB, free: 20.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.0139, allocations: 139.5 kB / 0.5545 GB, free: 20.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.01391, allocations: 3.984 kB / 0.5545 GB, free: 20.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.01391, allocations: 0 / 0.5545 GB, free: 20.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.01392, allocations: 0 / 0.5545 GB, free: 20.34 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.0004107/0.01433, allocations: 0.5014 MB / 0.555 GB, free: 19.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.071e-05/0.01435, allocations: 15.84 kB / 0.555 GB, free: 19.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.01439, allocations: 24.92 kB / 0.555 GB, free: 19.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.01451, allocations: 175.1 kB / 0.5552 GB, free: 19.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.01452, allocations: 8.609 kB / 0.5552 GB, free: 19.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.01455, allocations: 16.38 kB / 0.5552 GB, free: 19.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.01469, allocations: 163.4 kB / 0.5554 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.01469, allocations: 0 / 0.5554 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.0147, allocations: 0 / 0.5554 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.01471, allocations: 4 kB / 0.5554 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.091e-05/0.01479, allocations: 84.69 kB / 0.5555 GB, free: 19.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003344/0.01512, allocations: 364.3 kB / 0.5558 GB, free: 18.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.01528, allocations: 120 kB / 0.5559 GB, free: 18.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.292e-05/0.01532, allocations: 58.55 kB / 0.556 GB, free: 18.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.01533, allocations: 4 kB / 0.556 GB, free: 18.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003137/0.01847, allocations: 192.4 kB / 0.5562 GB, free: 18.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.333e-06/0.01847, allocations: 4 kB / 0.5562 GB, free: 18.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004618/0.01893, allocations: 0.5005 MB / 0.5567 GB, free: 17.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.01896, allocations: 140.5 kB / 0.5568 GB, free: 17.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.176e-05/0.01905, allocations: 202.1 kB / 0.557 GB, free: 17.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.01906, allocations: 33.69 kB / 0.557 GB, free: 17.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.017e-05/0.01909, allocations: 120.4 kB / 0.5571 GB, free: 17.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.01913, allocations: 75.39 kB / 0.5572 GB, free: 17.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/0.01919, allocations: 59.12 kB / 0.5573 GB, free: 17.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.597e-05/0.01923, allocations: 338.8 kB / 0.5576 GB, free: 16.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.329e-05/0.01928, allocations: 97 kB / 0.5577 GB, free: 16.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.568e-05/0.01935, allocations: 169.4 kB / 0.5578 GB, free: 16.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.01947, allocations: 209.5 kB / 0.558 GB, free: 16.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.01947, allocations: 32 / 0.558 GB, free: 16.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001732/0.01964, allocations: 271.4 kB / 0.5583 GB, free: 16.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.01967, allocations: 63.39 kB / 0.5584 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.01967, allocations: 0 / 0.5584 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.941e-06/0.01968, allocations: 4 kB / 0.5584 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.01984, allocations: 63.89 kB / 0.5584 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.01985, allocations: 4.219 kB / 0.5584 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.719e-05/0.01995, allocations: 19.98 kB / 0.5584 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.01996, allocations: 15.94 kB / 0.5585 GB, free: 15.86 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.388e-05/0.02004, allocations: 169.6 kB / 0.5586 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.02007, allocations: 23.98 kB / 0.5586 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.632e-05/0.02009, allocations: 21.95 kB / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.0201, allocations: 0 / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.0201, allocations: 0 / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.133e-05/0.02012, allocations: 11.91 kB / 0.5587 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.02013, allocations: 19.06 kB / 0.5587 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.02016, allocations: 11.98 kB / 0.5587 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.489e-05/0.02022, allocations: 12 kB / 0.5587 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.02026, allocations: 15.95 kB / 0.5587 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001989/0.02046, allocations: 272.1 kB / 0.559 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002119/0.02067, allocations: 423.7 kB / 0.5594 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2774/0.2981, allocations: 77.06 kB / 0.5595 GB, free: 79.63 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001111/0.2982, allocations: 63.2 kB / 0.5595 GB, free: 79.62 MB / 410.8 MB Notification: Performance of Backend: time 3.81e-07/0.2982, allocations: 1.594 kB / 0.5595 GB, free: 79.62 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004459/0.2987, allocations: 339.2 kB / 0.5598 GB, free: 79.39 MB / 410.8 MB Notification: Performance of SimCode: time 0.005706/0.3044, allocations: 1.116 MB / 0.5609 GB, free: 78.58 MB / 410.8 MB Notification: Performance of Templates: time 0.00604/0.3104, allocations: 3.842 MB / 0.5647 GB, free: 78.43 MB / 410.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BA02_Procainamide.Procainamide.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.432598526589572]