Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide.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.001023/0.001023, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001432/0.002454, allocations: 443.9 kB / 10.36 MB, free: 332 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.00104/0.00104, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001327/0.002367, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.9993/0.9993, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08607/1.085, allocations: 53.67 MB / 243.3 MB, free: 15.58 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.7779/0.7779, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03349/0.8114, allocations: 21.05 MB / 0.5432 GB, free: 31.95 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.C01BC04_Flecainide.Flecainide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.285e-05, allocations: 6.312 kB / 0.5446 GB, free: 30.53 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide): time 0.003129/0.003152, allocations: 3.311 MB / 0.5478 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004346/0.007498, allocations: 6.809 MB / 0.5545 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001781/0.007676, allocations: 4 kB / 0.5545 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.007779, allocations: 39.56 kB / 0.5545 GB, free: 20.35 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002031/0.007982, allocations: 134.9 kB / 0.5546 GB, free: 20.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.00816, allocations: 83.91 kB / 0.5547 GB, free: 20.13 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002492/0.008409, allocations: 433.8 kB / 0.5551 GB, free: 19.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.008565, allocations: 75.3 kB / 0.5552 GB, free: 19.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.008788, allocations: 270.5 kB / 0.5555 GB, free: 19.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.008964, allocations: 127.6 kB / 0.5556 GB, free: 19.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.221e-05/0.008996, allocations: 32 kB / 0.5556 GB, free: 19.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.127e-05/0.009028, allocations: 32 kB / 0.5556 GB, free: 19.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.397e-05/0.009062, allocations: 47.81 kB / 0.5557 GB, free: 19.13 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.753e-05/0.009139, allocations: 103.8 kB / 0.5558 GB, free: 19.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.009351, allocations: 223.2 kB / 0.556 GB, free: 18.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.222e-05/0.009363, allocations: 0 / 0.556 GB, free: 18.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.009364, allocations: 0 / 0.556 GB, free: 18.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.009376, allocations: 4 kB / 0.556 GB, free: 18.81 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006126/0.009988, allocations: 0.6434 MB / 0.5566 GB, free: 18.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.01002, allocations: 19.84 kB / 0.5567 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.175e-05/0.01007, allocations: 32.91 kB / 0.5567 GB, free: 18.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.01024, allocations: 205.5 kB / 0.5569 GB, free: 17.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.01027, allocations: 16.88 kB / 0.5569 GB, free: 17.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.261e-05/0.0103, allocations: 28.33 kB / 0.5569 GB, free: 17.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.01051, allocations: 246.1 kB / 0.5572 GB, free: 17.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.01052, allocations: 0 / 0.5572 GB, free: 17.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.01053, allocations: 8 kB / 0.5572 GB, free: 17.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.01054, allocations: 4 kB / 0.5572 GB, free: 17.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.01065, allocations: 142.6 kB / 0.5573 GB, free: 17.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005031/0.01115, allocations: 477 kB / 0.5578 GB, free: 16.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.01137, allocations: 176.1 kB / 0.5579 GB, free: 16.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.774e-05/0.01143, allocations: 111.1 kB / 0.558 GB, free: 16.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.01144, allocations: 7.938 kB / 0.558 GB, free: 16.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001813/0.01162, allocations: 327.4 kB / 0.5584 GB, free: 16.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.764e-06/0.01162, allocations: 0 / 0.5584 GB, free: 16.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007415/0.01236, allocations: 0.8346 MB / 0.5592 GB, free: 15.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.01241, allocations: 277 kB / 0.5594 GB, free: 14.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2723/0.2847, allocations: 229.5 kB / 0.5597 GB, free: 78.78 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.336e-05/0.2848, allocations: 34.27 kB / 0.5597 GB, free: 78.75 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.113e-05/0.2849, allocations: 138.2 kB / 0.5598 GB, free: 78.67 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.593e-05/0.2849, allocations: 121 kB / 0.5599 GB, free: 78.62 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.29e-05/0.285, allocations: 78.05 kB / 0.56 GB, free: 78.61 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.414e-05/0.2851, allocations: 349.8 kB / 0.5603 GB, free: 78.29 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.2852, allocations: 144.4 kB / 0.5605 GB, free: 78.19 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.2853, allocations: 250.4 kB / 0.5607 GB, free: 77.96 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.2855, allocations: 335.5 kB / 0.561 GB, free: 77.71 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.2855, allocations: 1.625 kB / 0.561 GB, free: 77.71 MB / 410.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003197/0.2859, allocations: 390.6 kB / 0.5614 GB, free: 77.49 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.876e-05/0.2859, allocations: 91.67 kB / 0.5615 GB, free: 77.39 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.2859, allocations: 3.281 kB / 0.5615 GB, free: 77.39 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.286, allocations: 9.219 kB / 0.5615 GB, free: 77.39 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.2863, allocations: 109.2 kB / 0.5616 GB, free: 77.39 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.2863, allocations: 7.984 kB / 0.5616 GB, free: 77.39 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.2865, allocations: 23.27 kB / 0.5616 GB, free: 77.39 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.2865, allocations: 14.38 kB / 0.5617 GB, free: 77.39 MB / 410.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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: 12 * Number of states: 0 () * Number of discrete variables: 21 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 3 * 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.000206/0.2867, allocations: 217.3 kB / 0.5619 GB, free: 77.22 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.2868, allocations: 35.98 kB / 0.5619 GB, free: 77.21 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.729e-05/0.2868, allocations: 35.62 kB / 0.5619 GB, free: 77.21 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2868, allocations: 1.312 kB / 0.5619 GB, free: 77.21 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.2868, allocations: 1.328 kB / 0.5619 GB, free: 77.21 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.037e-05/0.2869, allocations: 37.25 kB / 0.562 GB, free: 77.2 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.2869, allocations: 12.62 kB / 0.562 GB, free: 77.2 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/0.287, allocations: 16.38 kB / 0.562 GB, free: 77.2 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.2871, allocations: 16.98 kB / 0.562 GB, free: 77.2 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.767e-05/0.2871, allocations: 24.3 kB / 0.562 GB, free: 77.2 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003654/0.2875, allocations: 405.2 kB / 0.5624 GB, free: 76.96 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003721/0.2879, allocations: 0.5944 MB / 0.563 GB, free: 76.56 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001136/0.288, allocations: 151.5 kB / 0.5632 GB, free: 76.49 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.478e-05/0.2881, allocations: 80.67 kB / 0.5632 GB, free: 76.48 MB / 410.8 MB Notification: Performance of Backend: time 2.61e-07/0.2881, allocations: 0 / 0.5632 GB, free: 76.48 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000417/0.2885, allocations: 487.8 kB / 0.5637 GB, free: 76.14 MB / 410.8 MB Notification: Performance of SimCode: time 0.007687/0.2962, allocations: 1.365 MB / 0.565 GB, free: 75.18 MB / 410.8 MB Notification: Performance of Templates: time 0.007699/0.3039, allocations: 5.546 MB / 0.5704 GB, free: 74.03 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9908099668100476]