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.0009805/0.0009805, allocations: 104.4 kB / 19.71 MB, free: 436 kB / 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.0009931/0.0009931, allocations: 216.4 kB / 23.01 MB, free: 2.934 MB / 13.93 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.9542/0.9542, allocations: 230.6 MB / 256.8 MB, free: 9.621 MB / 202.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.6709/0.6709, allocations: 312.3 MB / 0.6108 GB, free: 97.54 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 75.03 kB / 0.7699 GB, free: 20.2 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1129, allocations: 74 MB / 0.8421 GB, free: 10.34 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine_Geers2022_reference): time 0.003049/0.116, allocations: 3.014 MB / 0.8451 GB, free: 7.324 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005013/0.121, allocations: 6.637 MB / 0.8516 GB, free: 0.6875 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.1211, allocations: 7.938 kB / 0.8516 GB, free: 0.6797 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.1212, allocations: 32.27 kB / 0.8516 GB, free: 0.6484 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.1214, allocations: 128.3 kB / 0.8517 GB, free: 0.5234 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.1216, allocations: 84.84 kB / 0.8518 GB, free: 452 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.1219, allocations: 414.1 kB / 0.8522 GB, free: 36 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.1221, allocations: 58.12 kB / 0.8523 GB, free: 15.98 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.1222, allocations: 160.1 kB / 0.8524 GB, free: 15.82 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003385/0.1225, allocations: 143.3 kB / 0.8525 GB, free: 15.68 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.55e-05/0.1226, allocations: 32.59 kB / 0.8526 GB, free: 15.65 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.608e-05/0.1226, allocations: 32.5 kB / 0.8526 GB, free: 15.62 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.985e-05/0.1226, allocations: 64.36 kB / 0.8527 GB, free: 15.55 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.1228, allocations: 143.4 kB / 0.8528 GB, free: 15.41 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.123, allocations: 359.1 kB / 0.8531 GB, free: 15.06 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.123, allocations: 0.6562 kB / 0.8531 GB, free: 15.06 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.793e-06/0.123, allocations: 0 / 0.8531 GB, free: 15.06 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.373e-06/0.123, allocations: 0.5625 kB / 0.8531 GB, free: 15.06 MB / 490.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.0007664/0.1238, allocations: 0.6153 MB / 0.8537 GB, free: 14.4 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.1238, allocations: 8.031 kB / 0.8538 GB, free: 14.39 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/0.1239, allocations: 37.36 kB / 0.8538 GB, free: 14.36 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.1241, allocations: 225 kB / 0.854 GB, free: 14.11 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.1241, allocations: 17.34 kB / 0.854 GB, free: 14.1 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.1242, allocations: 31.89 kB / 0.8541 GB, free: 14.07 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/0.1245, allocations: 302.3 kB / 0.8543 GB, free: 13.75 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.1245, allocations: 4 kB / 0.8543 GB, free: 13.74 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.1245, allocations: 8.594 kB / 0.8544 GB, free: 13.73 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.1245, allocations: 4 kB / 0.8544 GB, free: 13.73 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/0.1248, allocations: 249.6 kB / 0.8546 GB, free: 13.47 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007285/0.1255, allocations: 0.6483 MB / 0.8552 GB, free: 12.79 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.1259, allocations: 274.2 kB / 0.8555 GB, free: 12.51 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.1261, allocations: 161 kB / 0.8556 GB, free: 12.34 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.1261, allocations: 0.7812 kB / 0.8556 GB, free: 12.34 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3009/0.427, allocations: 367.1 kB / 0.856 GB, free: 21.3 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 2.495e-06/0.427, allocations: 0.875 kB / 0.856 GB, free: 21.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.001347/0.4284, allocations: 1.135 MB / 0.8571 GB, free: 20.8 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.4284, allocations: 221.6 kB / 0.8573 GB, free: 20.55 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.4286, allocations: 253.9 kB / 0.8576 GB, free: 20.45 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.4286, allocations: 33.98 kB / 0.8576 GB, free: 20.42 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.4287, allocations: 160.7 kB / 0.8577 GB, free: 20.32 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.106e-05/0.4287, allocations: 120.3 kB / 0.8579 GB, free: 20.27 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.623e-05/0.4288, allocations: 78.77 kB / 0.8579 GB, free: 20.25 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.51e-05/0.4289, allocations: 342.9 kB / 0.8583 GB, free: 19.93 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.4291, allocations: 220.9 kB / 0.8585 GB, free: 19.83 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.4292, allocations: 325.1 kB / 0.8588 GB, free: 19.59 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/0.4296, allocations: 456.7 kB / 0.8592 GB, free: 19.34 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4296, allocations: 0 / 0.8592 GB, free: 19.34 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004563/0.43, allocations: 0.5734 MB / 0.8598 GB, free: 19.09 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/0.4301, allocations: 94.91 kB / 0.8599 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.4301, allocations: 2.656 kB / 0.8599 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.4301, allocations: 10.56 kB / 0.8599 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.4303, allocations: 79.89 kB / 0.86 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.4303, allocations: 9.688 kB / 0.86 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.4304, allocations: 22.17 kB / 0.86 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.4304, allocations: 18 kB / 0.86 GB, free: 19 MB / 490.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.0001595/0.4306, allocations: 234.6 kB / 0.8602 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.4306, allocations: 32.31 kB / 0.8603 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.818e-05/0.4306, allocations: 32.7 kB / 0.8603 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.4307, allocations: 3.062 kB / 0.8603 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4307, allocations: 4.891 kB / 0.8603 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.4307, allocations: 5.828 kB / 0.8603 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006779/0.4313, allocations: 0.8116 MB / 0.8611 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4313, allocations: 5.656 kB / 0.8611 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.4315, allocations: 59 kB / 0.8612 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4315, allocations: 0 / 0.8612 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.4315, allocations: 15.23 kB / 0.8612 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.4315, allocations: 5.438 kB / 0.8612 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4315, allocations: 3.938 kB / 0.8612 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000584/0.4321, allocations: 0.763 MB / 0.8619 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.729e-05/0.4322, allocations: 54.27 kB / 0.862 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.4322, allocations: 12.41 kB / 0.862 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.4323, allocations: 20.28 kB / 0.862 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.378e-05/0.4324, allocations: 37.77 kB / 0.862 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.4324, allocations: 12.98 kB / 0.8621 GB, free: 18.07 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001011/0.4325, allocations: 183.3 kB / 0.8622 GB, free: 17.98 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.4325, allocations: 0.5312 kB / 0.8622 GB, free: 17.98 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002198/0.4327, allocations: 86.73 kB / 0.8623 GB, free: 17.98 MB / 490.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.755e-05/0.4328, allocations: 129.1 kB / 0.8624 GB, free: 17.9 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004402/0.4333, allocations: 0.5909 MB / 0.863 GB, free: 17.55 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.4333, allocations: 0 / 0.863 GB, free: 17.55 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.4335, allocations: 313.8 kB / 0.8633 GB, free: 17.36 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.4338, allocations: 91.66 kB / 0.8634 GB, free: 17.36 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.4351, allocations: 1.069 MB / 0.8644 GB, free: 16.81 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.4352, allocations: 163.5 kB / 0.8646 GB, free: 16.73 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.026e-05/0.4353, allocations: 29.52 kB / 0.8646 GB, free: 16.72 MB / 490.8 MB Notification: Performance of SimCode: time 7.82e-07/0.4353, allocations: 0 / 0.8646 GB, free: 16.72 MB / 490.8 MB Notification: Performance of Templates: time 0.005829/0.4411, allocations: 4.349 MB / 0.8689 GB, free: 16.33 MB / 490.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: 6.111069739796221]