Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zang2024_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.001831/0.001831, 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.002034/0.002034, allocations: 170.3 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.689/1.689, 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.396/1.396, allocations: 292.9 MB / 0.5392 GB, free: 49.81 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_Zang2024_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=864000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zang2024_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zang2024_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=864000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zang2024_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.6999 GB, free: 8.578 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/3.157e-05, allocations: 6.219 kB / 0.6999 GB, free: 8.57 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zang2024_reference): time 0.003536/0.003567, allocations: 3.007 MB / 0.7028 GB, free: 5.543 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.006097/0.009664, allocations: 6.643 MB / 0.7093 GB, free: 14.89 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002465/0.009911, allocations: 4 kB / 0.7093 GB, free: 14.89 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.01009, allocations: 35.58 kB / 0.7094 GB, free: 14.85 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003533/0.01044, allocations: 130.9 kB / 0.7095 GB, free: 14.72 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.01075, allocations: 87.84 kB / 0.7096 GB, free: 14.64 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005257/0.01128, allocations: 429.9 kB / 0.71 GB, free: 14.21 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.01147, allocations: 66 kB / 0.71 GB, free: 14.15 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003238/0.0118, allocations: 227.4 kB / 0.7103 GB, free: 13.93 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003043/0.0121, allocations: 131.6 kB / 0.7104 GB, free: 13.8 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 6.148e-05/0.01216, allocations: 32 kB / 0.7104 GB, free: 13.77 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.127e-05/0.01223, allocations: 32 kB / 0.7105 GB, free: 13.74 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 7.985e-05/0.01231, allocations: 63.7 kB / 0.7105 GB, free: 13.68 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.01247, allocations: 123.7 kB / 0.7106 GB, free: 13.55 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004758/0.01295, allocations: 366.9 kB / 0.711 GB, free: 13.2 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.01295, allocations: 0 / 0.711 GB, free: 13.2 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.563e-06/0.01295, allocations: 0 / 0.711 GB, free: 13.2 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.01296, allocations: 4 kB / 0.711 GB, free: 13.19 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.001189/0.01415, allocations: 0.5998 MB / 0.7116 GB, free: 12.54 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.01419, allocations: 8.031 kB / 0.7116 GB, free: 12.54 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.751e-05/0.01428, allocations: 44.7 kB / 0.7116 GB, free: 12.49 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.01463, allocations: 228.7 kB / 0.7118 GB, free: 12.25 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.01466, allocations: 16.88 kB / 0.7119 GB, free: 12.23 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.333e-05/0.01471, allocations: 24.33 kB / 0.7119 GB, free: 12.21 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005892/0.0153, allocations: 314.1 kB / 0.7122 GB, free: 11.87 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.01532, allocations: 0 / 0.7122 GB, free: 11.87 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.01535, allocations: 12 kB / 0.7122 GB, free: 11.86 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.01536, allocations: 4 kB / 0.7122 GB, free: 11.86 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005651/0.01593, allocations: 244.2 kB / 0.7124 GB, free: 11.61 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.01718, allocations: 0.6543 MB / 0.7131 GB, free: 10.91 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007123/0.0179, allocations: 269.3 kB / 0.7133 GB, free: 10.63 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.01822, allocations: 164.4 kB / 0.7135 GB, free: 10.46 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.01823, allocations: 4 kB / 0.7135 GB, free: 10.45 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000576/0.01881, allocations: 367.5 kB / 0.7138 GB, free: 10.04 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.492e-06/0.01881, allocations: 0 / 0.7138 GB, free: 10.04 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.002496/0.02131, allocations: 1.139 MB / 0.7149 GB, free: 8.809 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001699/0.02148, allocations: 225.6 kB / 0.7152 GB, free: 8.539 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.02179, allocations: 253.9 kB / 0.7154 GB, free: 8.285 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.643e-05/0.02183, allocations: 37.69 kB / 0.7154 GB, free: 8.242 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.02197, allocations: 152.9 kB / 0.7156 GB, free: 8.086 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.0221, allocations: 119.1 kB / 0.7157 GB, free: 7.969 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.02223, allocations: 70.19 kB / 0.7158 GB, free: 7.895 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.02244, allocations: 346.7 kB / 0.7161 GB, free: 7.547 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003805/0.02282, allocations: 219.8 kB / 0.7163 GB, free: 7.312 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004628/0.02328, allocations: 326.9 kB / 0.7166 GB, free: 6.926 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007348/0.02402, allocations: 462.1 kB / 0.7171 GB, free: 6.406 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.02402, allocations: 0 / 0.7171 GB, free: 6.406 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009965/0.02502, allocations: 0.5768 MB / 0.7176 GB, free: 5.785 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.419e-05/0.0251, allocations: 93.44 kB / 0.7177 GB, free: 5.676 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.02511, allocations: 8 kB / 0.7177 GB, free: 5.668 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.02513, allocations: 4 kB / 0.7177 GB, free: 5.664 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003365/0.02547, allocations: 79.89 kB / 0.7178 GB, free: 5.586 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.02548, allocations: 4 kB / 0.7178 GB, free: 5.582 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.02571, allocations: 19.98 kB / 0.7178 GB, free: 5.562 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/0.02575, allocations: 19.94 kB / 0.7178 GB, free: 5.543 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.0003182/0.02607, allocations: 255.6 kB / 0.7181 GB, free: 5.273 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.933e-05/0.02613, allocations: 31.81 kB / 0.7181 GB, free: 5.242 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.148e-05/0.02621, allocations: 30.95 kB / 0.7181 GB, free: 5.211 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.02621, allocations: 4 kB / 0.7181 GB, free: 5.207 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.02622, allocations: 0 / 0.7181 GB, free: 5.207 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.02622, allocations: 0 / 0.7181 GB, free: 5.207 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.02763, allocations: 0.8211 MB / 0.7189 GB, free: 4.328 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.02764, allocations: 3.984 kB / 0.719 GB, free: 4.324 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003141/0.02795, allocations: 63.91 kB / 0.719 GB, free: 4.262 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.02796, allocations: 0 / 0.719 GB, free: 4.262 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/0.02799, allocations: 11.98 kB / 0.719 GB, free: 4.25 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.02799, allocations: 0 / 0.719 GB, free: 4.25 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.02799, allocations: 4 kB / 0.719 GB, free: 4.246 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.02929, allocations: 0.764 MB / 0.7198 GB, free: 3.43 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.02942, allocations: 51.77 kB / 0.7198 GB, free: 3.379 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.831e-05/0.02949, allocations: 20 kB / 0.7198 GB, free: 3.359 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.0297, allocations: 15.98 kB / 0.7199 GB, free: 3.344 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.02982, allocations: 31.95 kB / 0.7199 GB, free: 3.312 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.02985, allocations: 15.92 kB / 0.7199 GB, free: 3.297 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002123/0.03006, allocations: 181.2 kB / 0.7201 GB, free: 3.121 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.03006, allocations: 0 / 0.7201 GB, free: 3.121 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.2211/0.2512, allocations: 85.73 kB / 0.7202 GB, free: 37.21 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.0002414/0.2514, allocations: 128.5 kB / 0.7203 GB, free: 37.12 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0009001/0.2523, allocations: 0.5847 MB / 0.7208 GB, free: 36.78 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2523, allocations: 0 / 0.7208 GB, free: 36.78 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003351/0.2527, allocations: 319.8 kB / 0.7212 GB, free: 36.59 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005881/0.2533, allocations: 88.47 kB / 0.7212 GB, free: 36.59 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.2547, allocations: 0.8598 MB / 0.7221 GB, free: 36.15 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.2548, allocations: 166.5 kB / 0.7222 GB, free: 36.07 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001444/0.255, allocations: 35.48 kB / 0.7223 GB, free: 36.06 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.942e-05/0.2551, allocations: 27.59 kB / 0.7223 GB, free: 36.05 MB / 426.8 MB Notification: Performance of SimCode: time 4.01e-07/0.2551, allocations: 0 / 0.7223 GB, free: 36.05 MB / 426.8 MB Notification: Performance of Templates: time 0.01026/0.2653, allocations: 4.834 MB / 0.727 GB, free: 35.6 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zang2024_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zang2024_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zang2024_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zang2024_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zang2024_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zang2024_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zang2024_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.149361144984141]