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.000665/0.000665, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009088/0.001574, allocations: 440 kB / 10.41 MB, free: 284 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.0006869/0.0006869, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001001/0.001688, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.999/0.999, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09157/1.091, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.7292/0.7292, allocations: 291.1 MB / 0.5227 GB, free: 52.46 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03311/0.7623, allocations: 21.05 MB / 0.5433 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.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.623e-06/1.623e-06, allocations: 0 / 0.5446 GB, free: 30.16 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.612e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PD_Examples.PD_linear_effect): time 0.004119/0.004145, allocations: 2.186 MB / 0.5467 GB, free: 27.96 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009602/0.005105, allocations: 0.557 MB / 0.5473 GB, free: 27.4 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.51e-05/0.00519, allocations: 4 kB / 0.5473 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.597e-05/0.005246, allocations: 15.8 kB / 0.5473 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.00541, allocations: 59.5 kB / 0.5474 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000155/0.005565, allocations: 43.88 kB / 0.5474 GB, free: 27.28 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.005806, allocations: 199.1 kB / 0.5476 GB, free: 27.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.005938, allocations: 22.7 kB / 0.5476 GB, free: 27.06 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002459/0.006184, allocations: 143.6 kB / 0.5477 GB, free: 26.92 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.006326, allocations: 63.8 kB / 0.5478 GB, free: 26.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.504e-05/0.006361, allocations: 12 kB / 0.5478 GB, free: 26.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.006e-05/0.006391, allocations: 16 kB / 0.5478 GB, free: 26.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.128e-05/0.006432, allocations: 19.94 kB / 0.5479 GB, free: 26.81 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.714e-05/0.006499, allocations: 43.94 kB / 0.5479 GB, free: 26.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.006703, allocations: 107.6 kB / 0.548 GB, free: 26.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.558e-05/0.006718, allocations: 0 / 0.548 GB, free: 26.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.00672, allocations: 0 / 0.548 GB, free: 26.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.00673, allocations: 4 kB / 0.548 GB, free: 26.66 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.0007287/0.007459, allocations: 450.4 kB / 0.5484 GB, free: 26.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.007494, allocations: 11.89 kB / 0.5484 GB, free: 26.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.731e-05/0.007552, allocations: 20.92 kB / 0.5485 GB, free: 26.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.007717, allocations: 139.9 kB / 0.5486 GB, free: 25.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.007739, allocations: 8.375 kB / 0.5486 GB, free: 25.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.007771, allocations: 16.38 kB / 0.5486 GB, free: 25.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.007993, allocations: 146.3 kB / 0.5488 GB, free: 25.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.008008, allocations: 11.83 kB / 0.5488 GB, free: 25.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.008022, allocations: 4 kB / 0.5488 GB, free: 25.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.008029, allocations: 4 kB / 0.5488 GB, free: 25.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.008141, allocations: 69.66 kB / 0.5488 GB, free: 25.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005328/0.008674, allocations: 299.1 kB / 0.5491 GB, free: 25.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.008817, allocations: 92.23 kB / 0.5492 GB, free: 25.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.096e-05/0.008868, allocations: 54.55 kB / 0.5493 GB, free: 25.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.008879, allocations: 0 / 0.5493 GB, free: 25.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002014/0.00908, allocations: 192.4 kB / 0.5495 GB, free: 25.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 2.475e-06/0.009083, allocations: 0 / 0.5495 GB, free: 25.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0008012/0.009884, allocations: 0.4987 MB / 0.5499 GB, free: 24.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.009936, allocations: 162.2 kB / 0.5501 GB, free: 24.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.01004, allocations: 155.4 kB / 0.5502 GB, free: 24.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.01006, allocations: 33.7 kB / 0.5503 GB, free: 24.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.01011, allocations: 108.5 kB / 0.5504 GB, free: 23.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/0.01016, allocations: 67.5 kB / 0.5504 GB, free: 23.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.317e-05/0.01022, allocations: 41.69 kB / 0.5505 GB, free: 23.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.746e-05/0.01029, allocations: 330.8 kB / 0.5508 GB, free: 23.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.281e-05/0.01037, allocations: 92.72 kB / 0.5509 GB, free: 23.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.01048, allocations: 169.8 kB / 0.551 GB, free: 23.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.01066, allocations: 205 kB / 0.5512 GB, free: 22.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01066, allocations: 0 / 0.5512 GB, free: 22.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000255/0.01092, allocations: 260.4 kB / 0.5515 GB, free: 22.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.11e-05/0.01097, allocations: 59.41 kB / 0.5515 GB, free: 22.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.01097, allocations: 0 / 0.5515 GB, free: 22.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.011, allocations: 4 kB / 0.5516 GB, free: 22.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.01124, allocations: 63.89 kB / 0.5516 GB, free: 22.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.01125, allocations: 7.938 kB / 0.5516 GB, free: 22.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.01136, allocations: 12 kB / 0.5516 GB, free: 22.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.01138, allocations: 11.97 kB / 0.5516 GB, free: 22.5 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 0.0001431/0.01152, allocations: 163.6 kB / 0.5518 GB, free: 22.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.01155, allocations: 19.98 kB / 0.5518 GB, free: 22.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.481e-05/0.01159, allocations: 21.06 kB / 0.5518 GB, free: 22.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.01159, allocations: 4 kB / 0.5518 GB, free: 22.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.0116, allocations: 0 / 0.5518 GB, free: 22.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.0116, allocations: 7 kB / 0.5518 GB, free: 22.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003468/0.01195, allocations: 358 kB / 0.5522 GB, free: 21.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01195, allocations: 0 / 0.5522 GB, free: 21.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.01212, allocations: 35.97 kB / 0.5522 GB, free: 21.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.944e-05/0.01215, allocations: 11.91 kB / 0.5522 GB, free: 21.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.01216, allocations: 0 / 0.5522 GB, free: 21.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.01217, allocations: 11.94 kB / 0.5522 GB, free: 21.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.01218, allocations: 3.438 kB / 0.5523 GB, free: 21.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.01218, allocations: 0 / 0.5523 GB, free: 21.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.01245, allocations: 345.8 kB / 0.5526 GB, free: 21.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.01248, allocations: 12 kB / 0.5526 GB, free: 21.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.01259, allocations: 15.92 kB / 0.5526 GB, free: 21.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/0.01265, allocations: 11.98 kB / 0.5526 GB, free: 21.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.01266, allocations: 7.984 kB / 0.5526 GB, free: 21.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.552e-05/0.0127, allocations: 32.83 kB / 0.5527 GB, free: 21.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0127, allocations: 0 / 0.5527 GB, free: 21.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002704/0.01297, allocations: 44 kB / 0.5527 GB, free: 21.34 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 0.0001354/0.01311, allocations: 88.41 kB / 0.5528 GB, free: 21.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002412/0.01335, allocations: 312.3 kB / 0.5531 GB, free: 20.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.01336, allocations: 0 / 0.5531 GB, free: 20.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.01347, allocations: 146.4 kB / 0.5532 GB, free: 20.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004559/0.01392, allocations: 273.3 kB / 0.5535 GB, free: 20.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004259/0.01818, allocations: 482.4 kB / 0.5539 GB, free: 19.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.908e-05/0.01822, allocations: 76.16 kB / 0.554 GB, free: 19.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.367e-05/0.01829, allocations: 21.52 kB / 0.554 GB, free: 19.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.01842, allocations: 99.34 kB / 0.5541 GB, free: 19.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.663e-06/0.01842, allocations: 4 kB / 0.5541 GB, free: 19.7 MB / 410.7 MB Notification: Performance of Templates: time 0.004247/0.02267, allocations: 2.86 MB / 0.5569 GB, free: 16.93 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.360434727743268]