Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.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.0006412/0.0006412, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008408/0.001482, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006788/0.0006788, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008355/0.001514, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9524/0.9524, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08868/1.041, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.7317/0.7317, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03577/0.7674, allocations: 21.04 MB / 0.5431 GB, free: 31.95 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.Pharmacokinetic.Models.PK_2C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C") translateModel(Pharmacolibrary.Pharmacokinetic.Models.PK_2C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.5444 GB, free: 30.65 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/2.631e-05, allocations: 10.19 kB / 0.5444 GB, free: 30.64 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_2C): time 0.003993/0.004019, allocations: 2.845 MB / 0.5472 GB, free: 27.79 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.005397, allocations: 0.7134 MB / 0.5479 GB, free: 27.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.005533, allocations: 4 kB / 0.5479 GB, free: 27.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.005637, allocations: 39.56 kB / 0.548 GB, free: 27.03 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002653/0.005902, allocations: 123 kB / 0.5481 GB, free: 26.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.006142, allocations: 71.84 kB / 0.5481 GB, free: 26.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004767/0.006619, allocations: 393.9 kB / 0.5485 GB, free: 26.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.00679, allocations: 62.84 kB / 0.5486 GB, free: 26.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000416/0.007206, allocations: 241.6 kB / 0.5488 GB, free: 26.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002917/0.007498, allocations: 123.6 kB / 0.5489 GB, free: 26.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.275e-05/0.007551, allocations: 24 kB / 0.5489 GB, free: 26.01 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.775e-05/0.007598, allocations: 24 kB / 0.549 GB, free: 25.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.369e-05/0.007642, allocations: 43.81 kB / 0.549 GB, free: 25.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.007759, allocations: 91.81 kB / 0.5491 GB, free: 25.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.008032, allocations: 207.2 kB / 0.5493 GB, free: 25.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-05/0.008051, allocations: 0 / 0.5493 GB, free: 25.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.008052, allocations: 0 / 0.5493 GB, free: 25.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.443e-05/0.008076, allocations: 0 / 0.5493 GB, free: 25.65 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.002292/0.01037, allocations: 0.6244 MB / 0.5499 GB, free: 24.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.01042, allocations: 11.89 kB / 0.5499 GB, free: 24.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.01053, allocations: 44.91 kB / 0.55 GB, free: 24.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.01086, allocations: 189.5 kB / 0.5501 GB, free: 24.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.797e-05/0.01089, allocations: 13.12 kB / 0.5502 GB, free: 24.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.629e-05/0.01095, allocations: 28.36 kB / 0.5502 GB, free: 24.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003585/0.01131, allocations: 246.1 kB / 0.5504 GB, free: 24.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.01133, allocations: 0 / 0.5504 GB, free: 24.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.01135, allocations: 8 kB / 0.5504 GB, free: 24.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.01136, allocations: 4 kB / 0.5504 GB, free: 24.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.01154, allocations: 137.8 kB / 0.5506 GB, free: 24.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008355/0.01238, allocations: 0.5155 MB / 0.5511 GB, free: 23.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.0126, allocations: 159.4 kB / 0.5512 GB, free: 23.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.308e-05/0.01265, allocations: 100.5 kB / 0.5513 GB, free: 23.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.01266, allocations: 7.938 kB / 0.5513 GB, free: 23.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.01285, allocations: 321.4 kB / 0.5516 GB, free: 23.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.695e-06/0.01285, allocations: 0 / 0.5516 GB, free: 23.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007294/0.01358, allocations: 0.7975 MB / 0.5524 GB, free: 22.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.01362, allocations: 217.6 kB / 0.5526 GB, free: 21.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.01373, allocations: 229 kB / 0.5528 GB, free: 21.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.01375, allocations: 33.7 kB / 0.5529 GB, free: 21.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.479e-05/0.01379, allocations: 141.3 kB / 0.553 GB, free: 21.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.181e-05/0.01385, allocations: 115.1 kB / 0.5531 GB, free: 21.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.175e-05/0.01391, allocations: 70.16 kB / 0.5532 GB, free: 21.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.143e-05/0.01396, allocations: 350.6 kB / 0.5535 GB, free: 20.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.615e-05/0.01403, allocations: 147.8 kB / 0.5536 GB, free: 20.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.713e-05/0.01413, allocations: 251.2 kB / 0.5539 GB, free: 20.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.0143, allocations: 349.7 kB / 0.5542 GB, free: 20.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01431, allocations: 0 / 0.5542 GB, free: 20.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002251/0.01453, allocations: 395.3 kB / 0.5546 GB, free: 19.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/0.01457, allocations: 87.77 kB / 0.5547 GB, free: 19.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.01458, allocations: 0 / 0.5547 GB, free: 19.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.01459, allocations: 11.98 kB / 0.5547 GB, free: 19.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.01482, allocations: 103.8 kB / 0.5548 GB, free: 19.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.01482, allocations: 8 kB / 0.5548 GB, free: 19.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.01493, allocations: 24.27 kB / 0.5548 GB, free: 19.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.01494, allocations: 16 kB / 0.5548 GB, free: 19.38 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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * 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.0001173/0.01506, allocations: 207 kB / 0.555 GB, free: 19.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.01509, allocations: 35.97 kB / 0.5551 GB, free: 19.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.01512, allocations: 30.95 kB / 0.5551 GB, free: 19.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.01513, allocations: 4 kB / 0.5551 GB, free: 19.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.01513, allocations: 0 / 0.5551 GB, free: 19.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.01514, allocations: 0 / 0.5551 GB, free: 19.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003651/0.0155, allocations: 0.5213 MB / 0.5556 GB, free: 18.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.0155, allocations: 0 / 0.5556 GB, free: 18.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.01567, allocations: 72.55 kB / 0.5557 GB, free: 18.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.783e-05/0.0157, allocations: 23.8 kB / 0.5557 GB, free: 18.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.0157, allocations: 4 kB / 0.5557 GB, free: 18.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.01572, allocations: 8 kB / 0.5557 GB, free: 18.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.01572, allocations: 3.938 kB / 0.5557 GB, free: 18.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.01572, allocations: 0 / 0.5557 GB, free: 18.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.01598, allocations: 0.526 MB / 0.5562 GB, free: 17.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.01601, allocations: 12 kB / 0.5562 GB, free: 17.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.677e-05/0.0161, allocations: 15.98 kB / 0.5563 GB, free: 17.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.01615, allocations: 27.89 kB / 0.5563 GB, free: 17.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.01617, allocations: 8 kB / 0.5563 GB, free: 17.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.908e-05/0.01621, allocations: 78.77 kB / 0.5564 GB, free: 17.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01621, allocations: 0 / 0.5564 GB, free: 17.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001976/0.01641, allocations: 91.94 kB / 0.5565 GB, free: 17.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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 6.975e-05/0.01648, allocations: 92.42 kB / 0.5565 GB, free: 17.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002222/0.0167, allocations: 492.4 kB / 0.557 GB, free: 16.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.01671, allocations: 4 kB / 0.557 GB, free: 16.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.01681, allocations: 262.9 kB / 0.5573 GB, free: 16.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.01708, allocations: 119 kB / 0.5574 GB, free: 16.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008045/0.02513, allocations: 0.756 MB / 0.5581 GB, free: 15.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.701e-05/0.02518, allocations: 89.12 kB / 0.5582 GB, free: 15.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.0253, allocations: 38.95 kB / 0.5582 GB, free: 15.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.0255, allocations: 153.3 kB / 0.5584 GB, free: 15.45 MB / 410.7 MB Notification: Performance of SimCode: time 7.32e-07/0.0255, allocations: 0 / 0.5584 GB, free: 15.45 MB / 410.7 MB Notification: Performance of Templates: time 0.2464/0.2719, allocations: 5.211 MB / 0.5635 GB, free: 84.67 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.sim & ./Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6965632401406765]