Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.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.0006639/0.0006639, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008961/0.00156, 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.000737/0.000737, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001103/0.00184, 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.8971/0.8971, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09658/0.9937, allocations: 53.66 MB / 243.2 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.7054/0.7054, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03296/0.7383, allocations: 21.04 MB / 0.5431 GB, free: 31.97 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_1C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C") translateModel(Pharmacolibrary.Pharmacokinetic.Models.PK_1C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 0.5444 GB, free: 30.69 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.491e-05/1.727e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_1C): time 0.002843/0.00286, allocations: 2.392 MB / 0.5467 GB, free: 28.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007859/0.003646, allocations: 0.6271 MB / 0.5474 GB, free: 27.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.669e-05/0.003723, allocations: 0 / 0.5474 GB, free: 27.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.393e-05/0.003787, allocations: 31.7 kB / 0.5474 GB, free: 27.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.003915, allocations: 83.27 kB / 0.5475 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.004047, allocations: 51.88 kB / 0.5475 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.00427, allocations: 266.6 kB / 0.5478 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.004378, allocations: 42.45 kB / 0.5478 GB, free: 27.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.004551, allocations: 180.1 kB / 0.548 GB, free: 27.01 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.004699, allocations: 83.78 kB / 0.5481 GB, free: 26.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.004725, allocations: 20 kB / 0.5481 GB, free: 26.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.195e-05/0.004747, allocations: 19.94 kB / 0.5481 GB, free: 26.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.883e-05/0.004776, allocations: 23.94 kB / 0.5481 GB, free: 26.87 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.579e-05/0.004832, allocations: 59.88 kB / 0.5482 GB, free: 26.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.005014, allocations: 135.5 kB / 0.5483 GB, free: 26.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.622e-05/0.005031, allocations: 0 / 0.5483 GB, free: 26.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.005031, allocations: 0 / 0.5483 GB, free: 26.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.222e-05/0.005054, allocations: 4 kB / 0.5483 GB, free: 26.67 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.0006098/0.005663, allocations: 0.5014 MB / 0.5488 GB, free: 26.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.005696, allocations: 8.031 kB / 0.5488 GB, free: 26.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.005751, allocations: 24.92 kB / 0.5488 GB, free: 26.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.005932, allocations: 170.1 kB / 0.549 GB, free: 25.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.005952, allocations: 8.609 kB / 0.549 GB, free: 25.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.005974, allocations: 20.36 kB / 0.549 GB, free: 25.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.00615, allocations: 159.5 kB / 0.5492 GB, free: 25.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.006167, allocations: 3.953 kB / 0.5492 GB, free: 25.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.00618, allocations: 8 kB / 0.5492 GB, free: 25.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.006188, allocations: 4 kB / 0.5492 GB, free: 25.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.742e-05/0.006275, allocations: 80.64 kB / 0.5493 GB, free: 25.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/0.006677, allocations: 357 kB / 0.5496 GB, free: 25.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.006853, allocations: 108.2 kB / 0.5497 GB, free: 25.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.124e-05/0.006894, allocations: 61.67 kB / 0.5498 GB, free: 25.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.897e-06/0.006903, allocations: 4 kB / 0.5498 GB, free: 25.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/0.007046, allocations: 196.3 kB / 0.55 GB, free: 24.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.007047, allocations: 0 / 0.55 GB, free: 24.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005385/0.007585, allocations: 0.5107 MB / 0.5505 GB, free: 24.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.007617, allocations: 136.5 kB / 0.5506 GB, free: 24.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.624e-05/0.007704, allocations: 191.2 kB / 0.5508 GB, free: 23.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.007716, allocations: 33.7 kB / 0.5508 GB, free: 23.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.17e-05/0.007748, allocations: 116.4 kB / 0.5509 GB, free: 23.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.007781, allocations: 79.41 kB / 0.551 GB, free: 23.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.007828, allocations: 55.16 kB / 0.551 GB, free: 23.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.613e-05/0.007875, allocations: 342.7 kB / 0.5514 GB, free: 23.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.281e-05/0.007927, allocations: 93.02 kB / 0.5515 GB, free: 23.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.261e-05/0.00799, allocations: 173.3 kB / 0.5516 GB, free: 22.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.946e-05/0.008089, allocations: 215.7 kB / 0.5518 GB, free: 22.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.008091, allocations: 4 kB / 0.5518 GB, free: 22.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001521/0.008243, allocations: 258.1 kB / 0.5521 GB, free: 22.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/0.008279, allocations: 70.05 kB / 0.5521 GB, free: 22.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.008286, allocations: 4 kB / 0.5521 GB, free: 22.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.008298, allocations: 0 / 0.5521 GB, free: 22.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.008461, allocations: 74.08 kB / 0.5522 GB, free: 22.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.008466, allocations: 4 kB / 0.5522 GB, free: 22.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.987e-05/0.008545, allocations: 15.94 kB / 0.5522 GB, free: 22.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.008558, allocations: 11.98 kB / 0.5523 GB, free: 22.21 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.0001143/0.008672, allocations: 159.7 kB / 0.5524 GB, free: 22.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.008694, allocations: 27.91 kB / 0.5524 GB, free: 22.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.575e-05/0.008729, allocations: 21.97 kB / 0.5525 GB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.008732, allocations: 8 kB / 0.5525 GB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.008736, allocations: 0 / 0.5525 GB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.008741, allocations: 7.969 kB / 0.5525 GB, free: 21.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.00902, allocations: 365.1 kB / 0.5528 GB, free: 21.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.009024, allocations: 7.938 kB / 0.5528 GB, free: 21.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.00915, allocations: 43.91 kB / 0.5529 GB, free: 21.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.207e-05/0.009172, allocations: 19.86 kB / 0.5529 GB, free: 21.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.009175, allocations: 0 / 0.5529 GB, free: 21.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.009186, allocations: 3.984 kB / 0.5529 GB, free: 21.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.009189, allocations: 4 kB / 0.5529 GB, free: 21.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.00919, allocations: 4 kB / 0.5529 GB, free: 21.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.009371, allocations: 348.4 kB / 0.5532 GB, free: 21.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.009397, allocations: 8 kB / 0.5532 GB, free: 21.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.285e-05/0.00947, allocations: 11.98 kB / 0.5532 GB, free: 21.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.009515, allocations: 23.84 kB / 0.5533 GB, free: 21.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.009524, allocations: 11.94 kB / 0.5533 GB, free: 21.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.272e-05/0.009567, allocations: 59.08 kB / 0.5533 GB, free: 21.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009567, allocations: 0 / 0.5533 GB, free: 21.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001725/0.009739, allocations: 60 kB / 0.5534 GB, free: 20.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 7.118e-05/0.009811, allocations: 88.42 kB / 0.5535 GB, free: 20.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.009985, allocations: 316.5 kB / 0.5538 GB, free: 20.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.009992, allocations: 0 / 0.5538 GB, free: 20.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.437e-05/0.01006, allocations: 141.9 kB / 0.5539 GB, free: 20.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.01029, allocations: 91.73 kB / 0.554 GB, free: 20.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005335/0.01562, allocations: 0.5659 MB / 0.5546 GB, free: 19.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.054e-05/0.01566, allocations: 84.27 kB / 0.5546 GB, free: 19.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.109e-05/0.01575, allocations: 21.95 kB / 0.5547 GB, free: 19.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.01588, allocations: 119.3 kB / 0.5548 GB, free: 19.42 MB / 410.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01588, allocations: 0 / 0.5548 GB, free: 19.42 MB / 410.7 MB Notification: Performance of Templates: time 0.004926/0.02081, allocations: 3.772 MB / 0.5585 GB, free: 15.76 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.sim & ./Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3696056632325053]