Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine.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.001896/0.001896, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.002166/0.002166, allocations: 169.9 kB / 22.46 MB, free: 2.102 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 1.63/1.63, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.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.347/1.347, allocations: 292.9 MB / 0.5392 GB, free: 49.8 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.N05AH02_Clozapine.Clozapine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=140400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=140400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.6999 GB, free: 8.531 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.475e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.527 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine): time 0.00327/0.003295, allocations: 3.034 MB / 0.7029 GB, free: 5.473 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.006714/0.01001, allocations: 6.647 MB / 0.7094 GB, free: 14.82 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003516/0.01036, allocations: 0 / 0.7094 GB, free: 14.82 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.01056, allocations: 39.58 kB / 0.7094 GB, free: 14.78 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003971/0.01096, allocations: 130.9 kB / 0.7095 GB, free: 14.65 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.01131, allocations: 83.83 kB / 0.7096 GB, free: 14.57 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005652/0.01188, allocations: 429.9 kB / 0.71 GB, free: 14.14 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002223/0.0121, allocations: 73.28 kB / 0.7101 GB, free: 14.07 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003301/0.01243, allocations: 223.5 kB / 0.7103 GB, free: 13.86 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003043/0.01273, allocations: 127.6 kB / 0.7104 GB, free: 13.73 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 5.851e-05/0.01279, allocations: 32 kB / 0.7105 GB, free: 13.7 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.29e-05/0.01286, allocations: 32 kB / 0.7105 GB, free: 13.67 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 7.34e-05/0.01293, allocations: 67.64 kB / 0.7106 GB, free: 13.6 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.01312, allocations: 127.7 kB / 0.7107 GB, free: 13.48 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005521/0.01367, allocations: 359 kB / 0.711 GB, free: 13.12 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 9.809e-06/0.01368, allocations: 4 kB / 0.711 GB, free: 13.12 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.775e-06/0.01369, allocations: 0 / 0.711 GB, free: 13.12 MB / 426.8 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.01369, allocations: 0 / 0.711 GB, free: 13.12 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.00133/0.01502, allocations: 0.6076 MB / 0.7116 GB, free: 12.46 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.01507, allocations: 11.89 kB / 0.7116 GB, free: 12.45 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.908e-05/0.01517, allocations: 36.7 kB / 0.7117 GB, free: 12.42 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.01555, allocations: 224.7 kB / 0.7119 GB, free: 12.18 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/0.01557, allocations: 12.88 kB / 0.7119 GB, free: 12.16 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.371e-05/0.01564, allocations: 28.33 kB / 0.7119 GB, free: 12.14 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000641/0.01628, allocations: 314.1 kB / 0.7122 GB, free: 11.8 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.0163, allocations: 4 kB / 0.7122 GB, free: 11.8 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/0.01633, allocations: 8 kB / 0.7122 GB, free: 11.79 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.01634, allocations: 8 kB / 0.7122 GB, free: 11.78 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005609/0.0169, allocations: 248.2 kB / 0.7125 GB, free: 11.53 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.0182, allocations: 0.6465 MB / 0.7131 GB, free: 10.84 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007306/0.01893, allocations: 274 kB / 0.7134 GB, free: 10.55 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003219/0.01926, allocations: 164.4 kB / 0.7135 GB, free: 10.38 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.01927, allocations: 0 / 0.7135 GB, free: 10.38 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006045/0.01988, allocations: 367.5 kB / 0.7139 GB, free: 9.969 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 2.254e-06/0.01988, allocations: 0 / 0.7139 GB, free: 9.969 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.002488/0.02237, allocations: 1.131 MB / 0.715 GB, free: 8.742 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001732/0.02254, allocations: 217.6 kB / 0.7152 GB, free: 8.48 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003472/0.02289, allocations: 257.9 kB / 0.7154 GB, free: 8.223 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/0.02293, allocations: 41.62 kB / 0.7155 GB, free: 8.176 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.02309, allocations: 152.9 kB / 0.7156 GB, free: 8.02 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.02322, allocations: 123.1 kB / 0.7157 GB, free: 7.898 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.02337, allocations: 70.19 kB / 0.7158 GB, free: 7.824 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002328/0.02361, allocations: 346.7 kB / 0.7161 GB, free: 7.477 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004176/0.02402, allocations: 215.9 kB / 0.7163 GB, free: 7.246 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000484/0.02451, allocations: 326.9 kB / 0.7167 GB, free: 6.859 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007683/0.02528, allocations: 458.1 kB / 0.7171 GB, free: 6.344 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.02528, allocations: 0 / 0.7171 GB, free: 6.344 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001046/0.02632, allocations: 0.5807 MB / 0.7177 GB, free: 5.719 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.265e-05/0.02642, allocations: 93.09 kB / 0.7177 GB, free: 5.609 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.02643, allocations: 4 kB / 0.7177 GB, free: 5.605 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.02645, allocations: 4 kB / 0.7178 GB, free: 5.602 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000363/0.02681, allocations: 80.23 kB / 0.7178 GB, free: 5.523 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.02682, allocations: 15.88 kB / 0.7178 GB, free: 5.508 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/0.02707, allocations: 19.98 kB / 0.7179 GB, free: 5.488 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/0.02711, allocations: 16 kB / 0.7179 GB, free: 5.473 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.0003502/0.02746, allocations: 248.3 kB / 0.7181 GB, free: 5.211 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.991e-05/0.02752, allocations: 31.81 kB / 0.7181 GB, free: 5.18 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.614e-05/0.02761, allocations: 34.95 kB / 0.7182 GB, free: 5.145 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.02762, allocations: 8 kB / 0.7182 GB, free: 5.137 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.02762, allocations: 0 / 0.7182 GB, free: 5.137 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.02763, allocations: 0 / 0.7182 GB, free: 5.137 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.02911, allocations: 0.8211 MB / 0.719 GB, free: 4.258 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.02912, allocations: 0 / 0.719 GB, free: 4.258 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003105/0.02943, allocations: 59.89 kB / 0.719 GB, free: 4.199 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.02943, allocations: 4 kB / 0.719 GB, free: 4.195 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.02947, allocations: 11.98 kB / 0.7191 GB, free: 4.184 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.02947, allocations: 4 kB / 0.7191 GB, free: 4.18 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.02947, allocations: 0 / 0.7191 GB, free: 4.18 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.03077, allocations: 0.7601 MB / 0.7198 GB, free: 3.367 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.03091, allocations: 59.77 kB / 0.7199 GB, free: 3.309 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.075e-05/0.03099, allocations: 12 kB / 0.7199 GB, free: 3.297 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.03121, allocations: 19.98 kB / 0.7199 GB, free: 3.277 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.03135, allocations: 31.89 kB / 0.7199 GB, free: 3.246 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.03138, allocations: 15.92 kB / 0.7199 GB, free: 3.23 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002953/0.03168, allocations: 189.2 kB / 0.7201 GB, free: 3.047 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.03168, allocations: 0 / 0.7201 GB, free: 3.047 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.1967/0.2284, allocations: 85.84 kB / 0.7202 GB, free: 37.14 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.000221/0.2286, allocations: 116.8 kB / 0.7203 GB, free: 37.05 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.2297, allocations: 0.5884 MB / 0.7209 GB, free: 36.71 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2297, allocations: 0 / 0.7209 GB, free: 36.71 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004629/0.2302, allocations: 317 kB / 0.7212 GB, free: 36.52 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008468/0.231, allocations: 86.41 kB / 0.7213 GB, free: 36.52 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.233, allocations: 0.8622 MB / 0.7221 GB, free: 36.09 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.2332, allocations: 166.3 kB / 0.7223 GB, free: 36.01 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0002154/0.2334, allocations: 36.89 kB / 0.7223 GB, free: 36 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.2335, allocations: 31.91 kB / 0.7223 GB, free: 35.99 MB / 426.8 MB Notification: Performance of SimCode: time 1.233e-06/0.2335, allocations: 0 / 0.7223 GB, free: 35.99 MB / 426.8 MB Notification: Performance of Templates: time 0.0151/0.2486, allocations: 4.835 MB / 0.7271 GB, free: 35.54 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.138822011882439]