Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zhang2024_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.007422/0.007422, 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.00281/0.00281, 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.678/1.678, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.348/1.348, allocations: 293 MB / 0.5392 GB, free: 49.82 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_Zhang2024_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zhang2024_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zhang2024_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zhang2024_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.6999 GB, free: 8.586 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.504e-05/3.672e-05, allocations: 6.219 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_Zhang2024_reference): time 0.004251/0.004288, allocations: 3.015 MB / 0.7029 GB, free: 5.543 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.00789/0.01218, allocations: 6.635 MB / 0.7093 GB, free: 14.9 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000488/0.01267, allocations: 0 / 0.7093 GB, free: 14.9 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002477/0.01291, allocations: 47.58 kB / 0.7094 GB, free: 14.85 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004843/0.0134, allocations: 126.9 kB / 0.7095 GB, free: 14.73 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.01379, allocations: 87.83 kB / 0.7096 GB, free: 14.64 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005965/0.01439, allocations: 425.9 kB / 0.71 GB, free: 14.22 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002402/0.01463, allocations: 70 kB / 0.7101 GB, free: 14.16 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003533/0.01498, allocations: 227.4 kB / 0.7103 GB, free: 13.93 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003232/0.01531, allocations: 123.6 kB / 0.7104 GB, free: 13.81 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 6.452e-05/0.01537, allocations: 36 kB / 0.7104 GB, free: 13.78 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.621e-05/0.01544, allocations: 32 kB / 0.7105 GB, free: 13.75 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 9.646e-05/0.01553, allocations: 63.7 kB / 0.7105 GB, free: 13.68 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.01573, allocations: 131.7 kB / 0.7107 GB, free: 13.55 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005531/0.01628, allocations: 359 kB / 0.711 GB, free: 13.2 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.01628, allocations: 0 / 0.711 GB, free: 13.2 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.675e-06/0.01629, allocations: 0 / 0.711 GB, free: 13.2 MB / 426.8 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.0163, allocations: 0 / 0.711 GB, free: 13.2 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.001391/0.01769, allocations: 0.6037 MB / 0.7116 GB, free: 12.55 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.01774, allocations: 12.03 kB / 0.7116 GB, free: 12.54 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.01785, allocations: 48.64 kB / 0.7116 GB, free: 12.49 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004301/0.01828, allocations: 224.7 kB / 0.7119 GB, free: 12.25 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.01831, allocations: 12.88 kB / 0.7119 GB, free: 12.24 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.95e-05/0.01838, allocations: 28.33 kB / 0.7119 GB, free: 12.21 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006878/0.01907, allocations: 306.2 kB / 0.7122 GB, free: 11.88 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.01909, allocations: 3.984 kB / 0.7122 GB, free: 11.88 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.165e-05/0.01914, allocations: 15.98 kB / 0.7122 GB, free: 11.86 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.01915, allocations: 8 kB / 0.7122 GB, free: 11.86 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005915/0.01974, allocations: 248.2 kB / 0.7125 GB, free: 11.6 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.02114, allocations: 0.6465 MB / 0.7131 GB, free: 10.92 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009021/0.02204, allocations: 270 kB / 0.7133 GB, free: 10.63 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003265/0.02237, allocations: 164.4 kB / 0.7135 GB, free: 10.46 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.02239, allocations: 0 / 0.7135 GB, free: 10.46 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006437/0.02303, allocations: 371.4 kB / 0.7139 GB, free: 10.04 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.673e-06/0.02303, allocations: 0 / 0.7139 GB, free: 10.04 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.002619/0.02565, allocations: 1.135 MB / 0.715 GB, free: 8.812 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001841/0.02584, allocations: 221.6 kB / 0.7152 GB, free: 8.547 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/0.02617, allocations: 249.9 kB / 0.7154 GB, free: 8.297 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 5.046e-05/0.02622, allocations: 41.7 kB / 0.7155 GB, free: 8.25 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.02638, allocations: 156.8 kB / 0.7156 GB, free: 8.09 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.0265, allocations: 111.1 kB / 0.7157 GB, free: 7.98 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.02664, allocations: 78.19 kB / 0.7158 GB, free: 7.898 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.02685, allocations: 342.7 kB / 0.7161 GB, free: 7.555 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003861/0.02723, allocations: 227.8 kB / 0.7163 GB, free: 7.312 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004775/0.02771, allocations: 326.9 kB / 0.7166 GB, free: 6.926 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007464/0.02846, allocations: 458.1 kB / 0.7171 GB, free: 6.41 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.02846, allocations: 0 / 0.7171 GB, free: 6.41 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001057/0.02952, allocations: 0.5809 MB / 0.7176 GB, free: 5.785 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.397e-05/0.02961, allocations: 93.09 kB / 0.7177 GB, free: 5.676 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.02962, allocations: 0 / 0.7177 GB, free: 5.676 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-05/0.02965, allocations: 8 kB / 0.7177 GB, free: 5.668 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/0.03, allocations: 75.89 kB / 0.7178 GB, free: 5.594 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.03002, allocations: 4 kB / 0.7178 GB, free: 5.59 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.03029, allocations: 23.98 kB / 0.7178 GB, free: 5.566 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.03033, allocations: 20.19 kB / 0.7179 GB, free: 5.547 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.0003778/0.03071, allocations: 243.6 kB / 0.7181 GB, free: 5.289 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.327e-05/0.03077, allocations: 31.81 kB / 0.7181 GB, free: 5.258 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.488e-05/0.03087, allocations: 38.95 kB / 0.7182 GB, free: 5.219 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.03087, allocations: 0 / 0.7182 GB, free: 5.219 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.03088, allocations: 4 kB / 0.7182 GB, free: 5.215 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.03089, allocations: 3.938 kB / 0.7182 GB, free: 5.211 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.03239, allocations: 0.8211 MB / 0.719 GB, free: 4.332 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.03239, allocations: 0 / 0.719 GB, free: 4.332 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003201/0.03271, allocations: 59.89 kB / 0.719 GB, free: 4.273 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.03272, allocations: 3.984 kB / 0.719 GB, free: 4.27 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/0.03276, allocations: 16 kB / 0.719 GB, free: 4.254 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.03276, allocations: 0 / 0.719 GB, free: 4.254 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.03276, allocations: 0 / 0.719 GB, free: 4.254 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.03409, allocations: 0.7679 MB / 0.7198 GB, free: 3.434 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.03422, allocations: 55.77 kB / 0.7198 GB, free: 3.379 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.574e-05/0.03429, allocations: 16 kB / 0.7199 GB, free: 3.363 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.0345, allocations: 15.98 kB / 0.7199 GB, free: 3.348 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.03461, allocations: 27.95 kB / 0.7199 GB, free: 3.32 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/0.03465, allocations: 19.92 kB / 0.7199 GB, free: 3.301 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002322/0.03488, allocations: 185.2 kB / 0.7201 GB, free: 3.121 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.03488, allocations: 0 / 0.7201 GB, free: 3.121 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.3054/0.3403, allocations: 83.05 kB / 0.7202 GB, free: 37.14 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.0001903/0.3405, allocations: 131.8 kB / 0.7203 GB, free: 37.05 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0008854/0.3414, allocations: 0.583 MB / 0.7209 GB, free: 36.71 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3414, allocations: 1.312 kB / 0.7209 GB, free: 36.71 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000334/0.3417, allocations: 318.9 kB / 0.7212 GB, free: 36.52 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005973/0.3423, allocations: 86.67 kB / 0.7213 GB, free: 36.52 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.3438, allocations: 0.8604 MB / 0.7221 GB, free: 36.08 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.344, allocations: 167.2 kB / 0.7223 GB, free: 36 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001456/0.3441, allocations: 39.36 kB / 0.7223 GB, free: 35.98 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.221e-05/0.3442, allocations: 28.86 kB / 0.7223 GB, free: 35.98 MB / 426.8 MB Notification: Performance of SimCode: time 6.02e-07/0.3442, allocations: 0 / 0.7223 GB, free: 35.98 MB / 426.8 MB Notification: Performance of Templates: time 0.01136/0.3556, allocations: 4.84 MB / 0.7271 GB, free: 35.52 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zhang2024_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zhang2024_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zhang2024_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zhang2024_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zhang2024_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zhang2024_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zhang2024_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.519810363883153]