Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol.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.0009325/0.0009325, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001394/0.002326, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009663/0.0009663, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001315/0.002281, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9572/0.9572, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09004/1.047, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.7532/0.7532, allocations: 291.2 MB / 0.5226 GB, free: 52.96 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02765/0.7809, allocations: 21.05 MB / 0.5431 GB, free: 31.96 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.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=604800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=604800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.84e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol): time 0.002992/0.00301, allocations: 2.51 MB / 0.547 GB, free: 28.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005972/0.008982, allocations: 6.688 MB / 0.5535 GB, free: 21.35 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.009148, allocations: 7.938 kB / 0.5535 GB, free: 21.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.218e-05/0.00924, allocations: 23.72 kB / 0.5535 GB, free: 21.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.00944, allocations: 87.33 kB / 0.5536 GB, free: 21.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.00962, allocations: 59.73 kB / 0.5537 GB, free: 21.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002809/0.009901, allocations: 270.6 kB / 0.5539 GB, free: 20.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.01002, allocations: 30.55 kB / 0.5539 GB, free: 20.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002416/0.01026, allocations: 172.3 kB / 0.5541 GB, free: 20.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.01046, allocations: 91.7 kB / 0.5542 GB, free: 20.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.423e-05/0.01049, allocations: 19.94 kB / 0.5542 GB, free: 20.6 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.242e-05/0.01052, allocations: 16 kB / 0.5542 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.452e-05/0.01056, allocations: 31.88 kB / 0.5543 GB, free: 20.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.939e-05/0.01064, allocations: 59.88 kB / 0.5543 GB, free: 20.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.01085, allocations: 139.5 kB / 0.5545 GB, free: 20.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.575e-05/0.01086, allocations: 0 / 0.5545 GB, free: 20.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.01086, allocations: 0 / 0.5545 GB, free: 20.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.822e-05/0.01088, allocations: 0 / 0.5545 GB, free: 20.36 MB / 410.7 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.0006913/0.01157, allocations: 0.4898 MB / 0.5549 GB, free: 19.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.01161, allocations: 15.89 kB / 0.5549 GB, free: 19.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.865e-05/0.01166, allocations: 32.91 kB / 0.555 GB, free: 19.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.01186, allocations: 183 kB / 0.5552 GB, free: 19.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.01188, allocations: 8.609 kB / 0.5552 GB, free: 19.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.01191, allocations: 16.38 kB / 0.5552 GB, free: 19.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.01212, allocations: 167.4 kB / 0.5553 GB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.01213, allocations: 0 / 0.5553 GB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.01215, allocations: 7.938 kB / 0.5553 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.01215, allocations: 4 kB / 0.5553 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.01227, allocations: 80.7 kB / 0.5554 GB, free: 19.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004981/0.01276, allocations: 365 kB / 0.5558 GB, free: 18.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.01298, allocations: 112 kB / 0.5559 GB, free: 18.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.145e-05/0.01303, allocations: 62.48 kB / 0.5559 GB, free: 18.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.01304, allocations: 4 kB / 0.5559 GB, free: 18.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.01322, allocations: 188.4 kB / 0.5561 GB, free: 18.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.144e-06/0.01322, allocations: 0 / 0.5561 GB, free: 18.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006863/0.0139, allocations: 0.5108 MB / 0.5566 GB, free: 17.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.01394, allocations: 132.5 kB / 0.5567 GB, free: 17.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.01407, allocations: 210 kB / 0.5569 GB, free: 17.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.01408, allocations: 29.7 kB / 0.557 GB, free: 17.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/0.01412, allocations: 124.4 kB / 0.5571 GB, free: 17.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.338e-05/0.01417, allocations: 63.47 kB / 0.5572 GB, free: 17.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.504e-05/0.01423, allocations: 51.19 kB / 0.5572 GB, free: 17.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.487e-05/0.01428, allocations: 334.8 kB / 0.5575 GB, free: 16.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.215e-05/0.01435, allocations: 100.9 kB / 0.5576 GB, free: 16.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.419e-05/0.01443, allocations: 177.3 kB / 0.5578 GB, free: 16.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.01457, allocations: 215.6 kB / 0.558 GB, free: 16.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01457, allocations: 0 / 0.558 GB, free: 16.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002218/0.01479, allocations: 267.5 kB / 0.5583 GB, free: 16.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.528e-05/0.01483, allocations: 67.39 kB / 0.5583 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.01483, allocations: 0 / 0.5583 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.01485, allocations: 4 kB / 0.5583 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.01507, allocations: 63.03 kB / 0.5584 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.01507, allocations: 6.656 kB / 0.5584 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.0152, allocations: 19.92 kB / 0.5584 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.01522, allocations: 12.22 kB / 0.5584 GB, free: 15.87 MB / 410.7 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.0001237/0.01534, allocations: 173.6 kB / 0.5586 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.01537, allocations: 19.98 kB / 0.5586 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.896e-05/0.01541, allocations: 25.95 kB / 0.5586 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01541, allocations: 0 / 0.5586 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.01541, allocations: 0 / 0.5586 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.01542, allocations: 3.984 kB / 0.5586 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003393/0.01576, allocations: 378.2 kB / 0.559 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01576, allocations: 7.938 kB / 0.559 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.01594, allocations: 43.97 kB / 0.559 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.874e-05/0.01597, allocations: 15.86 kB / 0.5591 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.01597, allocations: 4 kB / 0.5591 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.01599, allocations: 3.984 kB / 0.5591 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.01599, allocations: 0 / 0.5591 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.01599, allocations: 0 / 0.5591 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.01625, allocations: 360 kB / 0.5594 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.2358/0.252, allocations: 5.984 kB / 0.5594 GB, free: 79.54 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.2522, allocations: 12.67 kB / 0.5594 GB, free: 79.54 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.227e-05/0.2522, allocations: 18.72 kB / 0.5594 GB, free: 79.54 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.2523, allocations: 8.25 kB / 0.5594 GB, free: 79.54 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.711e-05/0.2523, allocations: 61.64 kB / 0.5595 GB, free: 79.53 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.2523, allocations: 0.875 kB / 0.5595 GB, free: 79.53 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002063/0.2525, allocations: 54.72 kB / 0.5596 GB, free: 79.53 MB / 410.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.0001138/0.2527, allocations: 99.27 kB / 0.5597 GB, free: 79.46 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002345/0.2529, allocations: 303.3 kB / 0.5599 GB, free: 79.24 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.2529, allocations: 2.375 kB / 0.5599 GB, free: 79.24 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.049e-05/0.253, allocations: 149 kB / 0.5601 GB, free: 79.14 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.2533, allocations: 88.12 kB / 0.5602 GB, free: 79.14 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005473/0.2587, allocations: 0.5655 MB / 0.5607 GB, free: 78.87 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.742e-05/0.2588, allocations: 80.56 kB / 0.5608 GB, free: 78.8 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.2589, allocations: 25.81 kB / 0.5608 GB, free: 78.8 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.259, allocations: 119.1 kB / 0.5609 GB, free: 78.76 MB / 410.8 MB Notification: Performance of SimCode: time 1.623e-06/0.259, allocations: 1.125 kB / 0.5609 GB, free: 78.76 MB / 410.8 MB Notification: Performance of Templates: time 0.006163/0.2652, allocations: 3.799 MB / 0.5647 GB, free: 78.58 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.1376820569857955]