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.001128/0.001128, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001048/0.001048, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 18.57 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.9576/0.9576, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/Examples/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: Paracetamol_Experiment Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo): time 1.646/1.646, allocations: 273.5 MB / 0.522 GB, free: 14.67 MB / 458.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 25.09 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.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.313e-06/1.313e-06, allocations: 0 / 0.6482 GB, free: 38.43 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.268e-05, allocations: 2.312 kB / 0.6482 GB, free: 38.42 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_2C): time 0.002756/0.002779, allocations: 2.692 MB / 0.6508 GB, free: 36.66 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0008912/0.00367, allocations: 0.6797 MB / 0.6515 GB, free: 36.21 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.797e-05/0.003768, allocations: 5.594 kB / 0.6515 GB, free: 36.21 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.003882, allocations: 35.55 kB / 0.6515 GB, free: 36.19 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.004068, allocations: 114.1 kB / 0.6516 GB, free: 36.14 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.004255, allocations: 69.16 kB / 0.6517 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.004524, allocations: 369.8 kB / 0.6521 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.004666, allocations: 57.59 kB / 0.6521 GB, free: 35.89 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.004836, allocations: 195.7 kB / 0.6523 GB, free: 35.82 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.005028, allocations: 109.5 kB / 0.6524 GB, free: 35.79 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.005062, allocations: 22.78 kB / 0.6524 GB, free: 35.79 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.091e-05/0.005093, allocations: 27.81 kB / 0.6525 GB, free: 35.79 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 3.792e-05/0.005131, allocations: 57.67 kB / 0.6525 GB, free: 35.75 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 8.53e-05/0.005216, allocations: 113.1 kB / 0.6526 GB, free: 35.7 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.005419, allocations: 202.7 kB / 0.6528 GB, free: 35.61 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.005422, allocations: 0 / 0.6528 GB, free: 35.61 MB / 0.5262 GB Notification: Performance of FrontEnd: time 8.42e-07/0.005423, allocations: 0 / 0.6528 GB, free: 35.61 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.005427, allocations: 0 / 0.6528 GB, free: 35.61 MB / 0.5262 GB 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.0005866/0.006013, allocations: 0.6775 MB / 0.6535 GB, free: 35.02 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.006048, allocations: 9.75 kB / 0.6535 GB, free: 35.02 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.182e-05/0.00611, allocations: 51.44 kB / 0.6535 GB, free: 34.99 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.006266, allocations: 198.8 kB / 0.6537 GB, free: 34.81 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.006289, allocations: 18.38 kB / 0.6537 GB, free: 34.8 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/0.006322, allocations: 24.39 kB / 0.6538 GB, free: 34.79 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.006559, allocations: 257 kB / 0.654 GB, free: 34.62 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.006573, allocations: 3.984 kB / 0.654 GB, free: 34.62 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.006588, allocations: 10.62 kB / 0.654 GB, free: 34.61 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.006595, allocations: 4.344 kB / 0.654 GB, free: 34.61 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.006724, allocations: 152.3 kB / 0.6542 GB, free: 34.54 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006349/0.007359, allocations: 0.7126 MB / 0.6549 GB, free: 33.99 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.007538, allocations: 163.8 kB / 0.655 GB, free: 33.88 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.246e-05/0.00762, allocations: 107.4 kB / 0.6551 GB, free: 33.8 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.007636, allocations: 8.375 kB / 0.6551 GB, free: 33.8 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/0.007833, allocations: 315.5 kB / 0.6554 GB, free: 33.53 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.007834, allocations: 0 / 0.6554 GB, free: 33.53 MB / 0.5262 GB Notification: Performance of matching and sorting (n=35): time 0.0008457/0.00868, allocations: 0.864 MB / 0.6563 GB, free: 32.93 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.008726, allocations: 224 kB / 0.6565 GB, free: 32.67 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.008893, allocations: 273.5 kB / 0.6567 GB, free: 32.47 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.008914, allocations: 41.67 kB / 0.6568 GB, free: 32.43 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 7.139e-05/0.008985, allocations: 197.6 kB / 0.657 GB, free: 32.25 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 6.029e-05/0.009046, allocations: 119.2 kB / 0.6571 GB, free: 32.16 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.047e-05/0.009136, allocations: 80.34 kB / 0.6572 GB, free: 32.11 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.246e-05/0.009198, allocations: 0.5131 MB / 0.6577 GB, free: 31.6 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.009313, allocations: 150.6 kB / 0.6578 GB, free: 31.48 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.009458, allocations: 293.6 kB / 0.6581 GB, free: 31.18 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/0.009774, allocations: 0.4997 MB / 0.6586 GB, free: 30.71 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.009777, allocations: 5.734 kB / 0.6586 GB, free: 30.71 MB / 0.5262 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003233/0.0101, allocations: 468.7 kB / 0.659 GB, free: 30.41 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/0.01014, allocations: 88.89 kB / 0.6591 GB, free: 30.31 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.01014, allocations: 2.781 kB / 0.6591 GB, free: 30.31 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.01015, allocations: 7.25 kB / 0.6591 GB, free: 30.31 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.01035, allocations: 88.77 kB / 0.6592 GB, free: 30.3 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.01036, allocations: 4.219 kB / 0.6592 GB, free: 30.3 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.01047, allocations: 26.14 kB / 0.6592 GB, free: 30.29 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.01049, allocations: 13.78 kB / 0.6593 GB, free: 30.29 MB / 0.5262 GB Warning: Assuming fixed start value for the following 10 variables: central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real peripheral.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real peripheral.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real peripheral.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real peripheral.rising:DISCRETE(fixed = true protected = true ) type: Boolean central.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.peripheral.Cmin,peripheral.Cmin,$PRE.peripheral.Cmax,peripheral.Cmax,$PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.peripheral.rising,$PRE.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,$PRE.central.rising,peripheral.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,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 (51): * Single equations (assignments): 48 * 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.0001694/0.01065, allocations: 295.2 kB / 0.6595 GB, free: 30.02 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.0107, allocations: 43.62 kB / 0.6596 GB, free: 30 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.411e-05/0.01073, allocations: 32.81 kB / 0.6596 GB, free: 29.98 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.01073, allocations: 6.719 kB / 0.6596 GB, free: 29.98 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.01074, allocations: 1.406 kB / 0.6596 GB, free: 29.98 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.01074, allocations: 1.438 kB / 0.6596 GB, free: 29.98 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005081/0.01125, allocations: 0.7057 MB / 0.6603 GB, free: 29.47 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01125, allocations: 0 / 0.6603 GB, free: 29.47 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.01141, allocations: 52.33 kB / 0.6604 GB, free: 29.47 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.01141, allocations: 5.719 kB / 0.6604 GB, free: 29.47 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.01143, allocations: 11.5 kB / 0.6604 GB, free: 29.46 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01143, allocations: 1.469 kB / 0.6604 GB, free: 29.46 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.01143, allocations: 1.469 kB / 0.6604 GB, free: 29.46 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003952/0.01183, allocations: 0.6461 MB / 0.661 GB, free: 29.01 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.797e-05/0.01186, allocations: 25.75 kB / 0.661 GB, free: 29 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.01189, allocations: 13.59 kB / 0.661 GB, free: 28.99 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.31e-05/0.01198, allocations: 16.78 kB / 0.6611 GB, free: 28.99 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/0.01204, allocations: 27.27 kB / 0.6611 GB, free: 28.98 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.01205, allocations: 11.16 kB / 0.6611 GB, free: 28.98 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 6.595e-05/0.01212, allocations: 187.2 kB / 0.6613 GB, free: 28.85 MB / 0.5262 GB Notification: Performance of sort global known variables: time 6e-08/0.01212, allocations: 0 / 0.6613 GB, free: 28.85 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002352/0.01235, allocations: 86.19 kB / 0.6614 GB, free: 28.84 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.variableDose.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 (29): * Single equations (assignments): 25 * 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 8.966e-05/0.01244, allocations: 122.1 kB / 0.6615 GB, free: 28.74 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.000279/0.01272, allocations: 493.9 kB / 0.6619 GB, free: 28.36 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.01272, allocations: 0 / 0.6619 GB, free: 28.36 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.01284, allocations: 269.5 kB / 0.6622 GB, free: 28.14 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.01318, allocations: 81.77 kB / 0.6623 GB, free: 28.12 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.01469, allocations: 0.8777 MB / 0.6631 GB, free: 27.54 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.881e-05/0.01475, allocations: 90.34 kB / 0.6632 GB, free: 27.46 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.0001059/0.01485, allocations: 33.59 kB / 0.6633 GB, free: 27.46 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/0.01505, allocations: 170.6 kB / 0.6634 GB, free: 27.39 MB / 0.5262 GB Notification: Performance of SimCode: time 7.61e-07/0.01506, allocations: 1.406 kB / 0.6634 GB, free: 27.39 MB / 0.5262 GB Notification: Performance of Templates: time 0.007041/0.0221, allocations: 4.861 MB / 0.6682 GB, free: 26.94 MB / 0.5262 GB " [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: 4.896798645146191]