Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine_Chen2025_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.002465/0.002465, 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.002937/0.002937, 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.764/1.764, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.329/1.329, allocations: 292.9 MB / 0.5392 GB, free: 50.19 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.N05AH04_Quetiapine.Quetiapine_Chen2025_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=136800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine_Chen2025_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine_Chen2025_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=136800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine_Chen2025_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.6999 GB, free: 8.539 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.254e-05/3.452e-05, allocations: 3.688 kB / 0.6999 GB, free: 8.535 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine_Chen2025_reference): time 0.003431/0.003465, allocations: 3.011 MB / 0.7028 GB, free: 5.504 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.006053/0.009518, allocations: 6.643 MB / 0.7093 GB, free: 14.85 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/0.009746, allocations: 4 kB / 0.7093 GB, free: 14.85 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.009914, allocations: 39.56 kB / 0.7094 GB, free: 14.81 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.01027, allocations: 134.9 kB / 0.7095 GB, free: 14.68 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.01058, allocations: 87.83 kB / 0.7096 GB, free: 14.59 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005294/0.01111, allocations: 429.9 kB / 0.71 GB, free: 14.17 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.0113, allocations: 66 kB / 0.71 GB, free: 14.11 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003153/0.01162, allocations: 219.5 kB / 0.7103 GB, free: 13.89 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002931/0.01191, allocations: 127.6 kB / 0.7104 GB, free: 13.77 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 5.592e-05/0.01197, allocations: 36 kB / 0.7104 GB, free: 13.73 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.373e-05/0.01203, allocations: 36 kB / 0.7104 GB, free: 13.7 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 7.814e-05/0.01211, allocations: 67.69 kB / 0.7105 GB, free: 13.63 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001758/0.01228, allocations: 119.7 kB / 0.7106 GB, free: 13.51 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004954/0.01278, allocations: 366.9 kB / 0.711 GB, free: 13.15 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.01278, allocations: 0 / 0.711 GB, free: 13.15 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.994e-06/0.01279, allocations: 0 / 0.711 GB, free: 13.15 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.01279, allocations: 3.938 kB / 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.00124/0.01403, allocations: 0.6037 MB / 0.7116 GB, free: 12.5 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.01407, allocations: 8.031 kB / 0.7116 GB, free: 12.49 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.984e-05/0.01416, allocations: 36.7 kB / 0.7116 GB, free: 12.45 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.01453, allocations: 228.7 kB / 0.7118 GB, free: 12.21 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.01456, allocations: 12.88 kB / 0.7118 GB, free: 12.2 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.976e-05/0.01462, allocations: 28.33 kB / 0.7119 GB, free: 12.17 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006071/0.01523, allocations: 306.2 kB / 0.7122 GB, free: 11.84 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.01525, allocations: 0 / 0.7122 GB, free: 11.84 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/0.01529, allocations: 15.98 kB / 0.7122 GB, free: 11.82 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.0153, allocations: 8 kB / 0.7122 GB, free: 11.82 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005473/0.01584, allocations: 252.2 kB / 0.7124 GB, free: 11.56 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.01706, allocations: 0.6504 MB / 0.7131 GB, free: 10.87 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006979/0.01776, allocations: 270 kB / 0.7133 GB, free: 10.59 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003016/0.01806, allocations: 160.5 kB / 0.7135 GB, free: 10.41 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.01808, allocations: 4 kB / 0.7135 GB, free: 10.41 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005886/0.01867, allocations: 367.4 kB / 0.7138 GB, free: 10 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.753e-06/0.01867, allocations: 0 / 0.7138 GB, free: 10 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.002375/0.02105, allocations: 1.135 MB / 0.7149 GB, free: 8.77 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000177/0.02122, allocations: 221.6 kB / 0.7151 GB, free: 8.504 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/0.02154, allocations: 257.8 kB / 0.7154 GB, free: 8.246 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.536e-05/0.02158, allocations: 33.7 kB / 0.7154 GB, free: 8.207 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.02172, allocations: 152.9 kB / 0.7156 GB, free: 8.051 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.02185, allocations: 123 kB / 0.7157 GB, free: 7.93 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.02198, allocations: 66.2 kB / 0.7157 GB, free: 7.859 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002167/0.0222, allocations: 350.7 kB / 0.7161 GB, free: 7.508 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00039/0.02259, allocations: 219.9 kB / 0.7163 GB, free: 7.273 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004928/0.02308, allocations: 326.8 kB / 0.7166 GB, free: 6.887 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007631/0.02384, allocations: 454.2 kB / 0.717 GB, free: 6.375 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.02385, allocations: 0 / 0.717 GB, free: 6.375 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001025/0.02487, allocations: 0.5809 MB / 0.7176 GB, free: 5.75 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.024e-05/0.02496, allocations: 93.09 kB / 0.7177 GB, free: 5.641 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.02497, allocations: 4 kB / 0.7177 GB, free: 5.637 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.02499, allocations: 4 kB / 0.7177 GB, free: 5.633 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/0.02541, allocations: 83.83 kB / 0.7178 GB, free: 5.551 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.02542, allocations: 4 kB / 0.7178 GB, free: 5.547 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.02566, allocations: 23.97 kB / 0.7178 GB, free: 5.523 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/0.02569, allocations: 20.09 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.0003371/0.02603, allocations: 260.4 kB / 0.7181 GB, free: 5.234 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.226e-05/0.02609, allocations: 31.81 kB / 0.7181 GB, free: 5.203 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.886e-05/0.02617, allocations: 30.95 kB / 0.7181 GB, free: 5.172 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.02618, allocations: 4 kB / 0.7181 GB, free: 5.168 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.02618, allocations: 0 / 0.7181 GB, free: 5.168 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.02619, allocations: 3.984 kB / 0.7181 GB, free: 5.164 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.02758, allocations: 0.8212 MB / 0.7189 GB, free: 4.285 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.02759, allocations: 0 / 0.7189 GB, free: 4.285 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003125/0.0279, allocations: 51.97 kB / 0.719 GB, free: 4.234 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.02791, allocations: 7.984 kB / 0.719 GB, free: 4.227 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/0.02794, allocations: 11.98 kB / 0.719 GB, free: 4.215 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.02794, allocations: 0 / 0.719 GB, free: 4.215 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.02794, allocations: 0 / 0.719 GB, free: 4.215 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2223/0.2502, allocations: 0.7737 MB / 0.7198 GB, free: 37.2 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002562/0.2505, allocations: 49.06 kB / 0.7198 GB, free: 37.2 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.057e-05/0.2506, allocations: 16.83 kB / 0.7198 GB, free: 37.2 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.2508, allocations: 17.45 kB / 0.7198 GB, free: 37.2 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.2509, allocations: 27.88 kB / 0.7199 GB, free: 37.2 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/0.251, allocations: 16.98 kB / 0.7199 GB, free: 37.2 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.000194/0.2512, allocations: 185.3 kB / 0.7201 GB, free: 37.12 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.2512, allocations: 0 / 0.7201 GB, free: 37.12 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.000475/0.2516, allocations: 88.66 kB / 0.7201 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.0001402/0.2518, allocations: 125 kB / 0.7203 GB, free: 37.04 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0007271/0.2525, allocations: 0.5872 MB / 0.7208 GB, free: 36.69 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2525, allocations: 1.094 kB / 0.7208 GB, free: 36.69 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003288/0.2528, allocations: 317.1 kB / 0.7211 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.0005549/0.2534, allocations: 91.98 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.001402/0.2548, allocations: 0.8657 MB / 0.7221 GB, free: 36.07 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.255, allocations: 164.2 kB / 0.7222 GB, free: 35.99 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.000137/0.2551, allocations: 34.2 kB / 0.7223 GB, free: 35.98 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.543e-05/0.2552, allocations: 27.84 kB / 0.7223 GB, free: 35.98 MB / 426.8 MB Notification: Performance of SimCode: time 5.21e-07/0.2552, allocations: 4 kB / 0.7223 GB, free: 35.97 MB / 426.8 MB Notification: Performance of Templates: time 0.01011/0.2653, allocations: 4.83 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.N05AH04_Quetiapine.Quetiapine_Chen2025_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine_Chen2025_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine_Chen2025_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine_Chen2025_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine_Chen2025_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine_Chen2025_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine_Chen2025_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.178007256938145]