Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide.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.001906/0.001906, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.00211/0.00211, allocations: 218.4 kB / 22.25 MB, free: 3.695 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 1.856/1.856, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.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.467/1.467, allocations: 316.8 MB / 0.6144 GB, free: 93.48 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.N03AG05_Progabide.Progabide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003953/0.003953, allocations: 73.92 kB / 0.775 GB, free: 14.95 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.164, allocations: 73.99 MB / 0.8473 GB, free: 5.105 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide): time 0.004224/0.1682, allocations: 2.308 MB / 0.8495 GB, free: 2.797 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3253/0.4935, allocations: 6.521 MB / 0.8559 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.4937, allocations: 0 / 0.8559 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.4939, allocations: 26.09 kB / 0.8559 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.4941, allocations: 83.89 kB / 0.856 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.4943, allocations: 56.03 kB / 0.8561 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.4946, allocations: 255.5 kB / 0.8563 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.4947, allocations: 31.88 kB / 0.8563 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.4948, allocations: 102.5 kB / 0.8564 GB, free: 21.6 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.4951, allocations: 93.06 kB / 0.8565 GB, free: 21.58 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.316e-05/0.4951, allocations: 19.56 kB / 0.8565 GB, free: 21.58 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.035e-05/0.4951, allocations: 18.34 kB / 0.8566 GB, free: 21.58 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.988e-05/0.4952, allocations: 41.38 kB / 0.8566 GB, free: 21.57 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.777e-05/0.4953, allocations: 94.78 kB / 0.8567 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.4955, allocations: 200.4 kB / 0.8569 GB, free: 21.51 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4955, allocations: 0 / 0.8569 GB, free: 21.51 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4955, allocations: 0 / 0.8569 GB, free: 21.51 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.4955, allocations: 0 / 0.8569 GB, free: 21.51 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008066/0.4963, allocations: 493.7 kB / 0.8574 GB, free: 21.11 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.4963, allocations: 14.08 kB / 0.8574 GB, free: 21.11 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.532e-05/0.4964, allocations: 26.14 kB / 0.8574 GB, free: 21.1 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.4966, allocations: 186.8 kB / 0.8576 GB, free: 20.94 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.4966, allocations: 13.45 kB / 0.8576 GB, free: 20.94 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.791e-05/0.4967, allocations: 19.27 kB / 0.8576 GB, free: 20.93 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.497, allocations: 188.6 kB / 0.8578 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.497, allocations: 2.188 kB / 0.8578 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.497, allocations: 5.344 kB / 0.8578 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.497, allocations: 5.75 kB / 0.8578 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/0.4974, allocations: 149.3 kB / 0.8579 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006789/0.498, allocations: 479.9 kB / 0.8584 GB, free: 20.52 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004653/0.4985, allocations: 176.8 kB / 0.8586 GB, free: 20.47 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.4987, allocations: 96.19 kB / 0.8587 GB, free: 20.43 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.4987, allocations: 3.281 kB / 0.8587 GB, free: 20.43 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002921/0.499, allocations: 231.4 kB / 0.8589 GB, free: 20.28 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.432e-06/0.499, allocations: 0 / 0.8589 GB, free: 20.28 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001316/0.5003, allocations: 0.7017 MB / 0.8596 GB, free: 19.92 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.5003, allocations: 137 kB / 0.8597 GB, free: 19.77 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.5005, allocations: 214.2 kB / 0.8599 GB, free: 19.66 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.5006, allocations: 35.36 kB / 0.8599 GB, free: 19.63 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.5006, allocations: 131.6 kB / 0.8601 GB, free: 19.54 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.377e-05/0.5007, allocations: 72.02 kB / 0.8601 GB, free: 19.49 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.466e-05/0.5007, allocations: 57.39 kB / 0.8602 GB, free: 19.47 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.755e-05/0.5008, allocations: 337 kB / 0.8605 GB, free: 19.16 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.501, allocations: 142.6 kB / 0.8606 GB, free: 19.08 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.5012, allocations: 223.8 kB / 0.8608 GB, free: 18.91 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003782/0.5016, allocations: 287.6 kB / 0.8611 GB, free: 18.75 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.5016, allocations: 0.5938 kB / 0.8611 GB, free: 18.75 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005531/0.5022, allocations: 382.5 kB / 0.8615 GB, free: 18.57 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.985e-05/0.5022, allocations: 63.19 kB / 0.8615 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.5022, allocations: 9.219 kB / 0.8616 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.5022, allocations: 3.438 kB / 0.8616 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.5024, allocations: 56.55 kB / 0.8616 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.5025, allocations: 4.156 kB / 0.8616 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.5026, allocations: 19.58 kB / 0.8616 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.5027, allocations: 13.41 kB / 0.8617 GB, free: 18.5 MB / 490.8 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001823/0.5028, allocations: 177.1 kB / 0.8618 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.5029, allocations: 25.42 kB / 0.8618 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.289e-05/0.5029, allocations: 28.64 kB / 0.8619 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.5029, allocations: 0 / 0.8619 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.5029, allocations: 2.688 kB / 0.8619 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.5029, allocations: 0 / 0.8619 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007179/0.5037, allocations: 0.5414 MB / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5037, allocations: 4.562 kB / 0.8624 GB, free: 18.01 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.5039, allocations: 39.38 kB / 0.8624 GB, free: 18.01 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.5039, allocations: 4.188 kB / 0.8624 GB, free: 18.01 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.5039, allocations: 8 kB / 0.8625 GB, free: 18.01 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.5039, allocations: 6.125 kB / 0.8625 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.5039, allocations: 1.969 kB / 0.8625 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007141/0.5046, allocations: 498.1 kB / 0.8629 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.5046, allocations: 23.23 kB / 0.863 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/0.5047, allocations: 7 kB / 0.863 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.5048, allocations: 17.5 kB / 0.863 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.607e-05/0.5049, allocations: 21.67 kB / 0.863 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.5049, allocations: 11.19 kB / 0.863 GB, free: 17.75 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000122/0.5051, allocations: 160.4 kB / 0.8632 GB, free: 17.67 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5051, allocations: 2.531 kB / 0.8632 GB, free: 17.67 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002944/0.5054, allocations: 51.44 kB / 0.8632 GB, free: 17.67 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.000113/0.5055, allocations: 113.7 kB / 0.8633 GB, free: 17.58 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005561/0.506, allocations: 380.1 kB / 0.8637 GB, free: 17.35 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.506, allocations: 1.438 kB / 0.8637 GB, free: 17.35 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002503/0.5063, allocations: 171 kB / 0.8639 GB, free: 17.25 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.5067, allocations: 66.31 kB / 0.8639 GB, free: 17.25 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.508, allocations: 0.679 MB / 0.8646 GB, free: 16.92 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001383/0.5081, allocations: 127.5 kB / 0.8647 GB, free: 16.84 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.5082, allocations: 25.48 kB / 0.8647 GB, free: 16.84 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.885e-05/0.5083, allocations: 28.17 kB / 0.8648 GB, free: 16.83 MB / 490.8 MB Notification: Performance of SimCode: time 6.11e-07/0.5083, allocations: 0 / 0.8648 GB, free: 16.83 MB / 490.8 MB Notification: Performance of Templates: time 0.008122/0.5164, allocations: 3.625 MB / 0.8683 GB, free: 16.51 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AG05_Progabide.Progabide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.486319268122315]