Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_final.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.001047/0.001047, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001269/0.002317, allocations: 443.9 kB / 10.36 MB, free: 332 kB / 10.45 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.0006933/0.0006933, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001573/0.002266, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.9676/0.9676, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09928/1.067, allocations: 53.67 MB / 243.3 MB, free: 15.57 MB / 250.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.7864/0.7864, allocations: 291.2 MB / 0.5226 GB, free: 52.48 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03753/0.8239, allocations: 21.04 MB / 0.5432 GB, free: 31.5 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.N05AD01_Haloperidol.Haloperidol_Li2022_final,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_final") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_final,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_final") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.5446 GB, free: 30.12 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.757e-05/1.902e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_final): time 0.002248/0.002267, allocations: 2.503 MB / 0.547 GB, free: 27.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00427/0.006537, allocations: 6.692 MB / 0.5535 GB, free: 20.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.006652, allocations: 4 kB / 0.5535 GB, free: 20.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.212e-05/0.006714, allocations: 27.66 kB / 0.5536 GB, free: 20.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.006873, allocations: 79.33 kB / 0.5536 GB, free: 20.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001448/0.007017, allocations: 51.81 kB / 0.5537 GB, free: 20.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.007215, allocations: 274.5 kB / 0.554 GB, free: 20.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.935e-05/0.007314, allocations: 38.53 kB / 0.554 GB, free: 20.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.007493, allocations: 172.3 kB / 0.5542 GB, free: 20.26 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.007644, allocations: 87.72 kB / 0.5542 GB, free: 20.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.007669, allocations: 16 kB / 0.5543 GB, free: 20.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.503e-05/0.007694, allocations: 20 kB / 0.5543 GB, free: 20.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.714e-05/0.007721, allocations: 27.88 kB / 0.5543 GB, free: 20.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.234e-05/0.007783, allocations: 59.88 kB / 0.5544 GB, free: 20.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.007951, allocations: 143.5 kB / 0.5545 GB, free: 19.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.007958, allocations: 0 / 0.5545 GB, free: 19.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.007958, allocations: 4 kB / 0.5545 GB, free: 19.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.007966, allocations: 0 / 0.5545 GB, free: 19.91 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.000485/0.008451, allocations: 0.4937 MB / 0.555 GB, free: 19.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.462e-05/0.008476, allocations: 11.89 kB / 0.555 GB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.00852, allocations: 28.91 kB / 0.555 GB, free: 19.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.008657, allocations: 179 kB / 0.5552 GB, free: 19.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.008672, allocations: 12.61 kB / 0.5552 GB, free: 19.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.008698, allocations: 18 kB / 0.5552 GB, free: 19.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.008855, allocations: 159.5 kB / 0.5554 GB, free: 18.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.008864, allocations: 0 / 0.5554 GB, free: 18.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.008881, allocations: 15.98 kB / 0.5554 GB, free: 18.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.008885, allocations: 0 / 0.5554 GB, free: 18.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.219e-05/0.008967, allocations: 84.62 kB / 0.5555 GB, free: 18.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003812/0.009348, allocations: 361 kB / 0.5558 GB, free: 18.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.009506, allocations: 100.2 kB / 0.5559 GB, free: 18.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.257e-05/0.009548, allocations: 62.53 kB / 0.556 GB, free: 18.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.009556, allocations: 4 kB / 0.556 GB, free: 18.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001301/0.009687, allocations: 192.3 kB / 0.5562 GB, free: 18.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.282e-06/0.009688, allocations: 0 / 0.5562 GB, free: 18.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005624/0.01025, allocations: 0.5161 MB / 0.5567 GB, free: 17.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.01029, allocations: 170.2 kB / 0.5568 GB, free: 17.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.01039, allocations: 206 kB / 0.557 GB, free: 17.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.0104, allocations: 33.7 kB / 0.557 GB, free: 17.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.01043, allocations: 116.4 kB / 0.5572 GB, free: 16.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.01047, allocations: 75.47 kB / 0.5572 GB, free: 16.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.602e-05/0.01053, allocations: 51.17 kB / 0.5573 GB, free: 16.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.538e-05/0.01056, allocations: 338.8 kB / 0.5576 GB, free: 16.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.634e-05/0.01062, allocations: 93 kB / 0.5577 GB, free: 16.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.489e-05/0.01069, allocations: 179.7 kB / 0.5579 GB, free: 16.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.01082, allocations: 210.2 kB / 0.5581 GB, free: 15.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01082, allocations: 7.312 kB / 0.5581 GB, free: 15.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001806/0.011, allocations: 260.2 kB / 0.5583 GB, free: 15.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/0.01103, allocations: 63.39 kB / 0.5584 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.01104, allocations: 4 kB / 0.5584 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.01105, allocations: 4 kB / 0.5584 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.01122, allocations: 72.11 kB / 0.5585 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.01123, allocations: 4 kB / 0.5585 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.01133, allocations: 15.98 kB / 0.5585 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.01134, allocations: 7.938 kB / 0.5585 GB, free: 15.39 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001085/0.01145, allocations: 169.6 kB / 0.5586 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.01148, allocations: 27.92 kB / 0.5587 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.08e-05/0.01151, allocations: 25.95 kB / 0.5587 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.01151, allocations: 4 kB / 0.5587 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.01151, allocations: 0 / 0.5587 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/0.01154, allocations: 19.86 kB / 0.5587 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.01155, allocations: 3.938 kB / 0.5587 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.01158, allocations: 11.98 kB / 0.5587 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.514e-05/0.01164, allocations: 12 kB / 0.5587 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.01169, allocations: 19.95 kB / 0.5588 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002183/0.0119, allocations: 271 kB / 0.559 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2616/0.2735, allocations: 417.9 kB / 0.5594 GB, free: 79.46 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.446e-05/0.2736, allocations: 80.27 kB / 0.5595 GB, free: 79.42 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.905e-05/0.2737, allocations: 63.39 kB / 0.5596 GB, free: 79.41 MB / 410.8 MB Notification: Performance of Backend: time 2.31e-07/0.2737, allocations: 0 / 0.5596 GB, free: 79.41 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004164/0.2741, allocations: 334.4 kB / 0.5599 GB, free: 79.17 MB / 410.8 MB Notification: Performance of SimCode: time 0.005443/0.2795, allocations: 1.12 MB / 0.561 GB, free: 78.36 MB / 410.8 MB Notification: Performance of Templates: time 0.006095/0.2856, allocations: 3.864 MB / 0.5647 GB, free: 78.18 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_final.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_final.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_final.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_final.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_final.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_final -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_final.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9708794336766005]