Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Liu2023_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.0006705/0.0006705, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008938/0.001564, 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.0006978/0.0006978, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009139/0.001612, 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 1.036/1.036, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1022/1.138, 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.8213/0.8213, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03274/0.854, 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.N05AL05_Amisulpride.Amisulpride_Liu2023_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=162000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Liu2023_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Liu2023_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=162000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Liu2023_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.5446 GB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.203e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.56 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Liu2023_reference): time 0.003718/0.00374, allocations: 3.312 MB / 0.5478 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00474/0.00848, allocations: 6.789 MB / 0.5544 GB, free: 20.44 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000225/0.008705, allocations: 3.938 kB / 0.5544 GB, free: 20.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.008815, allocations: 47.56 kB / 0.5545 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000223/0.009038, allocations: 134.9 kB / 0.5546 GB, free: 20.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.009244, allocations: 83.83 kB / 0.5547 GB, free: 20.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003/0.009544, allocations: 437.8 kB / 0.5551 GB, free: 19.74 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.009679, allocations: 71.36 kB / 0.5552 GB, free: 19.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.009916, allocations: 262.5 kB / 0.5554 GB, free: 19.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.0101, allocations: 127.6 kB / 0.5555 GB, free: 19.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.754e-05/0.01014, allocations: 32 kB / 0.5556 GB, free: 19.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.539e-05/0.01018, allocations: 36 kB / 0.5556 GB, free: 19.22 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.925e-05/0.01021, allocations: 47.81 kB / 0.5557 GB, free: 19.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.286e-05/0.0103, allocations: 103.8 kB / 0.5558 GB, free: 19.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.01052, allocations: 227.2 kB / 0.556 GB, free: 18.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.319e-05/0.01054, allocations: 0 / 0.556 GB, free: 18.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.01054, allocations: 0 / 0.556 GB, free: 18.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.01055, allocations: 0 / 0.556 GB, free: 18.85 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006605/0.01121, allocations: 0.6434 MB / 0.5566 GB, free: 18.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.01126, allocations: 15.84 kB / 0.5566 GB, free: 18.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.033e-05/0.01132, allocations: 48.58 kB / 0.5567 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.01154, allocations: 193.5 kB / 0.5568 GB, free: 17.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.01157, allocations: 16.88 kB / 0.5569 GB, free: 17.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.875e-05/0.0116, allocations: 28.31 kB / 0.5569 GB, free: 17.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.01184, allocations: 250.1 kB / 0.5571 GB, free: 17.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.01185, allocations: 0 / 0.5571 GB, free: 17.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.01187, allocations: 12 kB / 0.5571 GB, free: 17.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.01187, allocations: 4 kB / 0.5571 GB, free: 17.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.01198, allocations: 138.6 kB / 0.5573 GB, free: 17.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005233/0.01251, allocations: 473.9 kB / 0.5577 GB, free: 16.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.01272, allocations: 182.8 kB / 0.5579 GB, free: 16.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.937e-05/0.01278, allocations: 107.1 kB / 0.558 GB, free: 16.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.01279, allocations: 7.938 kB / 0.558 GB, free: 16.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001884/0.01298, allocations: 327.3 kB / 0.5583 GB, free: 16.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.355e-06/0.01298, allocations: 4 kB / 0.5583 GB, free: 16.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007515/0.01373, allocations: 0.8346 MB / 0.5591 GB, free: 15.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.01378, allocations: 277 kB / 0.5594 GB, free: 14.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2652/0.279, allocations: 227.7 kB / 0.5596 GB, free: 79.96 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.504e-05/0.279, allocations: 37.05 kB / 0.5597 GB, free: 79.93 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.198e-05/0.2791, allocations: 146.5 kB / 0.5598 GB, free: 79.84 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.71e-05/0.2792, allocations: 120.2 kB / 0.5599 GB, free: 79.8 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.573e-05/0.2792, allocations: 72.14 kB / 0.56 GB, free: 79.79 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.013e-05/0.2793, allocations: 344.7 kB / 0.5603 GB, free: 79.48 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.2794, allocations: 146.8 kB / 0.5604 GB, free: 79.38 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.2795, allocations: 250.2 kB / 0.5607 GB, free: 79.15 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.2797, allocations: 338.9 kB / 0.561 GB, free: 78.89 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2797, allocations: 0 / 0.561 GB, free: 78.89 MB / 410.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003039/0.28, allocations: 394.6 kB / 0.5614 GB, free: 78.67 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.577e-05/0.2801, allocations: 88.41 kB / 0.5615 GB, free: 78.58 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.2801, allocations: 4.5 kB / 0.5615 GB, free: 78.58 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.2801, allocations: 4.594 kB / 0.5615 GB, free: 78.58 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/0.2804, allocations: 111 kB / 0.5616 GB, free: 78.58 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.2804, allocations: 8.359 kB / 0.5616 GB, free: 78.58 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.2805, allocations: 19.83 kB / 0.5616 GB, free: 78.58 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.2805, allocations: 15.48 kB / 0.5616 GB, free: 78.58 MB / 410.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.0001657/0.2807, allocations: 217.9 kB / 0.5618 GB, free: 78.4 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.2808, allocations: 41.11 kB / 0.5619 GB, free: 78.4 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.091e-05/0.2808, allocations: 30.41 kB / 0.5619 GB, free: 78.39 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.2808, allocations: 3.031 kB / 0.5619 GB, free: 78.39 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2808, allocations: 0 / 0.5619 GB, free: 78.39 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-05/0.2809, allocations: 33.03 kB / 0.5619 GB, free: 78.38 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.2809, allocations: 14.58 kB / 0.5619 GB, free: 78.38 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.2809, allocations: 13.38 kB / 0.562 GB, free: 78.38 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.765e-05/0.281, allocations: 17.09 kB / 0.562 GB, free: 78.38 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.718e-05/0.2811, allocations: 28.48 kB / 0.562 GB, free: 78.38 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003554/0.2814, allocations: 400.9 kB / 0.5624 GB, free: 78.14 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000372/0.2818, allocations: 0.6003 MB / 0.563 GB, free: 77.75 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001159/0.2819, allocations: 144.3 kB / 0.5631 GB, free: 77.67 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.003e-05/0.282, allocations: 84.5 kB / 0.5632 GB, free: 77.66 MB / 410.8 MB Notification: Performance of Backend: time 3.4e-07/0.282, allocations: 3.594 kB / 0.5632 GB, free: 77.66 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004053/0.2824, allocations: 485.9 kB / 0.5637 GB, free: 77.32 MB / 410.8 MB Notification: Performance of SimCode: time 0.007739/0.2902, allocations: 1.364 MB / 0.565 GB, free: 76.37 MB / 410.8 MB Notification: Performance of Templates: time 0.007873/0.298, allocations: 5.547 MB / 0.5704 GB, free: 75.17 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Liu2023_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Liu2023_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Liu2023_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Liu2023_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Liu2023_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Liu2023_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride_Liu2023_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.820465243421495]