Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide.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.0009923/0.0009923, allocations: 104.3 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.001068/0.001068, allocations: 217.3 kB / 23.01 MB, free: 2.961 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.9122/0.9122, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.6941/0.6941, allocations: 312.3 MB / 0.6109 GB, free: 97.09 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.PK_1C_MichaelisMenten_Zonisamide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=4032,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide") translateModel(Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=4032,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide") [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.001482/0.001482, allocations: 81.94 kB / 0.7699 GB, free: 19.69 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1111, allocations: 73.99 MB / 0.8421 GB, free: 9.832 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide): time 0.003286/0.1144, allocations: 2.286 MB / 0.8444 GB, free: 7.547 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009631/0.1154, allocations: 0.5904 MB / 0.8449 GB, free: 6.957 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.1155, allocations: 4.781 kB / 0.8449 GB, free: 6.953 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 7.277e-05/0.1156, allocations: 23.72 kB / 0.845 GB, free: 6.93 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002744/0.1158, allocations: 80.52 kB / 0.845 GB, free: 6.852 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.1161, allocations: 56.38 kB / 0.8451 GB, free: 6.797 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.1163, allocations: 251.4 kB / 0.8453 GB, free: 6.551 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.1165, allocations: 37.06 kB / 0.8454 GB, free: 6.516 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.1166, allocations: 100.1 kB / 0.8455 GB, free: 6.418 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.1169, allocations: 99.42 kB / 0.8456 GB, free: 6.32 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.1169, allocations: 20.5 kB / 0.8456 GB, free: 6.301 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.996e-05/0.1169, allocations: 16.62 kB / 0.8456 GB, free: 6.285 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.343e-05/0.117, allocations: 47.77 kB / 0.8456 GB, free: 6.238 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.04e-05/0.1171, allocations: 88.38 kB / 0.8457 GB, free: 6.152 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.1173, allocations: 203.7 kB / 0.8459 GB, free: 5.953 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1173, allocations: 0 / 0.8459 GB, free: 5.953 MB / 474.8 MB Notification: Performance of FrontEnd: time 3.396e-06/0.1173, allocations: 0.5938 kB / 0.8459 GB, free: 5.953 MB / 474.8 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.1173, allocations: 0 / 0.8459 GB, free: 5.953 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.0008417/0.1182, allocations: 0.4909 MB / 0.8464 GB, free: 5.418 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.1182, allocations: 8.656 kB / 0.8464 GB, free: 5.41 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.434e-05/0.1183, allocations: 24.8 kB / 0.8464 GB, free: 5.387 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.1185, allocations: 167.1 kB / 0.8466 GB, free: 5.199 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.1185, allocations: 13.09 kB / 0.8466 GB, free: 5.188 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.717e-05/0.1185, allocations: 17.03 kB / 0.8466 GB, free: 5.172 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.1188, allocations: 177.3 kB / 0.8468 GB, free: 4.988 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.1188, allocations: 0 / 0.8468 GB, free: 4.988 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.1189, allocations: 0.5938 kB / 0.8468 GB, free: 4.988 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.1189, allocations: 4 kB / 0.8468 GB, free: 4.984 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002385/0.1191, allocations: 155.3 kB / 0.8469 GB, free: 4.828 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006859/0.1198, allocations: 405.9 kB / 0.8473 GB, free: 4.402 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004093/0.1202, allocations: 193.4 kB / 0.8475 GB, free: 4.199 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.1203, allocations: 103.2 kB / 0.8476 GB, free: 4.09 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.1203, allocations: 0.5938 kB / 0.8476 GB, free: 4.09 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002899/0.1206, allocations: 231 kB / 0.8478 GB, free: 3.836 MB / 474.8 MB Notification: Performance of pre-optimization done (n=22): time 2.154e-06/0.1206, allocations: 0.7812 kB / 0.8478 GB, free: 3.836 MB / 474.8 MB Notification: Performance of matching and sorting (n=23): time 0.001086/0.1217, allocations: 0.7366 MB / 0.8485 GB, free: 3.039 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.1218, allocations: 141.2 kB / 0.8487 GB, free: 2.871 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.1219, allocations: 207.8 kB / 0.8489 GB, free: 2.652 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.1219, allocations: 34.36 kB / 0.8489 GB, free: 2.613 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/0.122, allocations: 132.5 kB / 0.849 GB, free: 2.48 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.1221, allocations: 71.98 kB / 0.8491 GB, free: 2.41 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.054e-05/0.1221, allocations: 53.69 kB / 0.8492 GB, free: 2.352 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.828e-05/0.1222, allocations: 339.5 kB / 0.8495 GB, free: 2.012 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004344/0.1226, allocations: 145.6 kB / 0.8496 GB, free: 1.852 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.1228, allocations: 217.1 kB / 0.8498 GB, free: 1.598 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/0.123, allocations: 282.8 kB / 0.8501 GB, free: 1.289 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.123, allocations: 0 / 0.8501 GB, free: 1.289 MB / 474.8 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003608/0.1234, allocations: 390.9 kB / 0.8505 GB, free: 0.8789 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/0.1234, allocations: 67.39 kB / 0.8505 GB, free: 0.8008 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1235, allocations: 4.5 kB / 0.8505 GB, free: 0.7969 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1235, allocations: 7.938 kB / 0.8505 GB, free: 0.7891 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.1236, allocations: 56.62 kB / 0.8506 GB, free: 0.7344 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1236, allocations: 4.719 kB / 0.8506 GB, free: 0.7305 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.862e-05/0.1237, allocations: 21.67 kB / 0.8506 GB, free: 0.7109 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.1237, allocations: 12 kB / 0.8506 GB, free: 0.6992 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: 7 * 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 (32): * Single equations (assignments): 30 * 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.0001528/0.1239, allocations: 172.3 kB / 0.8508 GB, free: 0.5156 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.1239, allocations: 23.86 kB / 0.8508 GB, free: 0.4922 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003404/0.1242, allocations: 314.8 kB / 0.8511 GB, free: 176 kB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-06/0.1242, allocations: 0 / 0.8511 GB, free: 176 kB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1242, allocations: 8.625 kB / 0.8511 GB, free: 168 kB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.1242, allocations: 0 / 0.8511 GB, free: 168 kB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005056/0.1247, allocations: 0.5693 MB / 0.8517 GB, free: 15.55 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1247, allocations: 0 / 0.8517 GB, free: 15.55 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.1248, allocations: 36.97 kB / 0.8517 GB, free: 15.51 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.1249, allocations: 4 kB / 0.8517 GB, free: 15.51 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.1249, allocations: 5.969 kB / 0.8517 GB, free: 15.5 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1249, allocations: 7.938 kB / 0.8517 GB, free: 15.5 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1249, allocations: 0 / 0.8517 GB, free: 15.5 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004527/0.1253, allocations: 0.5052 MB / 0.8522 GB, free: 14.96 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.578e-05/0.1253, allocations: 23.94 kB / 0.8523 GB, free: 14.94 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.1254, allocations: 14 kB / 0.8523 GB, free: 14.93 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.229e-05/0.1255, allocations: 11.98 kB / 0.8523 GB, free: 14.91 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.624e-05/0.1255, allocations: 23.95 kB / 0.8523 GB, free: 14.89 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.1255, allocations: 8 kB / 0.8523 GB, free: 14.88 MB / 490.8 MB Notification: Performance of sorting global known variables: time 8.44e-05/0.1256, allocations: 149.5 kB / 0.8525 GB, free: 14.74 MB / 490.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1256, allocations: 2.688 kB / 0.8525 GB, free: 14.74 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001831/0.1258, allocations: 60 kB / 0.8525 GB, free: 14.68 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 (21): * Single equations (assignments): 18 * 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 8.854e-05/0.1259, allocations: 112.7 kB / 0.8526 GB, free: 14.56 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003559/0.1262, allocations: 388.3 kB / 0.853 GB, free: 14.14 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1263, allocations: 0.5938 kB / 0.853 GB, free: 14.14 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.1264, allocations: 177.6 kB / 0.8532 GB, free: 13.95 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.1267, allocations: 71.22 kB / 0.8532 GB, free: 13.88 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008201/0.1275, allocations: 0.7054 MB / 0.8539 GB, free: 13.21 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.655e-05/0.1276, allocations: 125.9 kB / 0.854 GB, free: 13.07 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.1276, allocations: 23.42 kB / 0.8541 GB, free: 13.04 MB / 490.8 MB Notification: Performance of SimCode: time 6.51e-07/0.1276, allocations: 0 / 0.8541 GB, free: 13.04 MB / 490.8 MB Notification: Performance of Templates: time 0.241/0.3686, allocations: 2.992 MB / 0.857 GB, free: 29.06 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.857123683206737]