Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide.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.001905/0.001905, allocations: 88.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.002326/0.002326, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.63/1.63, allocations: 177.1 MB / 202.8 MB, free: 5.762 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.259/1.259, allocations: 292.9 MB / 0.5392 GB, free: 50.2 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.6999 GB, free: 9.562 MB / 458.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.021e-05/3.188e-05, allocations: 6.281 kB / 0.6999 GB, free: 9.555 MB / 458.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide): time 0.01562/0.01565, allocations: 3.023 MB / 0.7029 GB, free: 6.516 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02383/0.03949, allocations: 6.639 MB / 0.7094 GB, free: 15.87 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002889/0.03978, allocations: 0 / 0.7094 GB, free: 15.87 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001948/0.03997, allocations: 43.58 kB / 0.7094 GB, free: 15.82 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004473/0.04042, allocations: 134.9 kB / 0.7095 GB, free: 15.69 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.04077, allocations: 91.77 kB / 0.7096 GB, free: 15.6 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007091/0.04148, allocations: 425.8 kB / 0.71 GB, free: 15.18 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000217/0.04169, allocations: 61.41 kB / 0.7101 GB, free: 15.12 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004066/0.0421, allocations: 227.5 kB / 0.7103 GB, free: 14.9 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003364/0.04546, allocations: 115.7 kB / 0.7104 GB, free: 14.79 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 7.446e-05/0.04554, allocations: 36 kB / 0.7104 GB, free: 14.75 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.564e-05/0.04562, allocations: 36 kB / 0.7105 GB, free: 14.71 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 9.043e-05/0.04571, allocations: 67.69 kB / 0.7105 GB, free: 14.65 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002201/0.04593, allocations: 123.7 kB / 0.7107 GB, free: 14.53 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0006289/0.04656, allocations: 366.9 kB / 0.711 GB, free: 14.17 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.04657, allocations: 0 / 0.711 GB, free: 14.17 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.543e-06/0.04657, allocations: 3.938 kB / 0.711 GB, free: 14.16 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.04658, allocations: 0 / 0.711 GB, free: 14.16 MB / 474.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.001316/0.04789, allocations: 0.6076 MB / 0.7116 GB, free: 13.51 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.04793, allocations: 8.031 kB / 0.7116 GB, free: 13.5 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.788e-05/0.04802, allocations: 36.7 kB / 0.7116 GB, free: 13.46 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003823/0.0484, allocations: 228.7 kB / 0.7119 GB, free: 13.21 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.04842, allocations: 12.88 kB / 0.7119 GB, free: 13.2 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.429e-05/0.04849, allocations: 28.33 kB / 0.7119 GB, free: 13.17 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008452/0.04933, allocations: 306.2 kB / 0.7122 GB, free: 12.85 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.04936, allocations: 7.984 kB / 0.7122 GB, free: 12.84 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.04938, allocations: 4 kB / 0.7122 GB, free: 12.84 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.04939, allocations: 15.94 kB / 0.7122 GB, free: 12.82 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005596/0.04995, allocations: 248.2 kB / 0.7125 GB, free: 12.57 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.05115, allocations: 0.6426 MB / 0.7131 GB, free: 11.89 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006826/0.05183, allocations: 270 kB / 0.7133 GB, free: 11.61 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/0.05214, allocations: 164.4 kB / 0.7135 GB, free: 11.43 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.05216, allocations: 4.219 kB / 0.7135 GB, free: 11.43 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00057/0.05273, allocations: 375.3 kB / 0.7139 GB, free: 11.01 MB / 474.8 MB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.05273, allocations: 0 / 0.7139 GB, free: 11.01 MB / 474.8 MB Notification: Performance of matching and sorting (n=35): time 0.002318/0.05505, allocations: 1.131 MB / 0.715 GB, free: 9.781 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001642/0.05521, allocations: 221.6 kB / 0.7152 GB, free: 9.516 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.05551, allocations: 249.9 kB / 0.7154 GB, free: 9.266 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/0.05555, allocations: 37.7 kB / 0.7154 GB, free: 9.223 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.05569, allocations: 160.8 kB / 0.7156 GB, free: 9.059 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.05581, allocations: 115.1 kB / 0.7157 GB, free: 8.945 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.05594, allocations: 78.14 kB / 0.7158 GB, free: 8.863 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.05614, allocations: 342.8 kB / 0.7161 GB, free: 8.52 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003747/0.05651, allocations: 223.9 kB / 0.7163 GB, free: 8.277 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004737/0.05699, allocations: 333.7 kB / 0.7166 GB, free: 7.891 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007024/0.05769, allocations: 450.4 kB / 0.7171 GB, free: 7.383 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.05769, allocations: 0 / 0.7171 GB, free: 7.383 MB / 474.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009964/0.05869, allocations: 0.5733 MB / 0.7176 GB, free: 6.766 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.177e-05/0.05877, allocations: 89.11 kB / 0.7177 GB, free: 6.66 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.05878, allocations: 7.984 kB / 0.7177 GB, free: 6.652 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.0588, allocations: 4 kB / 0.7177 GB, free: 6.648 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/0.05914, allocations: 79.83 kB / 0.7178 GB, free: 6.57 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.05915, allocations: 4 kB / 0.7178 GB, free: 6.566 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.05938, allocations: 23.98 kB / 0.7178 GB, free: 6.543 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.05942, allocations: 16.12 kB / 0.7179 GB, free: 6.527 MB / 474.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.0002996/0.05972, allocations: 251 kB / 0.7181 GB, free: 6.266 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.475e-05/0.05977, allocations: 39.73 kB / 0.7181 GB, free: 6.227 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.277e-05/0.05984, allocations: 30.97 kB / 0.7182 GB, free: 6.199 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.05985, allocations: 7.984 kB / 0.7182 GB, free: 6.191 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.05986, allocations: 0 / 0.7182 GB, free: 6.191 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.05986, allocations: 0 / 0.7182 GB, free: 6.191 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.06145, allocations: 0.8214 MB / 0.719 GB, free: 5.309 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.06145, allocations: 0 / 0.719 GB, free: 5.309 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003112/0.06176, allocations: 51.95 kB / 0.719 GB, free: 5.258 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.06177, allocations: 8 kB / 0.719 GB, free: 5.25 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.111e-05/0.0618, allocations: 12 kB / 0.719 GB, free: 5.238 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.0618, allocations: 0 / 0.719 GB, free: 5.238 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.0618, allocations: 0 / 0.719 GB, free: 5.238 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.06309, allocations: 0.7756 MB / 0.7198 GB, free: 4.41 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.06322, allocations: 55.77 kB / 0.7198 GB, free: 4.355 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.405e-05/0.06328, allocations: 12 kB / 0.7199 GB, free: 4.344 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.06349, allocations: 19.98 kB / 0.7199 GB, free: 4.324 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.0636, allocations: 27.95 kB / 0.7199 GB, free: 4.297 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.06363, allocations: 19.92 kB / 0.7199 GB, free: 4.277 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.0002271/0.06386, allocations: 181.2 kB / 0.7201 GB, free: 4.098 MB / 474.8 MB Notification: Performance of sort global known variables: time 1e-07/0.06386, allocations: 0 / 0.7201 GB, free: 4.098 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0003658/0.06422, allocations: 84 kB / 0.7202 GB, free: 4.016 MB / 474.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.000179/0.0644, allocations: 127.2 kB / 0.7203 GB, free: 3.879 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0009514/0.06535, allocations: 0.592 MB / 0.7209 GB, free: 3.219 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.06535, allocations: 0 / 0.7209 GB, free: 3.219 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004573/0.06581, allocations: 310.8 kB / 0.7212 GB, free: 2.879 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005396/0.06635, allocations: 88.38 kB / 0.7213 GB, free: 2.793 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.06802, allocations: 0.8654 MB / 0.7221 GB, free: 1.887 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.0682, allocations: 164.2 kB / 0.7223 GB, free: 1.707 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.000139/0.06834, allocations: 38.95 kB / 0.7223 GB, free: 1.672 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.93e-05/0.06842, allocations: 32.5 kB / 0.7223 GB, free: 1.641 MB / 474.8 MB Notification: Performance of SimCode: time 5.51e-07/0.06842, allocations: 3.938 kB / 0.7223 GB, free: 1.637 MB / 474.8 MB Notification: Performance of Templates: time 0.01066/0.07908, allocations: 4.821 MB / 0.727 GB, free: 13.02 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.697282748064026]