Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Liu2023_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.001899/0.001899, 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.00232/0.00232, 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.601/1.601, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.375/1.375, allocations: 292.9 MB / 0.5392 GB, free: 49.79 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.N05AL05_Amisulpride.Amisulpride_Liu2023_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=162000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Liu2023_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Liu2023_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=162000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Liu2023_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.6999 GB, free: 8.547 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.058e-05/3.247e-05, allocations: 7.625 kB / 0.6999 GB, free: 8.539 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Liu2023_reference): time 0.003708/0.00374, allocations: 3.016 MB / 0.7028 GB, free: 5.504 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.008107/0.01185, allocations: 6.639 MB / 0.7093 GB, free: 14.86 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004098/0.01226, allocations: 4 kB / 0.7093 GB, free: 14.85 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002215/0.01248, allocations: 39.56 kB / 0.7094 GB, free: 14.81 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005023/0.01298, allocations: 134.9 kB / 0.7095 GB, free: 14.68 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004348/0.01342, allocations: 79.86 kB / 0.7096 GB, free: 14.6 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006647/0.01408, allocations: 433.8 kB / 0.71 GB, free: 14.18 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002407/0.01432, allocations: 61.36 kB / 0.7101 GB, free: 14.12 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004041/0.01472, allocations: 227.5 kB / 0.7103 GB, free: 13.89 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003272/0.01505, allocations: 127.6 kB / 0.7104 GB, free: 13.77 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 6.355e-05/0.01512, allocations: 32 kB / 0.7104 GB, free: 13.74 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.347e-05/0.01518, allocations: 36 kB / 0.7105 GB, free: 13.7 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 8.699e-05/0.01527, allocations: 67.69 kB / 0.7105 GB, free: 13.64 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001991/0.01546, allocations: 119.7 kB / 0.7106 GB, free: 13.52 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005854/0.01605, allocations: 370.9 kB / 0.711 GB, free: 13.16 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.01606, allocations: 0 / 0.711 GB, free: 13.16 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.515e-06/0.01606, allocations: 4 kB / 0.711 GB, free: 13.15 MB / 426.8 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.01607, allocations: 0 / 0.711 GB, free: 13.15 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.001425/0.01749, allocations: 0.5998 MB / 0.7116 GB, free: 12.5 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.01754, allocations: 8.031 kB / 0.7116 GB, free: 12.5 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.219e-05/0.01763, allocations: 40.7 kB / 0.7116 GB, free: 12.46 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.01803, allocations: 224.7 kB / 0.7118 GB, free: 12.21 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/0.01807, allocations: 20.88 kB / 0.7119 GB, free: 12.2 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-05/0.01814, allocations: 24.31 kB / 0.7119 GB, free: 12.17 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006548/0.01879, allocations: 310.2 kB / 0.7122 GB, free: 11.84 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.01882, allocations: 3.938 kB / 0.7122 GB, free: 11.84 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.01885, allocations: 8 kB / 0.7122 GB, free: 11.83 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.01886, allocations: 4 kB / 0.7122 GB, free: 11.82 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005652/0.01942, allocations: 252.2 kB / 0.7124 GB, free: 11.57 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.02075, allocations: 0.6465 MB / 0.7131 GB, free: 10.88 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007237/0.02148, allocations: 266 kB / 0.7133 GB, free: 10.6 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/0.02178, allocations: 164.4 kB / 0.7135 GB, free: 10.43 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.0218, allocations: 4 kB / 0.7135 GB, free: 10.42 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006071/0.0224, allocations: 367.4 kB / 0.7138 GB, free: 10.01 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 2.294e-06/0.02241, allocations: 4 kB / 0.7138 GB, free: 10.01 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.002811/0.02522, allocations: 1.135 MB / 0.7149 GB, free: 8.777 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000194/0.02541, allocations: 225.6 kB / 0.7152 GB, free: 8.508 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003349/0.02575, allocations: 253.8 kB / 0.7154 GB, free: 8.254 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.535e-05/0.02579, allocations: 33.7 kB / 0.7154 GB, free: 8.215 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.02595, allocations: 152.9 kB / 0.7156 GB, free: 8.059 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.02608, allocations: 123 kB / 0.7157 GB, free: 7.938 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.02621, allocations: 66.2 kB / 0.7158 GB, free: 7.867 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002285/0.02644, allocations: 350.7 kB / 0.7161 GB, free: 7.516 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004002/0.02684, allocations: 223.9 kB / 0.7163 GB, free: 7.277 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004918/0.02734, allocations: 322.8 kB / 0.7166 GB, free: 6.895 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007303/0.02807, allocations: 454.2 kB / 0.717 GB, free: 6.383 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.02807, allocations: 0 / 0.717 GB, free: 6.383 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001002/0.02907, allocations: 0.5848 MB / 0.7176 GB, free: 5.754 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.883e-05/0.02916, allocations: 89.09 kB / 0.7177 GB, free: 5.648 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.02917, allocations: 7.984 kB / 0.7177 GB, free: 5.641 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.183e-05/0.0292, allocations: 4 kB / 0.7177 GB, free: 5.637 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003403/0.02954, allocations: 83.83 kB / 0.7178 GB, free: 5.555 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.02955, allocations: 4 kB / 0.7178 GB, free: 5.551 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.02979, allocations: 23.98 kB / 0.7178 GB, free: 5.527 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.02983, allocations: 23.92 kB / 0.7178 GB, free: 5.504 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.0003606/0.03019, allocations: 248.4 kB / 0.7181 GB, free: 5.242 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.03025, allocations: 31.81 kB / 0.7181 GB, free: 5.211 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.453e-05/0.03033, allocations: 30.95 kB / 0.7181 GB, free: 5.18 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.03034, allocations: 4 kB / 0.7181 GB, free: 5.176 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.03035, allocations: 0 / 0.7181 GB, free: 5.176 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.03035, allocations: 0 / 0.7181 GB, free: 5.176 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.03175, allocations: 0.8328 MB / 0.719 GB, free: 4.285 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.03175, allocations: 0 / 0.719 GB, free: 4.285 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003004/0.03205, allocations: 51.97 kB / 0.719 GB, free: 4.234 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.03206, allocations: 0 / 0.719 GB, free: 4.234 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.385e-05/0.03209, allocations: 11.98 kB / 0.719 GB, free: 4.223 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.03209, allocations: 4 kB / 0.719 GB, free: 4.219 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.03209, allocations: 0 / 0.719 GB, free: 4.219 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.03345, allocations: 0.7717 MB / 0.7198 GB, free: 3.395 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.03358, allocations: 55.77 kB / 0.7198 GB, free: 3.34 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.442e-05/0.03365, allocations: 12 kB / 0.7198 GB, free: 3.328 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.03386, allocations: 15.98 kB / 0.7199 GB, free: 3.312 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.03397, allocations: 35.94 kB / 0.7199 GB, free: 3.277 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/0.03401, allocations: 15.94 kB / 0.7199 GB, free: 3.262 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002262/0.03423, allocations: 177.2 kB / 0.7201 GB, free: 3.09 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.03423, allocations: 0 / 0.7201 GB, free: 3.09 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.2707/0.3049, allocations: 88.92 kB / 0.7202 GB, free: 37.12 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.0002228/0.3052, allocations: 126.8 kB / 0.7203 GB, free: 37.03 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.001034/0.3062, allocations: 0.5892 MB / 0.7209 GB, free: 36.69 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3062, allocations: 0 / 0.7209 GB, free: 36.69 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004972/0.3067, allocations: 311.4 kB / 0.7212 GB, free: 36.5 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006036/0.3073, allocations: 88.09 kB / 0.7212 GB, free: 36.5 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.3086, allocations: 0.8642 MB / 0.7221 GB, free: 36.06 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.3088, allocations: 166.3 kB / 0.7222 GB, free: 35.98 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001317/0.3089, allocations: 36.06 kB / 0.7223 GB, free: 35.97 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.276e-05/0.309, allocations: 27.81 kB / 0.7223 GB, free: 35.96 MB / 426.8 MB Notification: Performance of SimCode: time 3.81e-07/0.309, allocations: 4 kB / 0.7223 GB, free: 35.96 MB / 426.8 MB Notification: Performance of Templates: time 0.01017/0.3192, allocations: 4.832 MB / 0.727 GB, free: 35.52 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Liu2023_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Liu2023_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Liu2023_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Liu2023_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Liu2023_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Liu2023_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Liu2023_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.096711742924526]