Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine_Geers2022_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.001951/0.001951, 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.002023/0.002023, 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.589/1.589, 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.415/1.415, allocations: 292.9 MB / 0.5392 GB, free: 49.8 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.N05AH02_Clozapine.Clozapine_Geers2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=140400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine_Geers2022_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine_Geers2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=140400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine_Geers2022_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.6999 GB, free: 8.574 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.807e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.57 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine_Geers2022_reference): time 0.003408/0.003436, allocations: 3.011 MB / 0.7028 GB, free: 5.539 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005841/0.009277, allocations: 6.639 MB / 0.7093 GB, free: 14.89 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002142/0.009491, allocations: 4 kB / 0.7093 GB, free: 14.89 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.009658, allocations: 39.56 kB / 0.7094 GB, free: 14.85 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003664/0.01002, allocations: 134.9 kB / 0.7095 GB, free: 14.71 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.01032, allocations: 79.86 kB / 0.7096 GB, free: 14.64 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005648/0.01088, allocations: 441.8 kB / 0.71 GB, free: 14.2 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.01107, allocations: 65.34 kB / 0.7101 GB, free: 14.14 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/0.01139, allocations: 219.5 kB / 0.7103 GB, free: 13.93 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003003/0.01169, allocations: 127.7 kB / 0.7104 GB, free: 13.8 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 6.127e-05/0.01175, allocations: 35.94 kB / 0.7104 GB, free: 13.77 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.948e-05/0.01182, allocations: 32 kB / 0.7105 GB, free: 13.73 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 8.33e-05/0.0119, allocations: 63.75 kB / 0.7105 GB, free: 13.67 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.01207, allocations: 123.7 kB / 0.7106 GB, free: 13.55 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005153/0.01259, allocations: 363 kB / 0.711 GB, free: 13.2 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.01259, allocations: 0 / 0.711 GB, free: 13.2 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.044e-06/0.01259, allocations: 0 / 0.711 GB, free: 13.2 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.0126, 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.00133/0.01393, allocations: 0.5998 MB / 0.7116 GB, free: 12.54 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.01397, allocations: 12.03 kB / 0.7116 GB, free: 12.53 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.01407, allocations: 48.64 kB / 0.7116 GB, free: 12.48 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006218/0.0147, allocations: 220.7 kB / 0.7118 GB, free: 12.25 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.361e-05/0.01475, allocations: 20.88 kB / 0.7119 GB, free: 12.23 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.956e-05/0.01481, allocations: 24.31 kB / 0.7119 GB, free: 12.2 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006147/0.01542, allocations: 310.2 kB / 0.7122 GB, free: 11.87 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.01545, allocations: 4 kB / 0.7122 GB, free: 11.87 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.01548, allocations: 8 kB / 0.7122 GB, free: 11.86 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.01548, allocations: 4 kB / 0.7122 GB, free: 11.86 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005678/0.01605, allocations: 248.2 kB / 0.7124 GB, free: 11.6 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.0173, allocations: 0.6504 MB / 0.7131 GB, free: 10.91 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007075/0.01801, allocations: 266.7 kB / 0.7133 GB, free: 10.63 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003094/0.01832, allocations: 160.4 kB / 0.7135 GB, free: 10.46 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.01834, allocations: 8 kB / 0.7135 GB, free: 10.45 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005906/0.01893, allocations: 367.4 kB / 0.7138 GB, free: 10.04 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.964e-06/0.01893, allocations: 0 / 0.7138 GB, free: 10.04 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.00243/0.02136, allocations: 1.143 MB / 0.7149 GB, free: 8.805 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001799/0.02154, allocations: 217.6 kB / 0.7152 GB, free: 8.543 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/0.02187, allocations: 257.8 kB / 0.7154 GB, free: 8.285 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.02192, allocations: 33.7 kB / 0.7154 GB, free: 8.246 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.02205, allocations: 152.9 kB / 0.7156 GB, free: 8.09 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.02218, allocations: 123 kB / 0.7157 GB, free: 7.969 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.02231, allocations: 66.2 kB / 0.7158 GB, free: 7.898 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.02253, allocations: 350.7 kB / 0.7161 GB, free: 7.547 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/0.02292, allocations: 215.8 kB / 0.7163 GB, free: 7.316 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005325/0.02346, allocations: 330.9 kB / 0.7166 GB, free: 6.926 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008378/0.02429, allocations: 458.1 kB / 0.7171 GB, free: 6.41 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.0243, allocations: 0 / 0.7171 GB, free: 6.41 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001228/0.02552, allocations: 0.581 MB / 0.7176 GB, free: 5.785 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.091e-05/0.02562, allocations: 93.16 kB / 0.7177 GB, free: 5.676 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.02563, allocations: 4 kB / 0.7177 GB, free: 5.672 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.02565, allocations: 4 kB / 0.7177 GB, free: 5.668 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.026, allocations: 83.88 kB / 0.7178 GB, free: 5.586 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.02601, allocations: 4 kB / 0.7178 GB, free: 5.582 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.02624, allocations: 19.98 kB / 0.7178 GB, free: 5.562 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.02628, allocations: 19.98 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.0003529/0.02663, allocations: 255.2 kB / 0.7181 GB, free: 5.277 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.957e-05/0.0267, allocations: 31.81 kB / 0.7181 GB, free: 5.246 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.617e-05/0.02679, allocations: 30.95 kB / 0.7181 GB, free: 5.215 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.02679, allocations: 4 kB / 0.7181 GB, free: 5.211 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.0268, allocations: 0 / 0.7181 GB, free: 5.211 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.02681, allocations: 7.875 kB / 0.7182 GB, free: 5.203 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.02836, allocations: 0.8212 MB / 0.719 GB, free: 4.324 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.02836, allocations: 4 kB / 0.719 GB, free: 4.32 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003308/0.02869, allocations: 59.91 kB / 0.719 GB, free: 4.262 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.0287, allocations: 0 / 0.719 GB, free: 4.262 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.646e-05/0.02873, allocations: 11.98 kB / 0.719 GB, free: 4.25 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.02873, allocations: 0 / 0.719 GB, free: 4.25 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.02874, allocations: 4 kB / 0.719 GB, free: 4.246 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.03001, allocations: 0.764 MB / 0.7198 GB, free: 3.43 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.03013, allocations: 55.77 kB / 0.7198 GB, free: 3.375 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.89e-05/0.0302, allocations: 16 kB / 0.7198 GB, free: 3.359 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.03043, allocations: 15.98 kB / 0.7199 GB, free: 3.344 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.03054, allocations: 35.94 kB / 0.7199 GB, free: 3.309 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.03057, allocations: 11.94 kB / 0.7199 GB, free: 3.297 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002202/0.03079, allocations: 181.2 kB / 0.7201 GB, free: 3.121 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.03079, allocations: 0 / 0.7201 GB, free: 3.121 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.2464/0.2772, allocations: 86.17 kB / 0.7202 GB, free: 37.19 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.0002492/0.2775, allocations: 129.5 kB / 0.7203 GB, free: 37.1 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.2786, allocations: 0.5833 MB / 0.7209 GB, free: 36.76 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2786, allocations: 0 / 0.7209 GB, free: 36.76 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004327/0.279, allocations: 319.4 kB / 0.7212 GB, free: 36.57 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007244/0.2797, allocations: 87.11 kB / 0.7212 GB, free: 36.57 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.2814, allocations: 0.8624 MB / 0.7221 GB, free: 36.13 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.2815, allocations: 166.7 kB / 0.7222 GB, free: 36.05 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001812/0.2817, allocations: 39.17 kB / 0.7223 GB, free: 36.04 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.083e-05/0.2818, allocations: 28.06 kB / 0.7223 GB, free: 36.04 MB / 426.8 MB Notification: Performance of SimCode: time 1.052e-06/0.2818, allocations: 0 / 0.7223 GB, free: 36.04 MB / 426.8 MB Notification: Performance of Templates: time 0.01133/0.2931, allocations: 4.837 MB / 0.727 GB, free: 35.59 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine_Geers2022_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine_Geers2022_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine_Geers2022_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine_Geers2022_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine_Geers2022_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine_Geers2022_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine_Geers2022_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.994926959974691]