Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.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.0008923/0.0008923, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009258/0.0009258, allocations: 173.3 kB / 23.03 MB, free: 1.547 MB / 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.9512/0.9512, allocations: 177.1 MB / 203.4 MB, free: 5.652 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 2.62/2.62, allocations: 273.5 MB / 0.5209 GB, free: 14.83 MB / 458.7 MB " [Timeout remaining time 177] 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.Examples.PKOneCompartmentSimplestModel,tolerance=1e-09,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel") translateModel(Pharmacolibrary.Examples.PKOneCompartmentSimplestModel,tolerance=1e-09,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.42e-07/9.42e-07, allocations: 1.312 kB / 0.647 GB, free: 38.72 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.794e-05, allocations: 3.688 kB / 0.647 GB, free: 38.72 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKOneCompartmentSimplestModel): time 0.001921/0.001939, allocations: 1.722 MB / 0.6486 GB, free: 37.59 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0002161/0.002155, allocations: 88.39 kB / 0.6487 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.245e-05/0.002207, allocations: 3.344 kB / 0.6487 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 7.619e-05/0.002284, allocations: 8.859 kB / 0.6487 GB, free: 37.52 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 9.296e-05/0.002377, allocations: 27.7 kB / 0.6488 GB, free: 37.51 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 7.472e-05/0.002451, allocations: 16.83 kB / 0.6488 GB, free: 37.5 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.002612, allocations: 91.28 kB / 0.6489 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.323e-05/0.002675, allocations: 13.44 kB / 0.6489 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.759e-05/0.002733, allocations: 43.42 kB / 0.6489 GB, free: 37.46 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.227e-05/0.002805, allocations: 27.75 kB / 0.6489 GB, free: 37.46 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.002828, allocations: 5.812 kB / 0.649 GB, free: 37.46 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.697e-05/0.002845, allocations: 6.156 kB / 0.649 GB, free: 37.46 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 2.726e-05/0.002872, allocations: 8.656 kB / 0.649 GB, free: 37.45 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 7.282e-05/0.002945, allocations: 29.66 kB / 0.649 GB, free: 37.45 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.00309, allocations: 58.12 kB / 0.6491 GB, free: 37.42 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.003092, allocations: 0 / 0.6491 GB, free: 37.42 MB / 0.5262 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003092, allocations: 0 / 0.6491 GB, free: 37.42 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.003097, allocations: 1.438 kB / 0.6491 GB, free: 37.42 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004218/0.003518, allocations: 417.4 kB / 0.6495 GB, free: 37 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.00356, allocations: 9.375 kB / 0.6495 GB, free: 37 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.392e-05/0.003614, allocations: 17.42 kB / 0.6495 GB, free: 37 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.003739, allocations: 132.7 kB / 0.6496 GB, free: 36.85 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.003751, allocations: 5.984 kB / 0.6496 GB, free: 36.85 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.003778, allocations: 10.88 kB / 0.6496 GB, free: 36.85 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.003908, allocations: 93.08 kB / 0.6497 GB, free: 36.78 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.003923, allocations: 192 / 0.6497 GB, free: 36.78 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.003937, allocations: 6.156 kB / 0.6497 GB, free: 36.77 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.003947, allocations: 5.5 kB / 0.6497 GB, free: 36.77 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.023e-05/0.004037, allocations: 61.44 kB / 0.6498 GB, free: 36.74 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/0.004376, allocations: 310.7 kB / 0.6501 GB, free: 36.44 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.792e-05/0.004464, allocations: 95.44 kB / 0.6502 GB, free: 36.36 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.283e-05/0.004497, allocations: 52.78 kB / 0.6502 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.713e-06/0.004504, allocations: 2.156 kB / 0.6502 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/0.004605, allocations: 171.5 kB / 0.6504 GB, free: 36.15 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.004607, allocations: 0 / 0.6504 GB, free: 36.15 MB / 0.5262 GB Notification: Performance of matching and sorting (n=13): time 0.0005378/0.005144, allocations: 483.3 kB / 0.6508 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.005175, allocations: 135.5 kB / 0.651 GB, free: 35.62 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.013e-05/0.005225, allocations: 171 kB / 0.6511 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.005233, allocations: 29.7 kB / 0.6512 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.154e-05/0.005254, allocations: 133.9 kB / 0.6513 GB, free: 35.28 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.005282, allocations: 41.28 kB / 0.6513 GB, free: 35.25 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.005315, allocations: 38.45 kB / 0.6514 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.05e-05/0.005366, allocations: 0.4943 MB / 0.6518 GB, free: 34.71 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.971e-05/0.005405, allocations: 54.75 kB / 0.6519 GB, free: 34.66 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.544e-05/0.005451, allocations: 100.3 kB / 0.652 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.005564, allocations: 199.1 kB / 0.6522 GB, free: 34.38 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.005565, allocations: 0 / 0.6522 GB, free: 34.38 MB / 0.5262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001317/0.005696, allocations: 194.2 kB / 0.6524 GB, free: 34.26 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.005714, allocations: 32.77 kB / 0.6524 GB, free: 34.23 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.005719, allocations: 2.734 kB / 0.6524 GB, free: 34.23 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.005731, allocations: 3.562 kB / 0.6524 GB, free: 34.23 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.012e-05/0.005821, allocations: 31.73 kB / 0.6524 GB, free: 34.22 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.005827, allocations: 3.984 kB / 0.6524 GB, free: 34.22 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.913e-05/0.005856, allocations: 7.75 kB / 0.6525 GB, free: 34.21 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.005865, allocations: 10.72 kB / 0.6525 GB, free: 34.21 MB / 0.5262 GB Warning: Assuming fixed start value for the following 4 variables: central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" 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 central.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.central.rising,central.rising,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 8.814e-05/0.005953, allocations: 214.9 kB / 0.6527 GB, free: 34 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.005967, allocations: 13.17 kB / 0.6527 GB, free: 34 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.997e-05/0.005987, allocations: 11.91 kB / 0.6527 GB, free: 33.99 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.005989, allocations: 1.75 kB / 0.6527 GB, free: 33.99 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.005992, allocations: 1 kB / 0.6527 GB, free: 33.99 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.005997, allocations: 1.312 kB / 0.6527 GB, free: 33.99 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.006222, allocations: 458.2 kB / 0.6531 GB, free: 33.59 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.006223, allocations: 0 / 0.6531 GB, free: 33.59 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.215e-05/0.006285, allocations: 18.5 kB / 0.6531 GB, free: 33.59 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.006287, allocations: 1.031 kB / 0.6531 GB, free: 33.59 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.006296, allocations: 3.875 kB / 0.6532 GB, free: 33.59 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.006297, allocations: 0.9688 kB / 0.6532 GB, free: 33.59 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.006298, allocations: 0 / 0.6532 GB, free: 33.59 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.006496, allocations: 403.6 kB / 0.6535 GB, free: 33.27 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.053e-06/0.006503, allocations: 6.641 kB / 0.6535 GB, free: 33.27 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.006516, allocations: 6.344 kB / 0.6536 GB, free: 33.27 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.184e-05/0.006548, allocations: 2.969 kB / 0.6536 GB, free: 33.27 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.006579, allocations: 11.86 kB / 0.6536 GB, free: 33.26 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.006584, allocations: 7.438 kB / 0.6536 GB, free: 33.26 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.047e-05/0.006605, allocations: 132.3 kB / 0.6537 GB, free: 33.14 MB / 0.5262 GB Notification: Performance of sort global known variables: time 7e-08/0.006605, allocations: 0 / 0.6537 GB, free: 33.14 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001494/0.006754, allocations: 27.09 kB / 0.6537 GB, free: 33.13 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (central.C,central.AUC,elim.MExc) * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,central.Cmax,central.Cmin,central.rising) * Number of discrete states: 5 (central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 5.364e-05/0.006808, allocations: 105.2 kB / 0.6538 GB, free: 33.04 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0001462/0.006954, allocations: 193.9 kB / 0.654 GB, free: 32.89 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.006955, allocations: 0 / 0.654 GB, free: 32.89 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 5.04e-05/0.007005, allocations: 129.8 kB / 0.6541 GB, free: 32.78 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.007196, allocations: 28.27 kB / 0.6542 GB, free: 32.77 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009013/0.008097, allocations: 409.9 kB / 0.6546 GB, free: 32.5 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.838e-05/0.008126, allocations: 72.45 kB / 0.6546 GB, free: 32.43 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 2.564e-05/0.008151, allocations: 11.25 kB / 0.6546 GB, free: 32.42 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.008176, allocations: 14.25 kB / 0.6546 GB, free: 32.41 MB / 0.5262 GB Notification: Performance of SimCode: time 7.12e-07/0.008177, allocations: 0 / 0.6546 GB, free: 32.41 MB / 0.5262 GB Notification: Performance of Templates: time 0.00267/0.01085, allocations: 1.306 MB / 0.6559 GB, free: 32.28 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.421495432034135]