Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide_Wu2026_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.002544/0.002544, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.00293/0.00293, allocations: 170.3 kB / 22.46 MB, free: 2.098 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 1.629/1.629, allocations: 177.1 MB / 202.8 MB, free: 5.77 MB / 186.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.264/1.264, allocations: 293 MB / 0.5393 GB, free: 49.63 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.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide_Wu2026_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide_Wu2026_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide_Wu2026_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide_Wu2026_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.7 GB, free: 8.535 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.889e-05/2.009e-05, allocations: 2.281 kB / 0.7 GB, free: 8.531 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide_Wu2026_reference): time 0.003519/0.003539, allocations: 3.003 MB / 0.7029 GB, free: 5.508 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005505/0.009044, allocations: 6.646 MB / 0.7094 GB, free: 14.85 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.009203, allocations: 4 kB / 0.7094 GB, free: 14.85 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.009345, allocations: 35.58 kB / 0.7094 GB, free: 14.81 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.009679, allocations: 134.9 kB / 0.7096 GB, free: 14.68 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.009947, allocations: 87.83 kB / 0.7096 GB, free: 14.59 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005037/0.01045, allocations: 429.9 kB / 0.71 GB, free: 14.17 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.01064, allocations: 70 kB / 0.7101 GB, free: 14.11 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002897/0.01093, allocations: 223.4 kB / 0.7103 GB, free: 13.89 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.0112, allocations: 127.6 kB / 0.7104 GB, free: 13.76 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 5.578e-05/0.01126, allocations: 36 kB / 0.7105 GB, free: 13.73 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.013e-05/0.01132, allocations: 32 kB / 0.7105 GB, free: 13.7 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 7.44e-05/0.01139, allocations: 67.64 kB / 0.7106 GB, free: 13.63 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.01156, allocations: 127.7 kB / 0.7107 GB, free: 13.5 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004552/0.01201, allocations: 363 kB / 0.711 GB, free: 13.15 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.01202, allocations: 0 / 0.711 GB, free: 13.15 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01202, allocations: 0 / 0.711 GB, free: 13.15 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.01202, allocations: 0 / 0.711 GB, free: 13.15 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.001144/0.01317, allocations: 0.6037 MB / 0.7116 GB, free: 12.5 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.01321, allocations: 12.03 kB / 0.7116 GB, free: 12.48 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.888e-05/0.01329, allocations: 40.7 kB / 0.7117 GB, free: 12.45 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.01364, allocations: 220.7 kB / 0.7119 GB, free: 12.21 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/0.01367, allocations: 20.88 kB / 0.7119 GB, free: 12.19 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.192e-05/0.01372, allocations: 24.33 kB / 0.7119 GB, free: 12.16 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005708/0.0143, allocations: 310.1 kB / 0.7122 GB, free: 11.83 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.01431, allocations: 4 kB / 0.7122 GB, free: 11.83 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.01434, allocations: 8 kB / 0.7122 GB, free: 11.82 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.01435, allocations: 8 kB / 0.7123 GB, free: 11.81 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006044/0.01495, allocations: 244.2 kB / 0.7125 GB, free: 11.56 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.01612, allocations: 0.6543 MB / 0.7131 GB, free: 10.87 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006768/0.01679, allocations: 266.7 kB / 0.7134 GB, free: 10.59 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/0.01708, allocations: 160.4 kB / 0.7135 GB, free: 10.42 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.0171, allocations: 4 kB / 0.7135 GB, free: 10.41 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005608/0.01766, allocations: 375.4 kB / 0.7139 GB, free: 9.996 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.483e-06/0.01766, allocations: 0 / 0.7139 GB, free: 9.996 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.002288/0.01995, allocations: 1.135 MB / 0.715 GB, free: 8.766 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001605/0.02011, allocations: 221.6 kB / 0.7152 GB, free: 8.5 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.02041, allocations: 249.9 kB / 0.7155 GB, free: 8.25 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.449e-05/0.02045, allocations: 33.7 kB / 0.7155 GB, free: 8.211 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.02059, allocations: 156.8 kB / 0.7156 GB, free: 8.051 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.0207, allocations: 119.1 kB / 0.7157 GB, free: 7.934 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.02083, allocations: 70.19 kB / 0.7158 GB, free: 7.859 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.02103, allocations: 350.7 kB / 0.7161 GB, free: 7.508 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/0.02141, allocations: 219.9 kB / 0.7164 GB, free: 7.273 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000458/0.02187, allocations: 326.8 kB / 0.7167 GB, free: 6.887 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007051/0.02257, allocations: 454.2 kB / 0.7171 GB, free: 6.375 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.02258, allocations: 7.938 kB / 0.7171 GB, free: 6.367 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009751/0.02355, allocations: 0.5809 MB / 0.7177 GB, free: 5.742 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.395e-05/0.02364, allocations: 90.81 kB / 0.7178 GB, free: 5.637 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.02364, allocations: 4 kB / 0.7178 GB, free: 5.633 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.02366, allocations: 4 kB / 0.7178 GB, free: 5.629 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.02398, allocations: 79.89 kB / 0.7178 GB, free: 5.551 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.024, allocations: 11.94 kB / 0.7179 GB, free: 5.539 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.02422, allocations: 15.98 kB / 0.7179 GB, free: 5.523 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/0.02426, allocations: 24.19 kB / 0.7179 GB, free: 5.5 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.0003094/0.02457, allocations: 251.6 kB / 0.7181 GB, free: 5.234 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.158e-05/0.02463, allocations: 31.81 kB / 0.7182 GB, free: 5.203 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.319e-05/0.0247, allocations: 30.95 kB / 0.7182 GB, free: 5.172 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.0247, allocations: 4 kB / 0.7182 GB, free: 5.168 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.02471, allocations: 0 / 0.7182 GB, free: 5.168 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.02471, allocations: 0 / 0.7182 GB, free: 5.168 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.02603, allocations: 0.825 MB / 0.719 GB, free: 4.285 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.02603, allocations: 0 / 0.719 GB, free: 4.285 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/0.02635, allocations: 59.95 kB / 0.7191 GB, free: 4.227 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.02635, allocations: 3.938 kB / 0.7191 GB, free: 4.223 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.02638, allocations: 8 kB / 0.7191 GB, free: 4.215 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.02639, allocations: 4 kB / 0.7191 GB, free: 4.211 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.02639, allocations: 3.984 kB / 0.7191 GB, free: 4.207 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1914/0.2178, allocations: 0.7628 MB / 0.7198 GB, free: 37.14 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/0.2181, allocations: 52.59 kB / 0.7199 GB, free: 37.14 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.144e-05/0.2181, allocations: 16.19 kB / 0.7199 GB, free: 37.14 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/0.2185, allocations: 15.84 kB / 0.7199 GB, free: 37.14 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.2186, allocations: 31.06 kB / 0.7199 GB, free: 37.14 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.671e-05/0.2186, allocations: 17.02 kB / 0.72 GB, free: 37.14 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002176/0.2189, allocations: 183.5 kB / 0.7201 GB, free: 37.07 MB / 426.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2189, allocations: 0 / 0.7201 GB, free: 37.07 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0006013/0.2195, allocations: 88.19 kB / 0.7202 GB, free: 37.07 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.0001535/0.2196, allocations: 130.2 kB / 0.7203 GB, free: 36.98 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.000974/0.2206, allocations: 0.5816 MB / 0.7209 GB, free: 36.64 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2206, allocations: 0 / 0.7209 GB, free: 36.64 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004494/0.221, allocations: 320.6 kB / 0.7212 GB, free: 36.45 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008121/0.2218, allocations: 89.12 kB / 0.7213 GB, free: 36.45 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.2236, allocations: 0.8601 MB / 0.7221 GB, free: 36.02 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.2238, allocations: 162.9 kB / 0.7223 GB, free: 35.93 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001889/0.224, allocations: 37 kB / 0.7223 GB, free: 35.93 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.2241, allocations: 33.2 kB / 0.7224 GB, free: 35.92 MB / 426.8 MB Notification: Performance of SimCode: time 5.31e-07/0.2241, allocations: 0 / 0.7224 GB, free: 35.92 MB / 426.8 MB Notification: Performance of Templates: time 0.01266/0.2368, allocations: 4.839 MB / 0.7271 GB, free: 35.47 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide_Wu2026_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide_Wu2026_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide_Wu2026_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide_Wu2026_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide_Wu2026_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide_Wu2026_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide_Wu2026_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.900354231940582]