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.0009764/0.0009764, allocations: 92.52 kB / 19.94 MB, free: 4.598 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.001034/0.001034, allocations: 169.9 kB / 23.21 MB, free: 1.328 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.9163/0.9163, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.6912/0.6912, allocations: 291.1 MB / 0.5382 GB, free: 51.81 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.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.583e-06/1.583e-06, allocations: 0 / 0.6973 GB, free: 10.37 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.858e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.37 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Liu2023_reference): time 0.002603/0.002632, allocations: 3.019 MB / 0.7003 GB, free: 7.328 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.00442/0.007052, allocations: 6.639 MB / 0.7068 GB, free: 0.6797 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002009/0.007253, allocations: 0 / 0.7068 GB, free: 0.6797 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.007397, allocations: 43.58 kB / 0.7068 GB, free: 0.6367 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002471/0.007644, allocations: 130.9 kB / 0.7069 GB, free: 0.5078 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.007891, allocations: 91.77 kB / 0.707 GB, free: 428 kB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000249/0.008141, allocations: 425.9 kB / 0.7074 GB, free: 0 / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.008317, allocations: 65.41 kB / 0.7075 GB, free: 15.94 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002024/0.00852, allocations: 223.5 kB / 0.7077 GB, free: 15.72 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.008731, allocations: 123.6 kB / 0.7078 GB, free: 15.6 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.736e-05/0.008768, allocations: 32 kB / 0.7079 GB, free: 15.57 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.321e-05/0.008811, allocations: 36 kB / 0.7079 GB, free: 15.53 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.343e-05/0.008855, allocations: 63.7 kB / 0.7079 GB, free: 15.47 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.00896, allocations: 131.7 kB / 0.7081 GB, free: 15.34 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.009273, allocations: 355 kB / 0.7084 GB, free: 14.99 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.009277, allocations: 0 / 0.7084 GB, free: 14.99 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.142e-06/0.009279, allocations: 0 / 0.7084 GB, free: 14.99 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.009284, allocations: 0 / 0.7084 GB, free: 14.99 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.0008802/0.01016, allocations: 0.6154 MB / 0.709 GB, free: 14.33 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.0102, allocations: 8.031 kB / 0.709 GB, free: 14.32 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.372e-05/0.01028, allocations: 36.7 kB / 0.7091 GB, free: 14.29 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.01055, allocations: 228.7 kB / 0.7093 GB, free: 14.04 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.01057, allocations: 12.88 kB / 0.7093 GB, free: 14.03 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.984e-05/0.01062, allocations: 28.33 kB / 0.7093 GB, free: 14 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004347/0.01106, allocations: 302.2 kB / 0.7096 GB, free: 13.68 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.01108, allocations: 7.984 kB / 0.7096 GB, free: 13.67 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.0111, allocations: 8 kB / 0.7096 GB, free: 13.66 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.01111, allocations: 4 kB / 0.7096 GB, free: 13.66 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003802/0.01149, allocations: 256.2 kB / 0.7099 GB, free: 13.39 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009027/0.01239, allocations: 0.6504 MB / 0.7105 GB, free: 12.71 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005096/0.0129, allocations: 274.9 kB / 0.7108 GB, free: 12.42 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.0131, allocations: 164.4 kB / 0.7109 GB, free: 12.24 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.01312, allocations: 3.984 kB / 0.7109 GB, free: 12.24 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003914/0.01351, allocations: 363.5 kB / 0.7113 GB, free: 11.83 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.914e-06/0.01351, allocations: 3.938 kB / 0.7113 GB, free: 11.83 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.001644/0.01515, allocations: 1.143 MB / 0.7124 GB, free: 10.59 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.784e-05/0.01525, allocations: 221.6 kB / 0.7126 GB, free: 10.32 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.01549, allocations: 249.9 kB / 0.7128 GB, free: 10.07 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.01552, allocations: 37.7 kB / 0.7129 GB, free: 10.03 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.167e-05/0.01561, allocations: 156.8 kB / 0.713 GB, free: 9.871 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.102e-05/0.01569, allocations: 111.1 kB / 0.7131 GB, free: 9.762 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.57e-05/0.01579, allocations: 78.19 kB / 0.7132 GB, free: 9.68 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.0159, allocations: 342.8 kB / 0.7135 GB, free: 9.336 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/0.01616, allocations: 227.8 kB / 0.7138 GB, free: 9.094 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002948/0.01645, allocations: 326.9 kB / 0.7141 GB, free: 8.707 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004765/0.01693, allocations: 458.1 kB / 0.7145 GB, free: 8.191 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01693, allocations: 0 / 0.7145 GB, free: 8.191 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006764/0.01761, allocations: 0.5809 MB / 0.7151 GB, free: 7.566 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.637e-05/0.01766, allocations: 89.11 kB / 0.7152 GB, free: 7.461 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.01767, allocations: 7.984 kB / 0.7152 GB, free: 7.453 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.01769, allocations: 4 kB / 0.7152 GB, free: 7.449 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.01792, allocations: 79.83 kB / 0.7152 GB, free: 7.371 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.01793, allocations: 7.984 kB / 0.7152 GB, free: 7.363 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.01808, allocations: 23.98 kB / 0.7153 GB, free: 7.34 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.417e-05/0.01811, allocations: 16 kB / 0.7153 GB, free: 7.324 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.0002277/0.01833, allocations: 237.4 kB / 0.7155 GB, free: 7.078 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.01838, allocations: 35.75 kB / 0.7155 GB, free: 7.043 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.142e-05/0.01843, allocations: 34.97 kB / 0.7156 GB, free: 7.008 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.01843, allocations: 7.984 kB / 0.7156 GB, free: 7 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.01844, allocations: 0 / 0.7156 GB, free: 7 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.01844, allocations: 0 / 0.7156 GB, free: 7 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009385/0.01938, allocations: 0.8174 MB / 0.7164 GB, free: 6.125 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01938, allocations: 0 / 0.7164 GB, free: 6.125 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.0196, allocations: 63.89 kB / 0.7164 GB, free: 6.062 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.0196, allocations: 3.938 kB / 0.7164 GB, free: 6.059 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.01962, allocations: 12 kB / 0.7165 GB, free: 6.047 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.01963, allocations: 0 / 0.7165 GB, free: 6.047 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01963, allocations: 0 / 0.7165 GB, free: 6.047 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008252/0.02045, allocations: 0.7717 MB / 0.7172 GB, free: 5.223 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.02056, allocations: 63.7 kB / 0.7173 GB, free: 5.16 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.549e-05/0.02061, allocations: 12 kB / 0.7173 GB, free: 5.148 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.02074, allocations: 19.98 kB / 0.7173 GB, free: 5.129 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.173e-05/0.02083, allocations: 23.95 kB / 0.7173 GB, free: 5.105 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/0.02085, allocations: 19.92 kB / 0.7173 GB, free: 5.086 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001449/0.02099, allocations: 185.2 kB / 0.7175 GB, free: 4.906 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.02099, allocations: 0 / 0.7175 GB, free: 4.906 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003316/0.02133, allocations: 84 kB / 0.7176 GB, free: 4.824 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.0001501/0.02148, allocations: 138.7 kB / 0.7177 GB, free: 4.684 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0006566/0.02213, allocations: 0.5842 MB / 0.7183 GB, free: 4.031 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.02213, allocations: 0 / 0.7183 GB, free: 4.031 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002989/0.02243, allocations: 310.8 kB / 0.7186 GB, free: 3.691 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004955/0.02293, allocations: 88.38 kB / 0.7187 GB, free: 3.602 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.02433, allocations: 0.8869 MB / 0.7196 GB, free: 2.672 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.02447, allocations: 168.2 kB / 0.7197 GB, free: 2.484 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.359e-05/0.02455, allocations: 36.48 kB / 0.7197 GB, free: 2.449 MB / 426.8 MB Notification: Performance of SimCode: time 6.31e-07/0.02455, allocations: 4 kB / 0.7198 GB, free: 2.445 MB / 426.8 MB Notification: Performance of Templates: time 0.1896/0.2142, allocations: 4.364 MB / 0.724 GB, free: 36.11 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Liu2023_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.483693831600249]