Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.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.0009073/0.0009073, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009188/0.0009188, allocations: 169.3 kB / 23.02 MB, free: 1.543 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.9289/0.9289, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.051/2.051, allocations: 273.5 MB / 0.5209 GB, free: 14.81 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.PK_1C_GentamicineSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple") translateModel(Pharmacolibrary.Examples.PK_1C_GentamicineSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.71e-07/9.71e-07, allocations: 0 / 0.647 GB, free: 38.73 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.428e-05/1.525e-05, allocations: 2.312 kB / 0.647 GB, free: 38.73 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicineSimple): time 0.001784/0.001799, allocations: 1.739 MB / 0.6487 GB, free: 37.59 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0001658/0.001965, allocations: 84.97 kB / 0.6487 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.771e-05/0.001992, allocations: 1.312 kB / 0.6487 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 4.722e-05/0.00204, allocations: 15.03 kB / 0.6488 GB, free: 37.52 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 5.517e-05/0.002095, allocations: 25.8 kB / 0.6488 GB, free: 37.51 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 5.5e-05/0.00215, allocations: 19.17 kB / 0.6488 GB, free: 37.5 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 9.727e-05/0.002247, allocations: 89.3 kB / 0.6489 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.16e-05/0.002299, allocations: 10.22 kB / 0.6489 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.227e-05/0.002341, allocations: 46.66 kB / 0.6489 GB, free: 37.47 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.655e-05/0.002387, allocations: 21.02 kB / 0.649 GB, free: 37.46 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.0024, allocations: 6.094 kB / 0.649 GB, free: 37.46 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.085e-05/0.002411, allocations: 5.281 kB / 0.649 GB, free: 37.46 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.002425, allocations: 17.64 kB / 0.649 GB, free: 37.46 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.002457, allocations: 30.12 kB / 0.649 GB, free: 37.45 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 7.257e-05/0.00253, allocations: 61.81 kB / 0.6491 GB, free: 37.42 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.492e-06/0.002531, allocations: 0 / 0.6491 GB, free: 37.42 MB / 0.5262 GB Notification: Performance of FrontEnd: time 3.6e-07/0.002532, allocations: 1.25 kB / 0.6491 GB, free: 37.42 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 2.745e-06/0.002535, allocations: 0 / 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.0002128/0.002747, allocations: 408.3 kB / 0.6495 GB, free: 37.01 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 2.271e-05/0.00277, allocations: 10.78 kB / 0.6495 GB, free: 37.01 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.483e-05/0.002795, allocations: 17.73 kB / 0.6495 GB, free: 37 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.187e-05/0.002867, allocations: 126.2 kB / 0.6496 GB, free: 36.86 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-06/0.002873, allocations: 5.875 kB / 0.6496 GB, free: 36.86 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.002888, allocations: 17.77 kB / 0.6496 GB, free: 36.85 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.409e-05/0.002962, allocations: 85.7 kB / 0.6497 GB, free: 36.78 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.00297, allocations: 3.844 kB / 0.6497 GB, free: 36.78 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.002977, allocations: 3.938 kB / 0.6497 GB, free: 36.78 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.002981, allocations: 3.938 kB / 0.6497 GB, free: 36.78 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.789e-05/0.003039, allocations: 65.08 kB / 0.6498 GB, free: 36.74 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.003244, allocations: 318 kB / 0.6501 GB, free: 36.44 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.979e-05/0.003314, allocations: 90.19 kB / 0.6502 GB, free: 36.36 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.935e-05/0.003343, allocations: 52.17 kB / 0.6502 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.278e-06/0.003348, allocations: 3.656 kB / 0.6502 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.691e-05/0.003434, allocations: 172.1 kB / 0.6504 GB, free: 36.16 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=12): time 8.51e-07/0.003435, allocations: 0 / 0.6504 GB, free: 36.16 MB / 0.5262 GB Notification: Performance of matching and sorting (n=13): time 0.0004285/0.003864, allocations: 485.3 kB / 0.6509 GB, free: 35.78 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.003892, allocations: 138.3 kB / 0.651 GB, free: 35.62 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.187e-05/0.003934, allocations: 168.2 kB / 0.6512 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.003942, allocations: 25.7 kB / 0.6512 GB, free: 35.42 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 1.908e-05/0.003961, allocations: 133.2 kB / 0.6513 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.003987, allocations: 44.22 kB / 0.6513 GB, free: 35.25 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.004019, allocations: 40.41 kB / 0.6514 GB, free: 35.22 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.05e-05/0.004079, allocations: 0.4941 MB / 0.6519 GB, free: 34.72 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.684e-05/0.004116, allocations: 62.67 kB / 0.6519 GB, free: 34.66 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.493e-05/0.004161, allocations: 91.83 kB / 0.652 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.004267, allocations: 198.3 kB / 0.6522 GB, free: 34.39 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.004268, allocations: 0.9688 kB / 0.6522 GB, free: 34.39 MB / 0.5262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001592/0.004428, allocations: 184.7 kB / 0.6524 GB, free: 34.26 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.00445, allocations: 36.2 kB / 0.6524 GB, free: 34.23 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-06/0.004452, allocations: 0 / 0.6524 GB, free: 34.23 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.266e-06/0.004461, allocations: 4.406 kB / 0.6524 GB, free: 34.23 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.313e-05/0.004544, allocations: 34.41 kB / 0.6525 GB, free: 34.22 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.004547, allocations: 2.781 kB / 0.6525 GB, free: 34.22 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.068e-05/0.004578, allocations: 1.719 kB / 0.6525 GB, free: 34.22 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.004585, allocations: 7.047 kB / 0.6525 GB, free: 34.22 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 9.067e-05/0.004676, allocations: 224.2 kB / 0.6527 GB, free: 34.01 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.004692, allocations: 11.86 kB / 0.6527 GB, free: 34 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.801e-05/0.00471, allocations: 15 kB / 0.6527 GB, free: 33.99 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.004711, allocations: 0 / 0.6527 GB, free: 33.99 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.004715, allocations: 3.328 kB / 0.6527 GB, free: 33.99 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.004717, allocations: 4.438 kB / 0.6527 GB, free: 33.99 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.004959, allocations: 454.5 kB / 0.6531 GB, free: 33.59 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.00496, allocations: 4.594 kB / 0.6531 GB, free: 33.59 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.385e-05/0.005034, allocations: 22.55 kB / 0.6532 GB, free: 33.59 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.005037, allocations: 3.5 kB / 0.6532 GB, free: 33.59 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.005048, allocations: 6.344 kB / 0.6532 GB, free: 33.59 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.00505, allocations: 0 / 0.6532 GB, free: 33.59 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.005051, allocations: 0 / 0.6532 GB, free: 33.59 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.005288, allocations: 404 kB / 0.6536 GB, free: 33.27 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-06/0.005297, allocations: 5.422 kB / 0.6536 GB, free: 33.27 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.00531, allocations: 2.188 kB / 0.6536 GB, free: 33.27 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.813e-05/0.005348, allocations: 7.656 kB / 0.6536 GB, free: 33.26 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.005371, allocations: 7.453 kB / 0.6536 GB, free: 33.26 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.005377, allocations: 7.562 kB / 0.6536 GB, free: 33.26 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.15e-05/0.005399, allocations: 130.2 kB / 0.6537 GB, free: 33.14 MB / 0.5262 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005399, allocations: 3.438 kB / 0.6537 GB, free: 33.14 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001454/0.005544, allocations: 22.53 kB / 0.6537 GB, free: 33.14 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.023e-05/0.005595, allocations: 103.1 kB / 0.6538 GB, free: 33.05 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0001378/0.005732, allocations: 190.4 kB / 0.654 GB, free: 32.9 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.005733, allocations: 0 / 0.654 GB, free: 32.9 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 5.654e-05/0.00579, allocations: 133.3 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.0001709/0.005961, allocations: 23.67 kB / 0.6542 GB, free: 32.78 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007772/0.006738, allocations: 414.6 kB / 0.6546 GB, free: 32.51 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.768e-05/0.006766, allocations: 72.47 kB / 0.6546 GB, free: 32.43 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 2.292e-05/0.006789, allocations: 4.031 kB / 0.6546 GB, free: 32.43 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.948e-05/0.006808, allocations: 14.25 kB / 0.6547 GB, free: 32.42 MB / 0.5262 GB Notification: Performance of SimCode: time 4.5e-07/0.006809, allocations: 1.312 kB / 0.6547 GB, free: 32.42 MB / 0.5262 GB Notification: Performance of Templates: time 0.002642/0.009451, allocations: 1.307 MB / 0.6559 GB, free: 32.28 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.856362093705684]