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.001168/0.001168, allocations: 92.52 kB / 19.94 MB, free: 4.602 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.00131/0.00131, allocations: 165.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.9323/0.9323, allocations: 177.1 MB / 203.5 MB, free: 5.773 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.7472/0.7472, allocations: 291.2 MB / 0.5382 GB, free: 51.72 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.332e-06/1.332e-06, allocations: 0 / 0.6974 GB, free: 10.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.872e-05/3.006e-05, allocations: 9.234 kB / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol): time 0.002473/0.002503, allocations: 2.314 MB / 0.6997 GB, free: 8.051 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004216/0.006719, allocations: 6.541 MB / 0.706 GB, free: 1.5 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.006832, allocations: 7.938 kB / 0.7061 GB, free: 1.492 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.006982, allocations: 19.78 kB / 0.7061 GB, free: 1.473 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.007204, allocations: 83.27 kB / 0.7061 GB, free: 1.391 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.007458, allocations: 67.8 kB / 0.7062 GB, free: 1.324 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.007709, allocations: 258.6 kB / 0.7065 GB, free: 1.07 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.00789, allocations: 36.55 kB / 0.7065 GB, free: 1.039 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.008037, allocations: 143.6 kB / 0.7066 GB, free: 0.8984 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.008233, allocations: 83.72 kB / 0.7067 GB, free: 0.8164 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.008261, allocations: 16 kB / 0.7067 GB, free: 0.8008 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.389e-05/0.008285, allocations: 20 kB / 0.7067 GB, free: 0.7812 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.458e-05/0.008319, allocations: 39.78 kB / 0.7068 GB, free: 0.7422 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.067e-05/0.00839, allocations: 71.83 kB / 0.7069 GB, free: 0.6719 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.008602, allocations: 195.4 kB / 0.707 GB, free: 492 kB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.008605, allocations: 4 kB / 0.707 GB, free: 488 kB / 410.8 MB Notification: Performance of FrontEnd: time 1.653e-06/0.008607, allocations: 0 / 0.707 GB, free: 488 kB / 410.8 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.008612, allocations: 4 kB / 0.707 GB, free: 484 kB / 410.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.0007131/0.009325, allocations: 495.8 kB / 0.7075 GB, free: 15.94 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.009376, allocations: 12.03 kB / 0.7075 GB, free: 15.93 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.979e-05/0.009435, allocations: 20.8 kB / 0.7076 GB, free: 15.91 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.009667, allocations: 186.4 kB / 0.7077 GB, free: 15.7 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.009686, allocations: 12.61 kB / 0.7077 GB, free: 15.69 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.12e-05/0.009727, allocations: 12.38 kB / 0.7078 GB, free: 15.68 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.01002, allocations: 191.5 kB / 0.7079 GB, free: 15.48 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.01003, allocations: 3.984 kB / 0.7079 GB, free: 15.47 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.01005, allocations: 7.938 kB / 0.7079 GB, free: 15.46 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.01006, allocations: 7.938 kB / 0.708 GB, free: 15.46 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002241/0.01029, allocations: 142.2 kB / 0.7081 GB, free: 15.31 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007857/0.01107, allocations: 497.4 kB / 0.7086 GB, free: 14.79 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003781/0.01145, allocations: 175.7 kB / 0.7087 GB, free: 14.61 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.01156, allocations: 90.53 kB / 0.7088 GB, free: 14.51 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.01157, allocations: 0 / 0.7088 GB, free: 14.51 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003376/0.01191, allocations: 236.3 kB / 0.709 GB, free: 14.25 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 1.453e-06/0.01191, allocations: 4 kB / 0.709 GB, free: 14.25 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009669/0.01288, allocations: 0.7103 MB / 0.7097 GB, free: 13.47 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.01294, allocations: 136.5 kB / 0.7099 GB, free: 13.31 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.01309, allocations: 211.1 kB / 0.7101 GB, free: 13.09 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.01311, allocations: 29.7 kB / 0.7101 GB, free: 13.06 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.033e-05/0.01318, allocations: 144.4 kB / 0.7102 GB, free: 12.91 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.01322, allocations: 71.42 kB / 0.7103 GB, free: 12.84 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.827e-05/0.01328, allocations: 49.69 kB / 0.7104 GB, free: 12.79 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.204e-05/0.01336, allocations: 334.8 kB / 0.7107 GB, free: 12.45 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.0135, allocations: 145 kB / 0.7108 GB, free: 12.29 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.01367, allocations: 225.3 kB / 0.711 GB, free: 12.03 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/0.01392, allocations: 280.8 kB / 0.7113 GB, free: 11.71 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01393, allocations: 4 kB / 0.7113 GB, free: 11.71 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003592/0.01428, allocations: 394.7 kB / 0.7117 GB, free: 11.29 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/0.01432, allocations: 59.41 kB / 0.7117 GB, free: 11.22 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.01433, allocations: 0 / 0.7117 GB, free: 11.22 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.01434, allocations: 7.938 kB / 0.7117 GB, free: 11.21 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.01445, allocations: 55.91 kB / 0.7118 GB, free: 11.16 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.01446, allocations: 3.984 kB / 0.7118 GB, free: 11.16 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.904e-05/0.01455, allocations: 19.98 kB / 0.7118 GB, free: 11.14 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.01456, allocations: 11.94 kB / 0.7118 GB, free: 11.12 MB / 426.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.00016/0.01472, allocations: 180.4 kB / 0.712 GB, free: 10.93 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.01474, allocations: 23.86 kB / 0.712 GB, free: 10.91 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.01478, allocations: 21.97 kB / 0.712 GB, free: 10.89 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.01478, allocations: 0 / 0.712 GB, free: 10.89 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.01479, allocations: 3.984 kB / 0.712 GB, free: 10.88 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.01479, allocations: 4 kB / 0.7121 GB, free: 10.88 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005002/0.01529, allocations: 0.5328 MB / 0.7126 GB, free: 10.3 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.01529, allocations: 4 kB / 0.7126 GB, free: 10.29 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.01539, allocations: 39.91 kB / 0.7126 GB, free: 10.25 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.0154, allocations: 4 kB / 0.7126 GB, free: 10.25 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.01541, allocations: 0 / 0.7126 GB, free: 10.25 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01541, allocations: 0 / 0.7126 GB, free: 10.25 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.01541, allocations: 4 kB / 0.7126 GB, free: 10.25 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.01585, allocations: 0.4913 MB / 0.7131 GB, free: 9.727 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.295e-05/0.01587, allocations: 15.86 kB / 0.7131 GB, free: 9.711 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.0159, allocations: 19.97 kB / 0.7131 GB, free: 9.691 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.919e-05/0.01598, allocations: 15.98 kB / 0.7131 GB, free: 9.676 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.01605, allocations: 19.97 kB / 0.7132 GB, free: 9.656 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.01606, allocations: 4 kB / 0.7132 GB, free: 9.652 MB / 426.8 MB Notification: Performance of sorting global known variables: time 9.173e-05/0.01615, allocations: 168.3 kB / 0.7133 GB, free: 9.488 MB / 426.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01615, allocations: 0 / 0.7133 GB, free: 9.488 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.000184/0.01633, allocations: 56 kB / 0.7134 GB, free: 9.434 MB / 426.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 9.482e-05/0.01643, allocations: 117.5 kB / 0.7135 GB, free: 9.312 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0003714/0.0168, allocations: 375.7 kB / 0.7139 GB, free: 8.902 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.0168, allocations: 0 / 0.7139 GB, free: 8.902 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.01694, allocations: 180.9 kB / 0.714 GB, free: 8.707 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.01723, allocations: 72.33 kB / 0.7141 GB, free: 8.637 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007977/0.01803, allocations: 0.5876 MB / 0.7147 GB, free: 8.012 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.581e-05/0.01811, allocations: 129.6 kB / 0.7148 GB, free: 7.863 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.042e-05/0.01816, allocations: 24.5 kB / 0.7148 GB, free: 7.84 MB / 426.8 MB Notification: Performance of SimCode: time 6.61e-07/0.01816, allocations: 0 / 0.7148 GB, free: 7.84 MB / 426.8 MB Notification: Performance of Templates: time 0.003104/0.02127, allocations: 2.95 MB / 0.7177 GB, free: 4.922 MB / 426.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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.882879008539021]