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_base.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.000697/0.000697, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008875/0.001584, 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.0007219/0.0007219, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008819/0.001604, 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.965/0.965, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1011/1.066, allocations: 53.66 MB / 243.3 MB, free: 15.59 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.7978/0.7978, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03213/0.8299, allocations: 21.04 MB / 0.5432 GB, free: 31.96 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_base,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_base") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_base,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_base") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.5446 GB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.153e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_base): time 0.00347/0.003492, allocations: 2.503 MB / 0.547 GB, free: 28.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005958/0.00945, allocations: 6.684 MB / 0.5535 GB, free: 21.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.009633, allocations: 0 / 0.5535 GB, free: 21.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.009736, allocations: 31.66 kB / 0.5536 GB, free: 21.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.00996, allocations: 83.33 kB / 0.5536 GB, free: 21.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.01017, allocations: 63.73 kB / 0.5537 GB, free: 21.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003057/0.01047, allocations: 266.6 kB / 0.554 GB, free: 20.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.01062, allocations: 38.53 kB / 0.554 GB, free: 20.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.01088, allocations: 172.3 kB / 0.5542 GB, free: 20.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.01108, allocations: 87.72 kB / 0.5542 GB, free: 20.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.01112, allocations: 16 kB / 0.5543 GB, free: 20.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.386e-05/0.01115, allocations: 16 kB / 0.5543 GB, free: 20.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.502e-05/0.01119, allocations: 27.88 kB / 0.5543 GB, free: 20.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.931e-05/0.01127, allocations: 63.88 kB / 0.5544 GB, free: 20.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.01149, allocations: 143.5 kB / 0.5545 GB, free: 20.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-05/0.0115, allocations: 4 kB / 0.5545 GB, free: 20.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.0115, allocations: 0 / 0.5545 GB, free: 20.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.708e-05/0.01152, allocations: 0 / 0.5545 GB, free: 20.37 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.0007596/0.01228, allocations: 0.4937 MB / 0.555 GB, free: 19.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.01232, allocations: 11.89 kB / 0.555 GB, free: 19.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.601e-05/0.01239, allocations: 28.91 kB / 0.555 GB, free: 19.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.01261, allocations: 179 kB / 0.5552 GB, free: 19.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.01264, allocations: 12.61 kB / 0.5552 GB, free: 19.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.01267, allocations: 20.31 kB / 0.5552 GB, free: 19.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.0129, allocations: 159.5 kB / 0.5554 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.01292, allocations: 0 / 0.5554 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.01293, allocations: 4 kB / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.01294, allocations: 4 kB / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.01305, allocations: 76.64 kB / 0.5555 GB, free: 19.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005376/0.01359, allocations: 368.9 kB / 0.5558 GB, free: 18.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.01381, allocations: 108.2 kB / 0.5559 GB, free: 18.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.46e-05/0.01386, allocations: 58.55 kB / 0.556 GB, free: 18.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.01387, allocations: 4 kB / 0.556 GB, free: 18.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.01406, allocations: 192.3 kB / 0.5562 GB, free: 18.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.484e-06/0.01407, allocations: 0 / 0.5562 GB, free: 18.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007406/0.01481, allocations: 0.5132 MB / 0.5567 GB, free: 17.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.01485, allocations: 170.2 kB / 0.5568 GB, free: 17.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.01497, allocations: 206 kB / 0.557 GB, free: 17.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.01499, allocations: 29.69 kB / 0.557 GB, free: 17.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.01503, allocations: 120.4 kB / 0.5572 GB, free: 17.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.275e-05/0.01509, allocations: 71.45 kB / 0.5572 GB, free: 17.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-05/0.01516, allocations: 55.17 kB / 0.5573 GB, free: 17.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.695e-05/0.0152, allocations: 330.8 kB / 0.5576 GB, free: 16.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.726e-05/0.01528, allocations: 101 kB / 0.5577 GB, free: 16.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.0154, allocations: 173.3 kB / 0.5579 GB, free: 16.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.01552, allocations: 214.2 kB / 0.5581 GB, free: 16.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.01552, allocations: 0 / 0.5581 GB, free: 16.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001662/0.01568, allocations: 264.4 kB / 0.5583 GB, free: 16.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.977e-05/0.01572, allocations: 67.42 kB / 0.5584 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.01573, allocations: 0 / 0.5584 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.01574, allocations: 4 kB / 0.5584 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.01593, allocations: 67.89 kB / 0.5584 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.01593, allocations: 4 kB / 0.5585 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.033e-05/0.01601, allocations: 13.67 kB / 0.5585 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.01602, allocations: 15.94 kB / 0.5585 GB, free: 15.85 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.0001197/0.01614, allocations: 176.3 kB / 0.5586 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.01617, allocations: 27.92 kB / 0.5587 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.731e-05/0.0162, allocations: 21.95 kB / 0.5587 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.01621, allocations: 0 / 0.5587 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.01621, allocations: 0 / 0.5587 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.189e-05/0.01623, allocations: 15.86 kB / 0.5587 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.01624, allocations: 11.94 kB / 0.5587 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.01627, allocations: 11.98 kB / 0.5587 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.415e-05/0.01633, allocations: 15.31 kB / 0.5587 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.01638, allocations: 19.95 kB / 0.5588 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002045/0.01658, allocations: 264.2 kB / 0.559 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002136/0.0168, allocations: 426.5 kB / 0.5594 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2865/0.3033, allocations: 76.7 kB / 0.5595 GB, free: 79.62 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001197/0.3034, allocations: 62.02 kB / 0.5596 GB, free: 79.61 MB / 410.8 MB Notification: Performance of Backend: time 4.11e-07/0.3034, allocations: 0 / 0.5596 GB, free: 79.61 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004711/0.3039, allocations: 337.9 kB / 0.5599 GB, free: 79.37 MB / 410.8 MB Notification: Performance of SimCode: time 0.005651/0.3095, allocations: 1.118 MB / 0.561 GB, free: 78.56 MB / 410.8 MB Notification: Performance of Templates: time 0.006919/0.3164, allocations: 3.858 MB / 0.5647 GB, free: 78.41 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_base.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_base.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_base.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_base.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_base.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_base -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Li2022_base.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.0076622646301985]