Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Franken2017_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.002418/0.002418, allocations: 109.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.005798/0.005798, allocations: 213.9 kB / 22.25 MB, free: 3.574 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.709/1.709, allocations: 230.6 MB / 256 MB, free: 9.598 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.519/1.519, allocations: 316.7 MB / 0.6144 GB, free: 92.93 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.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Franken2017_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=604800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Franken2017_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Franken2017_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=604800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Franken2017_reference") [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.003936/0.003936, allocations: 73.48 kB / 0.775 GB, free: 14.82 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1801, allocations: 74 MB / 0.8472 GB, free: 4.965 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Franken2017_reference): time 0.00455/0.1846, allocations: 2.305 MB / 0.8495 GB, free: 2.664 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3681/0.5528, allocations: 6.519 MB / 0.8558 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002022/0.553, allocations: 2.188 kB / 0.8558 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.5531, allocations: 25.83 kB / 0.8559 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.5534, allocations: 86.94 kB / 0.856 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.5536, allocations: 53.05 kB / 0.856 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002572/0.5538, allocations: 259.7 kB / 0.8563 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.554, allocations: 32.97 kB / 0.8563 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.5541, allocations: 99.3 kB / 0.8564 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.5543, allocations: 96.88 kB / 0.8565 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.5543, allocations: 16.75 kB / 0.8565 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.671e-05/0.5544, allocations: 20.22 kB / 0.8565 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.708e-05/0.5544, allocations: 34.08 kB / 0.8565 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 8.976e-05/0.5545, allocations: 96.97 kB / 0.8566 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.5547, allocations: 203.2 kB / 0.8568 GB, free: 21.81 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5547, allocations: 0 / 0.8568 GB, free: 21.81 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5547, allocations: 1.453 kB / 0.8568 GB, free: 21.81 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.5547, allocations: 0 / 0.8568 GB, free: 21.81 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.0008126/0.5556, allocations: 494.5 kB / 0.8573 GB, free: 21.41 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.5556, allocations: 9.75 kB / 0.8573 GB, free: 21.41 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.59e-05/0.5556, allocations: 24.36 kB / 0.8573 GB, free: 21.4 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.5559, allocations: 188.6 kB / 0.8575 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.5559, allocations: 9.516 kB / 0.8575 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.205e-05/0.5559, allocations: 20.23 kB / 0.8575 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/0.5563, allocations: 194.6 kB / 0.8577 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.5563, allocations: 2.25 kB / 0.8577 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.5563, allocations: 5.312 kB / 0.8577 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.5563, allocations: 3.375 kB / 0.8577 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000325/0.5566, allocations: 149.2 kB / 0.8579 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006974/0.5573, allocations: 482.2 kB / 0.8583 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004732/0.5578, allocations: 170.8 kB / 0.8585 GB, free: 20.77 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.558, allocations: 99.88 kB / 0.8586 GB, free: 20.73 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.558, allocations: 4.438 kB / 0.8586 GB, free: 20.73 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003119/0.5583, allocations: 227.1 kB / 0.8588 GB, free: 20.58 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.5583, allocations: 0.625 kB / 0.8588 GB, free: 20.58 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001318/0.5596, allocations: 0.6978 MB / 0.8595 GB, free: 20.22 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.5597, allocations: 141.4 kB / 0.8596 GB, free: 20.07 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.5598, allocations: 216.4 kB / 0.8598 GB, free: 19.96 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.5599, allocations: 31.36 kB / 0.8599 GB, free: 19.93 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.467e-05/0.5599, allocations: 133.4 kB / 0.86 GB, free: 19.84 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.659e-05/0.56, allocations: 73.47 kB / 0.8601 GB, free: 19.79 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/0.56, allocations: 52.42 kB / 0.8601 GB, free: 19.77 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.008e-05/0.5601, allocations: 342.2 kB / 0.8604 GB, free: 19.46 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.5603, allocations: 140.3 kB / 0.8606 GB, free: 19.38 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.5605, allocations: 225.4 kB / 0.8608 GB, free: 19.21 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/0.5609, allocations: 283.1 kB / 0.8611 GB, free: 19.05 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5609, allocations: 0 / 0.8611 GB, free: 19.05 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005635/0.5615, allocations: 388.5 kB / 0.8614 GB, free: 18.87 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.128e-05/0.5615, allocations: 61.58 kB / 0.8615 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.5615, allocations: 7.156 kB / 0.8615 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.5615, allocations: 5.297 kB / 0.8615 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.5617, allocations: 51.05 kB / 0.8616 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.5617, allocations: 2.875 kB / 0.8616 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.5619, allocations: 20.69 kB / 0.8616 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.5619, allocations: 12.47 kB / 0.8616 GB, free: 18.8 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.0001518/0.5621, allocations: 178 kB / 0.8618 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.5621, allocations: 22.77 kB / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.336e-05/0.5622, allocations: 28.36 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5622, allocations: 3.938 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.5622, allocations: 4.531 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.5622, allocations: 1.125 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006581/0.5628, allocations: 0.5392 MB / 0.8623 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.5629, allocations: 3.938 kB / 0.8623 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.5631, allocations: 36.8 kB / 0.8624 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.5631, allocations: 1.094 kB / 0.8624 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.5631, allocations: 6.688 kB / 0.8624 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.5631, allocations: 10.31 kB / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5631, allocations: 1.094 kB / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009103/0.564, allocations: 0.4885 MB / 0.8629 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/0.5641, allocations: 20.78 kB / 0.8629 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.763e-05/0.5642, allocations: 10.53 kB / 0.8629 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.5644, allocations: 15.64 kB / 0.8629 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.5645, allocations: 24.64 kB / 0.8629 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.5646, allocations: 8.062 kB / 0.8629 GB, free: 18.05 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0002072/0.5648, allocations: 161.9 kB / 0.8631 GB, free: 17.97 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5648, allocations: 0 / 0.8631 GB, free: 17.97 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0005331/0.5653, allocations: 55.72 kB / 0.8632 GB, free: 17.97 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.0001643/0.5655, allocations: 109.8 kB / 0.8633 GB, free: 17.88 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000842/0.5663, allocations: 383.5 kB / 0.8636 GB, free: 17.65 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.5663, allocations: 1.344 kB / 0.8636 GB, free: 17.65 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003893/0.5667, allocations: 176 kB / 0.8638 GB, free: 17.55 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008006/0.5675, allocations: 71.02 kB / 0.8639 GB, free: 17.55 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.569, allocations: 0.6801 MB / 0.8645 GB, free: 17.23 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.5691, allocations: 126.5 kB / 0.8646 GB, free: 17.15 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.000108/0.5692, allocations: 29.5 kB / 0.8647 GB, free: 17.14 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.554e-05/0.5693, allocations: 20.7 kB / 0.8647 GB, free: 17.14 MB / 490.8 MB Notification: Performance of SimCode: time 4.7e-07/0.5693, allocations: 0 / 0.8647 GB, free: 17.14 MB / 490.8 MB Notification: Performance of Templates: time 0.008349/0.5776, allocations: 3.629 MB / 0.8682 GB, free: 16.82 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Franken2017_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Franken2017_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Franken2017_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Franken2017_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Franken2017_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Franken2017_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Franken2017_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.225496012950316]