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.001085/0.001085, allocations: 92.42 kB / 19.94 MB, free: 4.605 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.001417/0.001417, allocations: 169.9 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.9194/0.9194, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.6561/0.6561, 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.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.623e-06/1.623e-06, allocations: 0 / 0.6974 GB, free: 10.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.658e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide): time 0.003468/0.003494, allocations: 3.027 MB / 0.7003 GB, free: 7.336 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.003988/0.007482, allocations: 6.643 MB / 0.7068 GB, free: 0.6836 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.007644, allocations: 0 / 0.7068 GB, free: 0.6836 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.007771, allocations: 39.58 kB / 0.7068 GB, free: 0.6445 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.007992, allocations: 134.9 kB / 0.707 GB, free: 0.5117 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.008223, allocations: 87.77 kB / 0.707 GB, free: 436 kB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.008468, allocations: 429.9 kB / 0.7075 GB, free: 4 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.008636, allocations: 69.34 kB / 0.7075 GB, free: 15.94 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.008837, allocations: 219.5 kB / 0.7077 GB, free: 15.72 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.009039, allocations: 123.6 kB / 0.7079 GB, free: 15.6 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.602e-05/0.009075, allocations: 32 kB / 0.7079 GB, free: 15.57 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.174e-05/0.009117, allocations: 32 kB / 0.7079 GB, free: 15.54 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.196e-05/0.009159, allocations: 75.67 kB / 0.708 GB, free: 15.46 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 9.446e-05/0.009253, allocations: 119.7 kB / 0.7081 GB, free: 15.35 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.009529, allocations: 363 kB / 0.7084 GB, free: 14.99 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.009533, allocations: 3.938 kB / 0.7084 GB, free: 14.99 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.994e-06/0.009535, allocations: 0 / 0.7084 GB, free: 14.99 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.009542, allocations: 3.984 kB / 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.0007444/0.01029, allocations: 0.5998 MB / 0.709 GB, free: 14.34 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.01032, allocations: 12.03 kB / 0.709 GB, free: 14.32 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.706e-05/0.01038, allocations: 36.7 kB / 0.7091 GB, free: 14.29 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.01061, allocations: 224.7 kB / 0.7093 GB, free: 14.05 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.01063, allocations: 12.88 kB / 0.7093 GB, free: 14.04 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/0.01066, allocations: 28.33 kB / 0.7093 GB, free: 14.01 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.011, allocations: 306.2 kB / 0.7096 GB, free: 13.68 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.01101, allocations: 4 kB / 0.7096 GB, free: 13.68 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.01104, allocations: 8 kB / 0.7096 GB, free: 13.67 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.01104, allocations: 8 kB / 0.7096 GB, free: 13.66 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.01133, allocations: 256.2 kB / 0.7099 GB, free: 13.4 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007505/0.01208, allocations: 0.6504 MB / 0.7105 GB, free: 12.71 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004022/0.01249, allocations: 274 kB / 0.7108 GB, free: 12.42 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.01264, allocations: 160.4 kB / 0.7109 GB, free: 12.25 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.809e-06/0.01265, allocations: 4 kB / 0.7109 GB, free: 12.25 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000314/0.01296, allocations: 378.4 kB / 0.7113 GB, free: 11.83 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.924e-06/0.01296, allocations: 0 / 0.7113 GB, free: 11.83 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.001487/0.01445, allocations: 1.139 MB / 0.7124 GB, free: 10.59 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/0.01452, allocations: 217.6 kB / 0.7126 GB, free: 10.33 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.01469, allocations: 257.9 kB / 0.7129 GB, free: 10.07 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.01471, allocations: 33.7 kB / 0.7129 GB, free: 10.04 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.807e-05/0.01478, allocations: 152.9 kB / 0.7131 GB, free: 9.879 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.616e-05/0.01484, allocations: 119.1 kB / 0.7132 GB, free: 9.762 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-05/0.01491, allocations: 70.19 kB / 0.7132 GB, free: 9.688 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.935e-05/0.015, allocations: 346.7 kB / 0.7136 GB, free: 9.34 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.0152, allocations: 219.8 kB / 0.7138 GB, free: 9.105 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.01541, allocations: 334.8 kB / 0.7141 GB, free: 8.711 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/0.01577, allocations: 454.2 kB / 0.7145 GB, free: 8.199 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.01577, allocations: 0 / 0.7145 GB, free: 8.199 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005047/0.01627, allocations: 0.581 MB / 0.7151 GB, free: 7.574 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.848e-05/0.01632, allocations: 95.44 kB / 0.7152 GB, free: 7.465 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.01633, allocations: 4 kB / 0.7152 GB, free: 7.461 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.01634, allocations: 4 kB / 0.7152 GB, free: 7.457 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.01651, allocations: 83.83 kB / 0.7153 GB, free: 7.375 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.01651, allocations: 4 kB / 0.7153 GB, free: 7.371 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.01662, allocations: 19.98 kB / 0.7153 GB, free: 7.352 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.01664, allocations: 16 kB / 0.7153 GB, free: 7.336 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.0001916/0.01683, allocations: 250.9 kB / 0.7155 GB, free: 7.074 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.01686, allocations: 31.81 kB / 0.7156 GB, free: 7.043 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.962e-05/0.0169, allocations: 34.95 kB / 0.7156 GB, free: 7.008 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.01691, allocations: 4 kB / 0.7156 GB, free: 7.004 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.01691, allocations: 0 / 0.7156 GB, free: 7.004 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.01692, allocations: 0 / 0.7156 GB, free: 7.004 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007218/0.01764, allocations: 0.8211 MB / 0.7164 GB, free: 6.125 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01764, allocations: 4 kB / 0.7164 GB, free: 6.121 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.0178, allocations: 55.97 kB / 0.7165 GB, free: 6.066 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.0178, allocations: 4 kB / 0.7165 GB, free: 6.062 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.01782, allocations: 11.98 kB / 0.7165 GB, free: 6.051 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01782, allocations: 0 / 0.7165 GB, free: 6.051 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01782, allocations: 0 / 0.7165 GB, free: 6.051 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000637/0.01846, allocations: 0.7678 MB / 0.7172 GB, free: 5.23 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.718e-05/0.01854, allocations: 59.77 kB / 0.7173 GB, free: 5.172 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.01857, allocations: 12 kB / 0.7173 GB, free: 5.16 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.845e-05/0.01867, allocations: 19.98 kB / 0.7173 GB, free: 5.141 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.736e-05/0.01874, allocations: 31.89 kB / 0.7174 GB, free: 5.109 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.01876, allocations: 15.92 kB / 0.7174 GB, free: 5.094 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001136/0.01887, allocations: 185.2 kB / 0.7175 GB, free: 4.914 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01887, allocations: 0 / 0.7175 GB, free: 4.914 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002245/0.01909, allocations: 84 kB / 0.7176 GB, free: 4.832 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.0001199/0.01921, allocations: 134.7 kB / 0.7178 GB, free: 4.695 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004759/0.01969, allocations: 0.5881 MB / 0.7183 GB, free: 4.039 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01969, allocations: 0 / 0.7183 GB, free: 4.039 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002285/0.01992, allocations: 314.1 kB / 0.7186 GB, free: 3.695 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.02025, allocations: 85.12 kB / 0.7187 GB, free: 3.609 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.02172, allocations: 0.8907 MB / 0.7196 GB, free: 2.676 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.932e-05/0.02182, allocations: 172.2 kB / 0.7197 GB, free: 2.484 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.118e-05/0.02189, allocations: 28.5 kB / 0.7198 GB, free: 2.457 MB / 426.8 MB Notification: Performance of SimCode: time 6.41e-07/0.02189, allocations: 0 / 0.7198 GB, free: 2.457 MB / 426.8 MB Notification: Performance of Templates: time 0.1543/0.1762, allocations: 4.371 MB / 0.724 GB, free: 36.27 MB / 426.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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.66517557669431]