Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.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.001122/0.001122, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001216/0.002337, 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.001136/0.001136, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0015/0.002637, 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 1.156/1.156, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1269/1.283, allocations: 53.65 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.8921/0.8921, allocations: 291.2 MB / 0.5226 GB, free: 52.46 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04264/0.9348, allocations: 21.05 MB / 0.5432 GB, free: 31.48 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.Examples.PKPG_1C_GentamicineEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation") translateModel(Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.5444 GB, free: 30.21 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.039e-05/3.222e-05, allocations: 10.19 kB / 0.5444 GB, free: 30.2 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation): time 0.002466/0.002499, allocations: 1.597 MB / 0.546 GB, free: 28.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006676/0.009174, allocations: 0.5751 MB / 0.5465 GB, free: 28.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.312e-05/0.009218, allocations: 0 / 0.5465 GB, free: 28.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002091/0.009427, allocations: 79.56 kB / 0.5466 GB, free: 27.94 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.685e-05/0.009474, allocations: 23.8 kB / 0.5466 GB, free: 27.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.009806, allocations: 143.2 kB / 0.5468 GB, free: 27.78 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.758e-05/0.009874, allocations: 39.73 kB / 0.5468 GB, free: 27.74 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.009919, allocations: 4 kB / 0.5468 GB, free: 27.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.128e-05/0.00999, allocations: 27.91 kB / 0.5468 GB, free: 27.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.817e-05/0.01006, allocations: 15.92 kB / 0.5469 GB, free: 27.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.01007, allocations: 0 / 0.5469 GB, free: 27.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002976/0.01037, allocations: 195.3 kB / 0.5471 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.419e-05/0.01041, allocations: 19.88 kB / 0.5471 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.949e-05/0.01043, allocations: 11.94 kB / 0.5471 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.01071, allocations: 227 kB / 0.5473 GB, free: 27.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.917e-05/0.01073, allocations: 0 / 0.5473 GB, free: 27.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01073, allocations: 0 / 0.5473 GB, free: 27.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.711e-05/0.01075, allocations: 0 / 0.5473 GB, free: 27.25 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003849/0.01113, allocations: 322.3 kB / 0.5476 GB, free: 26.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.01117, allocations: 15.89 kB / 0.5476 GB, free: 26.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002071/0.01138, allocations: 126 kB / 0.5477 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.4e-05/0.01146, allocations: 130.3 kB / 0.5479 GB, free: 26.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.01147, allocations: 4.375 kB / 0.5479 GB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.01149, allocations: 4.312 kB / 0.5479 GB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.036e-05/0.01158, allocations: 61.77 kB / 0.5479 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.01159, allocations: 4.188 kB / 0.5479 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.0116, allocations: 4.359 kB / 0.5479 GB, free: 26.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.01161, allocations: 384 / 0.5479 GB, free: 26.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.214e-05/0.01166, allocations: 11.94 kB / 0.548 GB, free: 26.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002093/0.01187, allocations: 169.3 kB / 0.5481 GB, free: 26.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.389e-05/0.01193, allocations: 30.55 kB / 0.5481 GB, free: 26.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.111e-05/0.01194, allocations: 8.922 kB / 0.5482 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-06/0.01194, allocations: 0 / 0.5482 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.01196, allocations: 30.56 kB / 0.5482 GB, free: 26.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.01196, allocations: 4 kB / 0.5482 GB, free: 26.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001302/0.01209, allocations: 45.69 kB / 0.5482 GB, free: 26.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.01212, allocations: 55.34 kB / 0.5483 GB, free: 26.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.01222, allocations: 193.4 kB / 0.5485 GB, free: 25.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.29e-06/0.01223, allocations: 25.7 kB / 0.5485 GB, free: 25.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.073e-05/0.01226, allocations: 96.11 kB / 0.5486 GB, free: 25.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.01227, allocations: 11.89 kB / 0.5486 GB, free: 25.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.0123, allocations: 21.66 kB / 0.5486 GB, free: 25.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.885e-05/0.01234, allocations: 318.8 kB / 0.5489 GB, free: 25.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.343e-05/0.01235, allocations: 14.81 kB / 0.5489 GB, free: 25.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.159e-05/0.01237, allocations: 8.125 kB / 0.5489 GB, free: 25.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.593e-05/0.01241, allocations: 27.67 kB / 0.549 GB, free: 25.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.01241, allocations: 0 / 0.549 GB, free: 25.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.415e-05/0.01251, allocations: 61.67 kB / 0.549 GB, free: 25.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.01252, allocations: 8 kB / 0.549 GB, free: 25.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.01253, allocations: 3.938 kB / 0.549 GB, free: 25.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.01254, allocations: 0 / 0.549 GB, free: 25.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.063e-05/0.01262, allocations: 19.86 kB / 0.5491 GB, free: 25.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.01262, allocations: 0 / 0.5491 GB, free: 25.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.33e-05/0.01265, allocations: 3.938 kB / 0.5491 GB, free: 25.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.786e-05/0.0127, allocations: 15.97 kB / 0.5491 GB, free: 25.25 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: M:VARIABLE(min = -1e-12 start = 4e-4 unit = \"kg\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.905e-05/0.01279, allocations: 120.7 kB / 0.5492 GB, free: 25.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.01283, allocations: 11.98 kB / 0.5492 GB, free: 25.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.58e-05/0.01285, allocations: 11.17 kB / 0.5492 GB, free: 25.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.01285, allocations: 0 / 0.5492 GB, free: 25.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.01286, allocations: 3.938 kB / 0.5492 GB, free: 25.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01286, allocations: 4.141 kB / 0.5492 GB, free: 25.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.01296, allocations: 80.86 kB / 0.5493 GB, free: 25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01296, allocations: 0 / 0.5493 GB, free: 25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.105e-05/0.013, allocations: 15.98 kB / 0.5493 GB, free: 24.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.514e-05/0.01302, allocations: 7.953 kB / 0.5493 GB, free: 24.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.01302, allocations: 0 / 0.5493 GB, free: 24.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.01303, allocations: 0 / 0.5493 GB, free: 24.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.01303, allocations: 4 kB / 0.5493 GB, free: 24.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.01303, allocations: 3.938 kB / 0.5493 GB, free: 24.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.01314, allocations: 143.5 kB / 0.5495 GB, free: 24.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.01315, allocations: 0 / 0.5495 GB, free: 24.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.323e-05/0.01319, allocations: 0 / 0.5495 GB, free: 24.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.849e-06/0.0132, allocations: 0 / 0.5495 GB, free: 24.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-06/0.0132, allocations: 0 / 0.5495 GB, free: 24.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.509e-05/0.01326, allocations: 74.03 kB / 0.5495 GB, free: 24.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.01326, allocations: 0 / 0.5495 GB, free: 24.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002085/0.01347, allocations: 24 kB / 0.5496 GB, free: 24.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (M) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 0.000209/0.01367, allocations: 174 kB / 0.5497 GB, free: 24.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.456e-05/0.01374, allocations: 28.78 kB / 0.5497 GB, free: 24.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.01374, allocations: 4 kB / 0.5498 GB, free: 24.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.366e-06/0.01375, allocations: 8.859 kB / 0.5498 GB, free: 24.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.01394, allocations: 15.31 kB / 0.5498 GB, free: 24.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008873/0.02281, allocations: 251 kB / 0.55 GB, free: 24.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.368e-05/0.02284, allocations: 63.34 kB / 0.5501 GB, free: 24.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.247e-05/0.02287, allocations: 0 / 0.5501 GB, free: 24.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.02291, allocations: 55.36 kB / 0.5501 GB, free: 24.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/0.02291, allocations: 0 / 0.5501 GB, free: 24.07 MB / 410.7 MB Notification: Performance of Templates: time 0.02809/0.051, allocations: 1.879 MB / 0.552 GB, free: 22.27 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.21500747371465]