Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine.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.002391/0.002391, allocations: 84.44 kB / 19.17 MB, free: 0.7305 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.002953/0.002953, allocations: 170.3 kB / 22.46 MB, free: 2.094 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.615/1.615, allocations: 177.1 MB / 202.8 MB, free: 5.77 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.444/1.444, allocations: 293 MB / 0.5392 GB, free: 49.83 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.N05AH03_Olanzapine.Olanzapine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.6999 GB, free: 8.586 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.06e-05/3.201e-05, allocations: 6.281 kB / 0.6999 GB, free: 8.578 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine): time 0.003908/0.00394, allocations: 3.017 MB / 0.7029 GB, free: 5.539 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.009042/0.01298, allocations: 6.647 MB / 0.7094 GB, free: 14.88 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005783/0.01356, allocations: 4 kB / 0.7094 GB, free: 14.88 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002696/0.01383, allocations: 35.58 kB / 0.7094 GB, free: 14.84 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005253/0.01436, allocations: 130.9 kB / 0.7095 GB, free: 14.71 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004337/0.01479, allocations: 83.84 kB / 0.7096 GB, free: 14.63 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006691/0.01546, allocations: 445.8 kB / 0.71 GB, free: 14.2 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002465/0.0157, allocations: 61.36 kB / 0.7101 GB, free: 14.14 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000368/0.01607, allocations: 223.4 kB / 0.7103 GB, free: 13.92 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003488/0.01642, allocations: 131.6 kB / 0.7104 GB, free: 13.79 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 7.042e-05/0.01649, allocations: 32 kB / 0.7105 GB, free: 13.76 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.345e-05/0.01655, allocations: 35.94 kB / 0.7105 GB, free: 13.72 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 9.557e-05/0.01665, allocations: 63.75 kB / 0.7106 GB, free: 13.66 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.01684, allocations: 119.7 kB / 0.7107 GB, free: 13.54 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005413/0.01738, allocations: 359 kB / 0.711 GB, free: 13.19 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.01739, allocations: 3.984 kB / 0.711 GB, free: 13.19 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.996e-06/0.01739, allocations: 8 kB / 0.711 GB, free: 13.18 MB / 426.8 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.0174, allocations: 0 / 0.711 GB, free: 13.18 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.001301/0.0187, allocations: 0.5998 MB / 0.7116 GB, free: 12.53 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.01875, allocations: 8.031 kB / 0.7116 GB, free: 12.52 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.576e-05/0.01884, allocations: 40.7 kB / 0.7117 GB, free: 12.48 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003754/0.01922, allocations: 220.7 kB / 0.7119 GB, free: 12.25 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/0.01925, allocations: 16.88 kB / 0.7119 GB, free: 12.23 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.975e-05/0.01932, allocations: 32.31 kB / 0.7119 GB, free: 12.2 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006095/0.01993, allocations: 310.2 kB / 0.7122 GB, free: 11.87 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.01995, allocations: 0 / 0.7122 GB, free: 11.87 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.364e-05/0.01998, allocations: 12 kB / 0.7122 GB, free: 11.86 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.01999, allocations: 4 kB / 0.7122 GB, free: 11.85 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005763/0.02057, allocations: 244.2 kB / 0.7125 GB, free: 11.6 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.02186, allocations: 0.6543 MB / 0.7131 GB, free: 10.91 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000718/0.02258, allocations: 273.3 kB / 0.7134 GB, free: 10.62 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/0.02289, allocations: 168.4 kB / 0.7135 GB, free: 10.45 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.02291, allocations: 7.938 kB / 0.7135 GB, free: 10.44 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006009/0.02351, allocations: 363.5 kB / 0.7139 GB, free: 10.03 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.02351, allocations: 4 kB / 0.7139 GB, free: 10.03 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.002604/0.02612, allocations: 1.135 MB / 0.715 GB, free: 8.797 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001851/0.0263, allocations: 221.6 kB / 0.7152 GB, free: 8.531 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.02662, allocations: 253.8 kB / 0.7154 GB, free: 8.277 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.09e-05/0.02666, allocations: 37.7 kB / 0.7155 GB, free: 8.234 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.02682, allocations: 152.9 kB / 0.7156 GB, free: 8.078 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.02699, allocations: 119.1 kB / 0.7157 GB, free: 7.961 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.02717, allocations: 74.12 kB / 0.7158 GB, free: 7.883 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002272/0.0274, allocations: 350.7 kB / 0.7161 GB, free: 7.531 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004026/0.0278, allocations: 215.9 kB / 0.7164 GB, free: 7.301 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004792/0.02828, allocations: 322.9 kB / 0.7167 GB, free: 6.918 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007326/0.02901, allocations: 458.1 kB / 0.7171 GB, free: 6.402 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.02902, allocations: 0 / 0.7171 GB, free: 6.402 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001008/0.03002, allocations: 0.5807 MB / 0.7177 GB, free: 5.777 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.567e-05/0.03012, allocations: 93.09 kB / 0.7178 GB, free: 5.668 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.03013, allocations: 4 kB / 0.7178 GB, free: 5.664 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.03015, allocations: 4.344 kB / 0.7178 GB, free: 5.66 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/0.03048, allocations: 87.83 kB / 0.7178 GB, free: 5.574 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.03049, allocations: 7.938 kB / 0.7179 GB, free: 5.566 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.03072, allocations: 19.98 kB / 0.7179 GB, free: 5.547 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.03076, allocations: 23.94 kB / 0.7179 GB, free: 5.523 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.0003445/0.03111, allocations: 240.3 kB / 0.7181 GB, free: 5.27 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.97e-05/0.03117, allocations: 35.81 kB / 0.7182 GB, free: 5.234 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.118e-05/0.03125, allocations: 30.95 kB / 0.7182 GB, free: 5.203 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.03125, allocations: 4 kB / 0.7182 GB, free: 5.199 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.03126, allocations: 0 / 0.7182 GB, free: 5.199 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.03126, allocations: 0 / 0.7182 GB, free: 5.199 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.03275, allocations: 0.8212 MB / 0.719 GB, free: 4.32 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.03275, allocations: 4 kB / 0.719 GB, free: 4.316 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003326/0.03309, allocations: 59.91 kB / 0.7191 GB, free: 4.258 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.03309, allocations: 4 kB / 0.7191 GB, free: 4.254 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.301e-05/0.03312, allocations: 11.98 kB / 0.7191 GB, free: 4.242 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.03312, allocations: 0 / 0.7191 GB, free: 4.242 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.03313, allocations: 4 kB / 0.7191 GB, free: 4.238 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.03447, allocations: 0.764 MB / 0.7198 GB, free: 3.422 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.0346, allocations: 51.77 kB / 0.7199 GB, free: 3.371 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.906e-05/0.03467, allocations: 16 kB / 0.7199 GB, free: 3.355 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.03488, allocations: 15.98 kB / 0.7199 GB, free: 3.34 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.03502, allocations: 35.95 kB / 0.7199 GB, free: 3.305 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/0.03505, allocations: 15.92 kB / 0.7199 GB, free: 3.289 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002289/0.03528, allocations: 185.2 kB / 0.7201 GB, free: 3.109 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/0.03528, allocations: 0 / 0.7201 GB, free: 3.109 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.2209/0.2562, allocations: 86.11 kB / 0.7202 GB, free: 37.2 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.0001686/0.2563, allocations: 121.6 kB / 0.7203 GB, free: 37.11 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0008413/0.2572, allocations: 0.5884 MB / 0.7209 GB, free: 36.77 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2572, allocations: 4.969 kB / 0.7209 GB, free: 36.77 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003399/0.2575, allocations: 314.5 kB / 0.7212 GB, free: 36.58 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005843/0.2581, allocations: 88 kB / 0.7213 GB, free: 36.58 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.2597, allocations: 0.8621 MB / 0.7221 GB, free: 36.16 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.2599, allocations: 166.1 kB / 0.7223 GB, free: 36.07 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001616/0.2601, allocations: 37.19 kB / 0.7223 GB, free: 36.07 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.105e-05/0.2602, allocations: 27.61 kB / 0.7223 GB, free: 36.06 MB / 426.8 MB Notification: Performance of SimCode: time 5.91e-07/0.2602, allocations: 4.125 kB / 0.7223 GB, free: 36.06 MB / 426.8 MB Notification: Performance of Templates: time 0.01024/0.2704, allocations: 4.831 MB / 0.7271 GB, free: 35.61 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.514620423084125]