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.002472/0.002472, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 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.002751/0.002751, allocations: 169.9 kB / 22.46 MB, free: 2.102 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 1.656/1.656, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 178] 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 1.413/1.413, allocations: 292.9 MB / 0.5392 GB, free: 49.82 MB / 410.7 MB " [Timeout remaining time 178] 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: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.6998 GB, free: 8.594 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.56e-05, allocations: 2.281 kB / 0.6998 GB, free: 8.59 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide): time 0.002744/0.002769, allocations: 2.292 MB / 0.7021 GB, free: 6.281 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008847/0.003654, allocations: 0.5881 MB / 0.7027 GB, free: 5.688 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.696e-05/0.003741, allocations: 0 / 0.7027 GB, free: 5.688 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 6.402e-05/0.003805, allocations: 23.72 kB / 0.7027 GB, free: 5.664 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002178/0.004023, allocations: 95.25 kB / 0.7028 GB, free: 5.57 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.004221, allocations: 47.88 kB / 0.7028 GB, free: 5.523 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.004431, allocations: 266.6 kB / 0.7031 GB, free: 5.262 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.004556, allocations: 40.56 kB / 0.7031 GB, free: 5.227 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.004713, allocations: 147.6 kB / 0.7032 GB, free: 5.082 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.004899, allocations: 79.78 kB / 0.7033 GB, free: 5.004 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.004929, allocations: 16 kB / 0.7033 GB, free: 4.988 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.015e-05/0.004959, allocations: 16 kB / 0.7034 GB, free: 4.973 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.286e-05/0.004992, allocations: 51.77 kB / 0.7034 GB, free: 4.922 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 8.776e-05/0.00508, allocations: 71.83 kB / 0.7035 GB, free: 4.852 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.005274, allocations: 203.3 kB / 0.7037 GB, free: 4.652 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.005277, allocations: 3.938 kB / 0.7037 GB, free: 4.648 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.81e-07/0.005278, allocations: 4 kB / 0.7037 GB, free: 4.645 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.005282, allocations: 0 / 0.7037 GB, free: 4.645 MB / 410.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.0007838/0.006066, allocations: 488.9 kB / 0.7041 GB, free: 4.121 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.006102, allocations: 12.03 kB / 0.7041 GB, free: 4.109 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.942e-05/0.006161, allocations: 28.8 kB / 0.7042 GB, free: 4.082 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.006294, allocations: 172.9 kB / 0.7043 GB, free: 3.887 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.006318, allocations: 12.61 kB / 0.7044 GB, free: 3.875 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.195e-05/0.00635, allocations: 12.38 kB / 0.7044 GB, free: 3.863 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.006649, allocations: 168.8 kB / 0.7045 GB, free: 3.691 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.006664, allocations: 192 / 0.7045 GB, free: 3.691 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.006685, allocations: 8.375 kB / 0.7045 GB, free: 3.684 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.00669, allocations: 3.938 kB / 0.7045 GB, free: 3.68 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003377/0.007027, allocations: 154 kB / 0.7047 GB, free: 3.523 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006733/0.007701, allocations: 412.7 kB / 0.7051 GB, free: 3.09 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004853/0.008186, allocations: 196.2 kB / 0.7053 GB, free: 2.883 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.008358, allocations: 98.52 kB / 0.7054 GB, free: 2.777 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.008376, allocations: 4 kB / 0.7054 GB, free: 2.773 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003143/0.00869, allocations: 236.3 kB / 0.7056 GB, free: 2.512 MB / 410.8 MB Notification: Performance of pre-optimization done (n=22): time 1.392e-06/0.008691, allocations: 0 / 0.7056 GB, free: 2.512 MB / 410.8 MB Notification: Performance of matching and sorting (n=23): time 0.001346/0.01004, allocations: 0.7233 MB / 0.7063 GB, free: 1.727 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.01008, allocations: 140.5 kB / 0.7064 GB, free: 1.559 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.01023, allocations: 207.9 kB / 0.7066 GB, free: 1.344 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.01025, allocations: 33.7 kB / 0.7067 GB, free: 1.305 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.726e-05/0.01031, allocations: 132.5 kB / 0.7068 GB, free: 1.172 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.089e-05/0.01035, allocations: 75.39 kB / 0.7069 GB, free: 1.098 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.391e-05/0.01042, allocations: 49.69 kB / 0.7069 GB, free: 1.043 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.181e-05/0.01047, allocations: 334.8 kB / 0.7072 GB, free: 0.707 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.01068, allocations: 145 kB / 0.7074 GB, free: 0.5469 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.01091, allocations: 224.5 kB / 0.7076 GB, free: 292 kB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000389/0.0113, allocations: 290.6 kB / 0.7079 GB, free: 15.96 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.0113, allocations: 0 / 0.7079 GB, free: 15.96 MB / 426.8 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007343/0.01204, allocations: 392.1 kB / 0.7082 GB, free: 15.55 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.751e-05/0.0121, allocations: 64.19 kB / 0.7083 GB, free: 15.47 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.01211, allocations: 4 kB / 0.7083 GB, free: 15.47 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.01213, allocations: 0 / 0.7083 GB, free: 15.47 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.01236, allocations: 55.89 kB / 0.7083 GB, free: 15.41 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.01237, allocations: 4 kB / 0.7083 GB, free: 15.41 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.01256, allocations: 23.86 kB / 0.7084 GB, free: 15.39 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.01259, allocations: 16.19 kB / 0.7084 GB, free: 15.37 MB / 426.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.0002238/0.01281, allocations: 179.6 kB / 0.7086 GB, free: 15.18 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.01286, allocations: 23.86 kB / 0.7086 GB, free: 15.16 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006959/0.01356, allocations: 315.8 kB / 0.7089 GB, free: 14.83 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.319e-06/0.01356, allocations: 4 kB / 0.7089 GB, free: 14.83 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.01357, allocations: 0 / 0.7089 GB, free: 14.83 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.01357, allocations: 4 kB / 0.7089 GB, free: 14.82 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009509/0.01452, allocations: 0.5583 MB / 0.7094 GB, free: 14.22 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01452, allocations: 0 / 0.7094 GB, free: 14.22 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.01475, allocations: 39.97 kB / 0.7095 GB, free: 14.18 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.466e-05/0.01477, allocations: 4 kB / 0.7095 GB, free: 14.18 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.01479, allocations: 3.984 kB / 0.7095 GB, free: 14.17 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01479, allocations: 4 kB / 0.7095 GB, free: 14.17 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01479, allocations: 0 / 0.7095 GB, free: 14.17 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009158/0.01571, allocations: 0.5207 MB / 0.71 GB, free: 13.61 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.067e-05/0.01576, allocations: 15.94 kB / 0.71 GB, free: 13.6 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.751e-05/0.01581, allocations: 8 kB / 0.71 GB, free: 13.59 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.016, allocations: 15.98 kB / 0.71 GB, free: 13.57 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.635e-05/0.01608, allocations: 23.91 kB / 0.7101 GB, free: 13.55 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.01611, allocations: 7.984 kB / 0.7101 GB, free: 13.54 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001676/0.01628, allocations: 153.5 kB / 0.7102 GB, free: 13.39 MB / 426.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01628, allocations: 0 / 0.7102 GB, free: 13.39 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003084/0.01658, allocations: 60 kB / 0.7103 GB, free: 13.34 MB / 426.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 0.0001647/0.01675, allocations: 114.5 kB / 0.7104 GB, free: 13.22 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0007489/0.0175, allocations: 382.4 kB / 0.7107 GB, free: 12.8 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.0175, allocations: 0 / 0.7107 GB, free: 12.8 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003217/0.01782, allocations: 185.3 kB / 0.7109 GB, free: 12.61 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.0183, allocations: 79.89 kB / 0.711 GB, free: 12.53 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.01943, allocations: 0.5663 MB / 0.7115 GB, free: 11.93 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.01957, allocations: 125.9 kB / 0.7117 GB, free: 11.79 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.01969, allocations: 25.94 kB / 0.7117 GB, free: 11.76 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.864e-05/0.01975, allocations: 20.5 kB / 0.7117 GB, free: 11.74 MB / 426.8 MB Notification: Performance of SimCode: time 5.1e-07/0.01975, allocations: 0 / 0.7117 GB, free: 11.74 MB / 426.8 MB Notification: Performance of Templates: time 0.008416/0.02817, allocations: 3.466 MB / 0.7151 GB, free: 8.395 MB / 426.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_MichaelisMenten_Zonisamide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.8068208990152925]