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.0009626/0.0009626, allocations: 92.52 kB / 19.94 MB, free: 4.602 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.0009519/0.0009519, allocations: 165.9 kB / 23.21 MB, free: 1.332 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.8775/0.8775, allocations: 177.1 MB / 203.5 MB, free: 5.766 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.6399/0.6399, allocations: 291.1 MB / 0.5382 GB, free: 51.89 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.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.142e-06/1.142e-06, allocations: 0 / 0.6973 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.828e-05/1.942e-05, allocations: 9.031 kB / 0.6974 GB, free: 10.37 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine_Geers2022_reference): time 0.002327/0.002347, allocations: 3.015 MB / 0.7003 GB, free: 7.332 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004645/0.006992, allocations: 6.639 MB / 0.7068 GB, free: 0.6836 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.007097, allocations: 7.938 kB / 0.7068 GB, free: 0.6758 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.00721, allocations: 35.62 kB / 0.7068 GB, free: 0.6406 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.007397, allocations: 130.9 kB / 0.7069 GB, free: 0.5117 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.007595, allocations: 95.77 kB / 0.707 GB, free: 428 kB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.007837, allocations: 430 kB / 0.7075 GB, free: 15.99 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.007978, allocations: 62.06 kB / 0.7075 GB, free: 15.93 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.008156, allocations: 231.4 kB / 0.7077 GB, free: 15.71 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.008339, allocations: 123.6 kB / 0.7078 GB, free: 15.59 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.504e-05/0.008374, allocations: 28 kB / 0.7079 GB, free: 15.56 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.253e-05/0.008407, allocations: 36 kB / 0.7079 GB, free: 15.52 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 3.99e-05/0.008447, allocations: 67.69 kB / 0.708 GB, free: 15.46 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 9.702e-05/0.008544, allocations: 119.8 kB / 0.7081 GB, free: 15.34 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.008804, allocations: 362.9 kB / 0.7084 GB, free: 14.99 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.008806, allocations: 0 / 0.7084 GB, free: 14.99 MB / 426.8 MB Notification: Performance of FrontEnd: time 7.72e-07/0.008806, allocations: 0 / 0.7084 GB, free: 14.99 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.008811, 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.0006985/0.009509, allocations: 0.5998 MB / 0.709 GB, free: 14.34 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.009542, allocations: 8.031 kB / 0.709 GB, free: 14.33 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.807e-05/0.0096, allocations: 36.7 kB / 0.7091 GB, free: 14.3 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.009814, allocations: 236.6 kB / 0.7093 GB, free: 14.04 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.009834, allocations: 20.81 kB / 0.7093 GB, free: 14.02 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.009867, allocations: 24.33 kB / 0.7093 GB, free: 14 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.01019, allocations: 310.2 kB / 0.7096 GB, free: 13.67 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.0102, allocations: 4 kB / 0.7096 GB, free: 13.66 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.01022, allocations: 8 kB / 0.7096 GB, free: 13.66 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.01023, allocations: 4 kB / 0.7096 GB, free: 13.65 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002851/0.01051, allocations: 244.2 kB / 0.7099 GB, free: 13.4 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00068/0.01119, allocations: 0.6582 MB / 0.7105 GB, free: 12.71 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000387/0.01158, allocations: 276.3 kB / 0.7108 GB, free: 12.42 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.01173, allocations: 156.5 kB / 0.7109 GB, free: 12.25 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.01174, allocations: 4 kB / 0.7109 GB, free: 12.25 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002903/0.01203, allocations: 375.4 kB / 0.7113 GB, free: 11.83 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.472e-06/0.01204, allocations: 0 / 0.7113 GB, free: 11.83 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.001225/0.01326, allocations: 1.135 MB / 0.7124 GB, free: 10.6 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.223e-05/0.01333, allocations: 221.6 kB / 0.7126 GB, free: 10.33 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.01351, allocations: 253.9 kB / 0.7129 GB, free: 10.08 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.01353, allocations: 33.7 kB / 0.7129 GB, free: 10.04 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.007e-05/0.0136, allocations: 160.8 kB / 0.713 GB, free: 9.875 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.678e-05/0.01366, allocations: 119.1 kB / 0.7132 GB, free: 9.758 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.005e-05/0.01373, allocations: 74.12 kB / 0.7132 GB, free: 9.68 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 7.913e-05/0.01381, allocations: 346.8 kB / 0.7136 GB, free: 9.332 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.014, allocations: 219.8 kB / 0.7138 GB, free: 9.098 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003937/0.01439, allocations: 322.9 kB / 0.7141 GB, free: 8.715 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003608/0.01475, allocations: 462.1 kB / 0.7145 GB, free: 8.195 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.01475, allocations: 4 kB / 0.7145 GB, free: 8.191 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004907/0.01525, allocations: 0.5807 MB / 0.7151 GB, free: 7.566 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.01529, allocations: 89.44 kB / 0.7152 GB, free: 7.461 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.01529, allocations: 8 kB / 0.7152 GB, free: 7.453 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.0153, allocations: 4 kB / 0.7152 GB, free: 7.449 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.01548, allocations: 79.89 kB / 0.7153 GB, free: 7.371 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.01549, allocations: 11.92 kB / 0.7153 GB, free: 7.359 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.0156, allocations: 19.98 kB / 0.7153 GB, free: 7.34 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.01562, 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.0001676/0.01578, allocations: 243.2 kB / 0.7155 GB, free: 7.07 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.01581, allocations: 31.81 kB / 0.7156 GB, free: 7.039 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.589e-05/0.01585, allocations: 30.95 kB / 0.7156 GB, free: 7.008 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01585, allocations: 4 kB / 0.7156 GB, free: 7.004 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.01585, allocations: 0 / 0.7156 GB, free: 7.004 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.01586, allocations: 3.984 kB / 0.7156 GB, free: 7 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006932/0.01655, allocations: 0.8134 MB / 0.7164 GB, free: 6.129 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.01655, allocations: 0 / 0.7164 GB, free: 6.129 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.0167, allocations: 59.91 kB / 0.7165 GB, free: 6.07 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.01671, allocations: 4 kB / 0.7165 GB, free: 6.066 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.01673, allocations: 11.98 kB / 0.7165 GB, free: 6.055 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.01673, allocations: 0 / 0.7165 GB, free: 6.055 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01673, allocations: 4 kB / 0.7165 GB, free: 6.051 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000616/0.01734, allocations: 0.7795 MB / 0.7172 GB, free: 5.219 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.317e-05/0.01742, allocations: 51.78 kB / 0.7173 GB, free: 5.168 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.01745, allocations: 16 kB / 0.7173 GB, free: 5.152 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.693e-05/0.01755, allocations: 19.92 kB / 0.7173 GB, free: 5.133 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.906e-05/0.01762, allocations: 39.92 kB / 0.7174 GB, free: 5.094 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.01763, allocations: 11.94 kB / 0.7174 GB, free: 5.082 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001093/0.01774, allocations: 185.2 kB / 0.7175 GB, free: 4.902 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01774, allocations: 3.938 kB / 0.7175 GB, free: 4.898 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.000213/0.01796, allocations: 88 kB / 0.7176 GB, free: 4.812 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 8.991e-05/0.01805, allocations: 118.8 kB / 0.7177 GB, free: 4.691 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.000472/0.01852, allocations: 0.592 MB / 0.7183 GB, free: 4.031 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.01852, allocations: 0 / 0.7183 GB, free: 4.031 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.01873, allocations: 318 kB / 0.7186 GB, free: 3.684 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.01905, allocations: 85.12 kB / 0.7187 GB, free: 3.598 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009434/0.01999, allocations: 0.883 MB / 0.7196 GB, free: 2.672 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.169e-05/0.02008, 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 6.34e-05/0.02015, allocations: 28.5 kB / 0.7198 GB, free: 2.457 MB / 426.8 MB Notification: Performance of SimCode: time 5.01e-07/0.02015, allocations: 4 kB / 0.7198 GB, free: 2.453 MB / 426.8 MB Notification: Performance of Templates: time 0.1573/0.1774, allocations: 4.377 MB / 0.724 GB, free: 36.26 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine_Geers2022_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.6318606389686465]