Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect.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.0006653/0.0006653, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008902/0.001555, allocations: 455.9 kB / 10.35 MB, free: 348 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.0006926/0.0006926, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008812/0.001574, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.8739/0.8739, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08344/0.9574, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.6683/0.6683, allocations: 291.2 MB / 0.5227 GB, free: 52.72 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02329/0.6916, allocations: 21.04 MB / 0.5432 GB, free: 31.75 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.PD_Examples.PD_linear_effect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect") translateModel(Pharmacolibrary.Examples.PD_Examples.PD_linear_effect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 0.5445 GB, free: 30.46 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.775e-06/9.028e-06, allocations: 2.312 kB / 0.5445 GB, free: 30.46 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PD_Examples.PD_linear_effect): time 0.001685/0.001694, allocations: 2.186 MB / 0.5466 GB, free: 28.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005143/0.002208, allocations: 0.5453 MB / 0.5472 GB, free: 27.71 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.853e-05/0.002256, allocations: 4 kB / 0.5472 GB, free: 27.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.296e-05/0.002289, allocations: 11.86 kB / 0.5472 GB, free: 27.7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.661e-05/0.002376, allocations: 63.48 kB / 0.5473 GB, free: 27.63 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.208e-05/0.002458, allocations: 47.81 kB / 0.5473 GB, free: 27.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.002584, allocations: 199.1 kB / 0.5475 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.759e-05/0.002671, allocations: 42.55 kB / 0.5475 GB, free: 27.35 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.002804, allocations: 127.8 kB / 0.5477 GB, free: 27.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.217e-05/0.002887, allocations: 67.73 kB / 0.5477 GB, free: 27.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.002911, allocations: 12 kB / 0.5477 GB, free: 27.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.835e-05/0.002929, allocations: 16 kB / 0.5477 GB, free: 27.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.183e-05/0.002951, allocations: 19.94 kB / 0.5478 GB, free: 27.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.302e-05/0.002994, allocations: 43.94 kB / 0.5478 GB, free: 27.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.003112, allocations: 111.6 kB / 0.5479 GB, free: 26.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.338e-05/0.003125, allocations: 0 / 0.5479 GB, free: 26.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003126, allocations: 0 / 0.5479 GB, free: 26.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.003138, allocations: 0 / 0.5479 GB, free: 26.96 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004676/0.003606, allocations: 442.5 kB / 0.5483 GB, free: 26.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.466e-05/0.00363, allocations: 11.89 kB / 0.5483 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.003665, allocations: 16.92 kB / 0.5484 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.003771, allocations: 153.1 kB / 0.5485 GB, free: 26.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.003786, allocations: 11.5 kB / 0.5485 GB, free: 26.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.003807, allocations: 16.31 kB / 0.5485 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.003937, allocations: 150.3 kB / 0.5487 GB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.003947, allocations: 7.891 kB / 0.5487 GB, free: 26.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.003956, allocations: 0 / 0.5487 GB, free: 26.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.003961, allocations: 4 kB / 0.5487 GB, free: 26.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.21e-05/0.004023, allocations: 73.59 kB / 0.5488 GB, free: 26.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003124/0.004335, allocations: 295.2 kB / 0.549 GB, free: 25.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.558e-05/0.004421, allocations: 104.2 kB / 0.5491 GB, free: 25.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.786e-05/0.004449, allocations: 54.53 kB / 0.5492 GB, free: 25.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.993e-06/0.004456, allocations: 0 / 0.5492 GB, free: 25.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001192/0.004575, allocations: 192.5 kB / 0.5494 GB, free: 25.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 8.62e-07/0.004576, allocations: 0 / 0.5494 GB, free: 25.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004675/0.005043, allocations: 497.4 kB / 0.5498 GB, free: 24.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.005076, allocations: 166.2 kB / 0.55 GB, free: 24.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.155e-05/0.005137, allocations: 161.8 kB / 0.5502 GB, free: 24.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.005147, allocations: 33.7 kB / 0.5502 GB, free: 24.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.387e-05/0.005171, allocations: 108.5 kB / 0.5503 GB, free: 24.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.005197, allocations: 59.52 kB / 0.5504 GB, free: 24.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.005236, allocations: 53.67 kB / 0.5504 GB, free: 24.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.853e-05/0.005264, allocations: 326.8 kB / 0.5507 GB, free: 23.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.905e-05/0.005303, allocations: 92.72 kB / 0.5508 GB, free: 23.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.225e-05/0.005355, allocations: 169.6 kB / 0.551 GB, free: 23.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.355e-05/0.005449, allocations: 206.9 kB / 0.5512 GB, free: 23.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.00545, allocations: 0 / 0.5512 GB, free: 23.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001309/0.005581, allocations: 248.3 kB / 0.5514 GB, free: 22.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.005608, allocations: 55.41 kB / 0.5515 GB, free: 22.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.005612, allocations: 4 kB / 0.5515 GB, free: 22.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.844e-06/0.00562, allocations: 4 kB / 0.5515 GB, free: 22.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.005754, allocations: 68.05 kB / 0.5515 GB, free: 22.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.005757, allocations: 3.938 kB / 0.5515 GB, free: 22.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.26e-05/0.00582, allocations: 11.94 kB / 0.5515 GB, free: 22.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.00583, allocations: 15.98 kB / 0.5516 GB, free: 22.8 MB / 410.7 MB Warning: Assuming fixed start value for the following 2 variables: singleDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real linearEffect.Ce:VARIABLE(min = -1e-9 unit = \"kg/m3\" fixed = true ) \"effect site conc\" 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 (ntcomp.Cmin,$PRE.ntcomp.Cmin,ntcomp.Cmax,$PRE.ntcomp.Cmax,ntcomp.rising,$PRE.ntcomp.rising,singleDose.pulse.count,$PRE.singleDose.pulse.count,singleDose.pulse.T_start,$PRE.singleDose.pulse.T_start,$whenCondition2,$whenCondition1,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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 8.37e-05/0.005913, allocations: 169.8 kB / 0.5517 GB, free: 22.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.005929, allocations: 19.98 kB / 0.5517 GB, free: 22.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.179e-05/0.005951, allocations: 21.12 kB / 0.5518 GB, free: 22.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.005953, allocations: 3.938 kB / 0.5518 GB, free: 22.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.005954, allocations: 0 / 0.5518 GB, free: 22.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.005957, allocations: 3.938 kB / 0.5518 GB, free: 22.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.006158, allocations: 356.8 kB / 0.5521 GB, free: 22.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.006159, allocations: 0 / 0.5521 GB, free: 22.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.712e-05/0.006256, allocations: 39.91 kB / 0.5521 GB, free: 22.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.213e-05/0.006268, allocations: 11.91 kB / 0.5522 GB, free: 22.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.00627, allocations: 8 kB / 0.5522 GB, free: 22.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.00628, allocations: 3.938 kB / 0.5522 GB, free: 22.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.006282, allocations: 2.109 kB / 0.5522 GB, free: 22.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.006282, allocations: 4 kB / 0.5522 GB, free: 22.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.006433, allocations: 336.9 kB / 0.5525 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.006451, allocations: 8 kB / 0.5525 GB, free: 21.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.199e-05/0.006513, allocations: 11.94 kB / 0.5525 GB, free: 21.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.006553, allocations: 15.97 kB / 0.5525 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.00656, allocations: 7.984 kB / 0.5525 GB, free: 21.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.344e-05/0.006584, allocations: 36.83 kB / 0.5526 GB, free: 21.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006584, allocations: 4 kB / 0.5526 GB, free: 21.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001431/0.006727, allocations: 44 kB / 0.5526 GB, free: 21.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (linearEffect.Ce,singleDose.TotalCumulativeMass,ntcomp.C,ntcomp.AUC) * Number of discrete variables: 8 ($whenCondition3,$whenCondition1,$whenCondition2,singleDose.pulse.T_start,singleDose.pulse.count,ntcomp.Cmax,ntcomp.Cmin,ntcomp.rising) * Number of discrete states: 6 (singleDose.pulse.count,ntcomp.Cmin,$whenCondition2,ntcomp.Cmax,$whenCondition1,ntcomp.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * 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 5.034e-05/0.006777, allocations: 88.34 kB / 0.5527 GB, free: 21.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001438/0.006921, allocations: 312.7 kB / 0.553 GB, free: 21.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.006926, allocations: 4 kB / 0.553 GB, free: 21.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.485e-05/0.006991, allocations: 146 kB / 0.5531 GB, free: 21.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.007163, allocations: 66.19 kB / 0.5532 GB, free: 20.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003893/0.01106, allocations: 474 kB / 0.5537 GB, free: 20.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.631e-05/0.01108, allocations: 76.22 kB / 0.5537 GB, free: 20.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.893e-05/0.01113, allocations: 17.48 kB / 0.5537 GB, free: 20.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.882e-05/0.01122, allocations: 99.34 kB / 0.5538 GB, free: 20.26 MB / 410.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01122, allocations: 0 / 0.5538 GB, free: 20.26 MB / 410.7 MB Notification: Performance of Templates: time 0.003423/0.01464, allocations: 2.837 MB / 0.5566 GB, free: 17.51 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0162412896752357]