Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.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.001005/0.001005, allocations: 100.4 kB / 19.71 MB, free: 440 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.001061/0.001061, allocations: 224.4 kB / 23 MB, free: 2.949 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.9452/0.9452, allocations: 230.6 MB / 256.8 MB, free: 9.582 MB / 202.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.6965/0.6965, allocations: 312.3 MB / 0.6109 GB, free: 97.14 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.Gentamicin.Gentamicin_lower_adult,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult") translateModel(Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 77.77 kB / 0.7699 GB, free: 19.7 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1132, allocations: 74 MB / 0.8421 GB, free: 9.828 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult): time 0.003114/0.1163, allocations: 2.275 MB / 0.8444 GB, free: 7.555 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008894/0.1172, allocations: 0.5912 MB / 0.8449 GB, free: 6.969 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.868e-05/0.1173, allocations: 0 / 0.8449 GB, free: 6.969 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.1174, allocations: 24.34 kB / 0.845 GB, free: 6.945 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.1176, allocations: 88.48 kB / 0.845 GB, free: 6.859 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.1178, allocations: 56.58 kB / 0.8451 GB, free: 6.805 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.118, allocations: 246.8 kB / 0.8453 GB, free: 6.562 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.1181, allocations: 37.19 kB / 0.8454 GB, free: 6.527 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.524e-05/0.1182, allocations: 95.64 kB / 0.8455 GB, free: 6.434 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.1184, allocations: 104.2 kB / 0.8456 GB, free: 6.332 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.1184, allocations: 16.62 kB / 0.8456 GB, free: 6.316 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.468e-05/0.1185, allocations: 16 kB / 0.8456 GB, free: 6.301 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.219e-05/0.1185, allocations: 36.45 kB / 0.8456 GB, free: 6.266 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.722e-05/0.1186, allocations: 95.52 kB / 0.8457 GB, free: 6.172 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.1188, allocations: 191.9 kB / 0.8459 GB, free: 5.984 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1188, allocations: 0.625 kB / 0.8459 GB, free: 5.984 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1188, allocations: 0 / 0.8459 GB, free: 5.984 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1188, allocations: 0.5 kB / 0.8459 GB, free: 5.984 MB / 474.8 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.0006319/0.1194, allocations: 0.4946 MB / 0.8464 GB, free: 5.445 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1195, allocations: 8.031 kB / 0.8464 GB, free: 5.438 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.822e-05/0.1195, allocations: 21.47 kB / 0.8464 GB, free: 5.418 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004583/0.12, allocations: 183.1 kB / 0.8466 GB, free: 5.215 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.12, allocations: 12.17 kB / 0.8466 GB, free: 5.203 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.12, allocations: 16.59 kB / 0.8466 GB, free: 5.188 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.1202, allocations: 191 kB / 0.8468 GB, free: 4.984 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1203, allocations: 0.5 kB / 0.8468 GB, free: 4.984 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.1203, allocations: 4 kB / 0.8468 GB, free: 4.98 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1203, allocations: 0.5 kB / 0.8468 GB, free: 4.98 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.1205, allocations: 155.5 kB / 0.847 GB, free: 4.824 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005322/0.121, allocations: 486.6 kB / 0.8474 GB, free: 4.316 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.1213, allocations: 173.4 kB / 0.8476 GB, free: 4.133 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.1214, allocations: 99.08 kB / 0.8477 GB, free: 4.027 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.1214, allocations: 0.5 kB / 0.8477 GB, free: 4.027 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000227/0.1217, allocations: 225.3 kB / 0.8479 GB, free: 3.777 MB / 474.8 MB Notification: Performance of pre-optimization done (n=20): time 1.773e-06/0.1217, allocations: 0.5938 kB / 0.8479 GB, free: 3.777 MB / 474.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009025/0.1226, allocations: 0.7025 MB / 0.8486 GB, free: 3.016 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.1226, allocations: 144.5 kB / 0.8487 GB, free: 2.844 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.1228, allocations: 212.5 kB / 0.8489 GB, free: 2.621 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.1228, allocations: 29.7 kB / 0.8489 GB, free: 2.586 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.192e-05/0.1228, allocations: 133 kB / 0.8491 GB, free: 2.453 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.1229, allocations: 75.91 kB / 0.8491 GB, free: 2.379 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-05/0.1229, allocations: 53.7 kB / 0.8492 GB, free: 2.32 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.607e-05/0.123, allocations: 335.4 kB / 0.8495 GB, free: 1.984 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.1231, allocations: 145.5 kB / 0.8497 GB, free: 1.824 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.1233, allocations: 230.2 kB / 0.8499 GB, free: 1.555 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.1235, allocations: 281.6 kB / 0.8501 GB, free: 1.242 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1235, allocations: 0.625 kB / 0.8501 GB, free: 1.242 MB / 474.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003455/0.1239, allocations: 389.7 kB / 0.8505 GB, free: 0.832 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/0.1239, allocations: 63.89 kB / 0.8506 GB, free: 0.7578 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1239, allocations: 4.625 kB / 0.8506 GB, free: 0.7539 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1239, allocations: 0 / 0.8506 GB, free: 0.7539 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.1241, allocations: 57.16 kB / 0.8506 GB, free: 0.6992 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1241, allocations: 0 / 0.8506 GB, free: 0.6992 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.28e-05/0.1242, allocations: 24.45 kB / 0.8507 GB, free: 0.6758 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.1242, allocations: 9.312 kB / 0.8507 GB, free: 0.668 MB / 474.8 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.0001429/0.1243, allocations: 168.8 kB / 0.8508 GB, free: 500 kB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.1243, allocations: 31.73 kB / 0.8509 GB, free: 468 kB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.215e-05/0.1244, allocations: 29.95 kB / 0.8509 GB, free: 440 kB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.1244, allocations: 0.625 kB / 0.8509 GB, free: 440 kB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1244, allocations: 0.625 kB / 0.8509 GB, free: 440 kB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1244, allocations: 0 / 0.8509 GB, free: 440 kB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004825/0.1249, allocations: 0.5343 MB / 0.8514 GB, free: 15.84 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1249, allocations: 0 / 0.8514 GB, free: 15.84 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.848e-05/0.125, allocations: 38.31 kB / 0.8514 GB, free: 15.81 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.125, allocations: 0 / 0.8514 GB, free: 15.81 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.125, allocations: 11.94 kB / 0.8515 GB, free: 15.8 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.125, allocations: 0 / 0.8515 GB, free: 15.8 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.125, allocations: 0 / 0.8515 GB, free: 15.8 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000422/0.1254, allocations: 0.4934 MB / 0.8519 GB, free: 15.27 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.373e-05/0.1254, allocations: 15.94 kB / 0.852 GB, free: 15.26 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.1254, allocations: 8 kB / 0.852 GB, free: 15.25 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.388e-05/0.1255, allocations: 12.73 kB / 0.852 GB, free: 15.24 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.394e-05/0.1256, allocations: 31.84 kB / 0.852 GB, free: 15.21 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.1256, allocations: 4.594 kB / 0.852 GB, free: 15.2 MB / 490.8 MB Notification: Performance of sorting global known variables: time 8.82e-05/0.1257, allocations: 162.1 kB / 0.8522 GB, free: 15.05 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.1257, allocations: 0 / 0.8522 GB, free: 15.05 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001834/0.1259, allocations: 53.97 kB / 0.8522 GB, free: 15 MB / 490.8 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.989e-05/0.126, allocations: 104.6 kB / 0.8523 GB, free: 14.88 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003425/0.1263, allocations: 384.7 kB / 0.8527 GB, free: 14.47 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1263, allocations: 0 / 0.8527 GB, free: 14.47 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.1264, allocations: 165 kB / 0.8528 GB, free: 14.29 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.1267, allocations: 72.53 kB / 0.8529 GB, free: 14.22 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.1278, allocations: 0.7039 MB / 0.8536 GB, free: 13.56 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.325e-05/0.1279, allocations: 125.3 kB / 0.8537 GB, free: 13.42 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.894e-05/0.1279, allocations: 27.42 kB / 0.8537 GB, free: 13.39 MB / 490.8 MB Notification: Performance of SimCode: time 7.21e-07/0.1279, allocations: 0 / 0.8537 GB, free: 13.39 MB / 490.8 MB Notification: Performance of Templates: time 0.2428/0.3707, allocations: 2.881 MB / 0.8566 GB, free: 28.77 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult > Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.760639400221407]