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.001174/0.001174, allocations: 92.52 kB / 19.94 MB, free: 4.602 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.00135/0.00135, allocations: 166.3 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.9806/0.9806, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.8147/0.8147, allocations: 291.1 MB / 0.5382 GB, free: 51.81 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.763e-06/1.763e-06, allocations: 0 / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.868e-05/3.045e-05, allocations: 6.219 kB / 0.6974 GB, free: 10.37 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide): time 0.002724/0.002754, allocations: 3.025 MB / 0.7003 GB, free: 7.324 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004624/0.007378, allocations: 6.639 MB / 0.7068 GB, free: 0.6758 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003099/0.007688, allocations: 4 kB / 0.7068 GB, free: 0.6719 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.007879, allocations: 47.56 kB / 0.7069 GB, free: 0.625 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003188/0.008198, allocations: 127 kB / 0.707 GB, free: 0.5 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.008547, allocations: 87.78 kB / 0.7071 GB, free: 424 kB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003362/0.008883, allocations: 429.9 kB / 0.7075 GB, free: 15.99 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002267/0.00911, allocations: 65.31 kB / 0.7075 GB, free: 15.93 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002511/0.009361, allocations: 227.5 kB / 0.7077 GB, free: 15.71 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.009637, allocations: 119.6 kB / 0.7079 GB, free: 15.59 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.713e-05/0.009684, allocations: 32 kB / 0.7079 GB, free: 15.56 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.893e-05/0.009723, allocations: 32 kB / 0.7079 GB, free: 15.53 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 5.036e-05/0.009774, allocations: 75.67 kB / 0.708 GB, free: 15.45 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.009884, allocations: 119.8 kB / 0.7081 GB, free: 15.34 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003401/0.01022, allocations: 366.9 kB / 0.7085 GB, free: 14.98 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.01023, allocations: 0 / 0.7085 GB, free: 14.98 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.623e-06/0.01023, allocations: 0 / 0.7085 GB, free: 14.98 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.01024, allocations: 0 / 0.7085 GB, free: 14.98 MB / 426.8 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.0008977/0.01113, allocations: 0.5959 MB / 0.709 GB, free: 14.33 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.205e-05/0.0112, allocations: 16.03 kB / 0.7091 GB, free: 14.32 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.678e-05/0.01127, allocations: 44.64 kB / 0.7091 GB, free: 14.27 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.01157, allocations: 224.7 kB / 0.7093 GB, free: 14.03 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.0116, allocations: 12.88 kB / 0.7093 GB, free: 14.02 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.173e-05/0.01164, allocations: 32.31 kB / 0.7094 GB, free: 13.99 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003649/0.012, allocations: 306.2 kB / 0.7096 GB, free: 13.66 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.01202, allocations: 3.984 kB / 0.7097 GB, free: 13.66 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.01204, allocations: 12 kB / 0.7097 GB, free: 13.64 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.01205, allocations: 4 kB / 0.7097 GB, free: 13.64 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002997/0.01235, allocations: 252.2 kB / 0.7099 GB, free: 13.38 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007494/0.0131, allocations: 0.6504 MB / 0.7105 GB, free: 12.7 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004362/0.01353, allocations: 270 kB / 0.7108 GB, free: 12.41 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.01369, allocations: 156.4 kB / 0.7109 GB, free: 12.24 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.0137, allocations: 11.94 kB / 0.711 GB, free: 12.23 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003325/0.01403, allocations: 374.7 kB / 0.7113 GB, free: 11.82 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.933e-06/0.01404, allocations: 0 / 0.7113 GB, free: 11.82 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.001346/0.01538, allocations: 1.127 MB / 0.7124 GB, free: 10.59 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.653e-05/0.01547, allocations: 221.6 kB / 0.7126 GB, free: 10.33 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.01565, allocations: 253.8 kB / 0.7129 GB, free: 10.07 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.01567, allocations: 37.7 kB / 0.7129 GB, free: 10.03 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.916e-05/0.01575, allocations: 156.9 kB / 0.7131 GB, free: 9.871 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.019e-05/0.01581, allocations: 119 kB / 0.7132 GB, free: 9.754 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-05/0.01589, allocations: 74.16 kB / 0.7132 GB, free: 9.676 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.864e-05/0.01598, allocations: 346.7 kB / 0.7136 GB, free: 9.328 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.01618, allocations: 219.9 kB / 0.7138 GB, free: 9.094 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.01641, allocations: 338.8 kB / 0.7141 GB, free: 8.695 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/0.01677, allocations: 454.2 kB / 0.7145 GB, free: 8.184 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01678, allocations: 0 / 0.7145 GB, free: 8.184 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005285/0.01731, allocations: 0.5733 MB / 0.7151 GB, free: 7.566 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.134e-05/0.01736, allocations: 97.09 kB / 0.7152 GB, free: 7.453 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.01736, allocations: 0 / 0.7152 GB, free: 7.453 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.01738, allocations: 8 kB / 0.7152 GB, free: 7.445 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.01756, allocations: 75.83 kB / 0.7153 GB, free: 7.371 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.01756, allocations: 8 kB / 0.7153 GB, free: 7.363 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.01768, allocations: 23.98 kB / 0.7153 GB, free: 7.34 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.0177, allocations: 19.98 kB / 0.7153 GB, free: 7.32 MB / 426.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.0002078/0.01791, allocations: 248.8 kB / 0.7156 GB, free: 7.059 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.01794, allocations: 31.81 kB / 0.7156 GB, free: 7.027 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.294e-05/0.01798, allocations: 38.95 kB / 0.7156 GB, free: 6.988 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.01798, allocations: 0 / 0.7156 GB, free: 6.988 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.01799, allocations: 0 / 0.7156 GB, free: 6.988 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.01799, allocations: 4 kB / 0.7156 GB, free: 6.984 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007552/0.01875, allocations: 0.825 MB / 0.7164 GB, free: 6.102 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01875, allocations: 0 / 0.7164 GB, free: 6.102 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.01891, allocations: 51.97 kB / 0.7165 GB, free: 6.051 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.01891, allocations: 0 / 0.7165 GB, free: 6.051 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.01893, allocations: 15.98 kB / 0.7165 GB, free: 6.035 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.01894, allocations: 8 kB / 0.7165 GB, free: 6.027 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01894, allocations: 0 / 0.7165 GB, free: 6.027 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006526/0.01959, allocations: 0.7678 MB / 0.7173 GB, free: 5.207 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.013e-05/0.01967, allocations: 59.77 kB / 0.7173 GB, free: 5.148 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.01971, allocations: 16 kB / 0.7173 GB, free: 5.133 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.967e-05/0.01981, allocations: 15.98 kB / 0.7173 GB, free: 5.117 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/0.01989, allocations: 31.94 kB / 0.7174 GB, free: 5.086 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.0199, allocations: 15.94 kB / 0.7174 GB, free: 5.07 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.000117/0.02002, allocations: 189.2 kB / 0.7176 GB, free: 4.887 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.02002, allocations: 0 / 0.7176 GB, free: 4.887 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.000229/0.02025, allocations: 84 kB / 0.7177 GB, free: 4.805 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * 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.000127/0.02038, allocations: 134.5 kB / 0.7178 GB, free: 4.668 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0005013/0.02088, allocations: 0.5842 MB / 0.7183 GB, free: 4.016 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.02088, allocations: 0 / 0.7183 GB, free: 4.016 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.0211, allocations: 314.1 kB / 0.7186 GB, free: 3.672 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.02147, allocations: 81.14 kB / 0.7187 GB, free: 3.59 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.02256, allocations: 0.8907 MB / 0.7196 GB, free: 2.656 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.02268, allocations: 168.2 kB / 0.7198 GB, free: 2.469 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.191e-05/0.02275, allocations: 32.5 kB / 0.7198 GB, free: 2.438 MB / 426.8 MB Notification: Performance of SimCode: time 9.32e-07/0.02275, allocations: 0 / 0.7198 GB, free: 2.438 MB / 426.8 MB Notification: Performance of Templates: time 0.1956/0.2184, allocations: 4.371 MB / 0.7241 GB, free: 36.18 MB / 426.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 > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01B_AntiarrhythmicsClassIAndIii.C01BC04_Flecainide.Flecainide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.1006791070103645]