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.001078/0.001078, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00176/0.002838, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007636/0.0007636, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009911/0.001755, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9272/0.9272, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08873/1.016, allocations: 53.66 MB / 243.2 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.771/0.771, allocations: 291.1 MB / 0.5226 GB, free: 52.77 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0291/0.8001, allocations: 21.05 MB / 0.5431 GB, free: 31.79 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.653e-06/1.653e-06, allocations: 0 / 0.5444 GB, free: 30.52 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.749e-05/1.915e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.52 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PD_Examples.PD_linear_effect): time 0.002944/0.002964, allocations: 2.189 MB / 0.5465 GB, free: 28.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008658/0.003829, allocations: 0.5492 MB / 0.547 GB, free: 27.76 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.614e-05/0.003896, allocations: 0 / 0.547 GB, free: 27.76 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.134e-05/0.003937, allocations: 15.86 kB / 0.547 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.004083, allocations: 59.48 kB / 0.5471 GB, free: 27.69 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000127/0.00421, allocations: 51.81 kB / 0.5472 GB, free: 27.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.004417, allocations: 199.1 kB / 0.5473 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.004521, allocations: 30.67 kB / 0.5474 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.004719, allocations: 135.7 kB / 0.5475 GB, free: 27.28 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.004833, allocations: 63.8 kB / 0.5476 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.004863, allocations: 16 kB / 0.5476 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.35e-05/0.004886, allocations: 12 kB / 0.5476 GB, free: 27.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.946e-05/0.004916, allocations: 23.88 kB / 0.5476 GB, free: 27.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.852e-05/0.004974, allocations: 43.94 kB / 0.5477 GB, free: 27.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.005165, allocations: 111.6 kB / 0.5478 GB, free: 27.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.75e-05/0.005183, allocations: 0 / 0.5478 GB, free: 27.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.005184, allocations: 0 / 0.5478 GB, free: 27.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.124e-05/0.005205, allocations: 0 / 0.5478 GB, free: 27.01 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.0007193/0.005924, allocations: 438.5 kB / 0.5482 GB, free: 26.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.005964, allocations: 15.89 kB / 0.5482 GB, free: 26.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.443e-05/0.006018, allocations: 20.92 kB / 0.5482 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.006178, allocations: 145.1 kB / 0.5484 GB, free: 26.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.006202, allocations: 12.38 kB / 0.5484 GB, free: 26.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.006228, allocations: 12.38 kB / 0.5484 GB, free: 26.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.006432, allocations: 142.3 kB / 0.5485 GB, free: 26.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.006446, allocations: 7.891 kB / 0.5485 GB, free: 26.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.006459, allocations: 8 kB / 0.5485 GB, free: 26.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.006465, allocations: 4 kB / 0.5485 GB, free: 26.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.006569, allocations: 73.59 kB / 0.5486 GB, free: 26.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004675/0.007037, allocations: 303.2 kB / 0.5489 GB, free: 25.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.007162, allocations: 92.12 kB / 0.549 GB, free: 25.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.301e-05/0.007205, allocations: 54.55 kB / 0.549 GB, free: 25.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.007215, allocations: 4 kB / 0.549 GB, free: 25.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.007389, allocations: 191.6 kB / 0.5492 GB, free: 25.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.007391, allocations: 4 kB / 0.5492 GB, free: 25.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006936/0.008085, allocations: 0.4896 MB / 0.5497 GB, free: 24.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.008138, allocations: 132.5 kB / 0.5498 GB, free: 24.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.008242, allocations: 156.4 kB / 0.55 GB, free: 24.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.008259, allocations: 33.64 kB / 0.55 GB, free: 24.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.702e-05/0.008306, allocations: 116.4 kB / 0.5501 GB, free: 24.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.577e-05/0.008362, allocations: 55.53 kB / 0.5502 GB, free: 24.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-05/0.008431, allocations: 49.67 kB / 0.5502 GB, free: 24.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.061e-05/0.008502, allocations: 334.8 kB / 0.5505 GB, free: 23.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.724e-05/0.008569, allocations: 92.72 kB / 0.5506 GB, free: 23.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.949e-05/0.008658, allocations: 161.9 kB / 0.5508 GB, free: 23.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.008807, allocations: 206.8 kB / 0.551 GB, free: 23.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.008809, allocations: 4 kB / 0.551 GB, free: 23.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002284/0.009038, allocations: 244.3 kB / 0.5512 GB, free: 23.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/0.009072, allocations: 63.39 kB / 0.5513 GB, free: 23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.009076, allocations: 0 / 0.5513 GB, free: 23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.009088, allocations: 7.938 kB / 0.5513 GB, free: 22.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.009302, allocations: 55.97 kB / 0.5513 GB, free: 22.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.00931, allocations: 15 kB / 0.5514 GB, free: 22.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.00942, allocations: 15.98 kB / 0.5514 GB, free: 22.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.009434, allocations: 4.156 kB / 0.5514 GB, free: 22.9 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.0001228/0.009557, allocations: 166.4 kB / 0.5515 GB, free: 22.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.009587, allocations: 19.98 kB / 0.5515 GB, free: 22.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.229e-05/0.009619, allocations: 21.11 kB / 0.5516 GB, free: 22.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.009622, allocations: 4 kB / 0.5516 GB, free: 22.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.009625, allocations: 0 / 0.5516 GB, free: 22.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.009632, allocations: 3.938 kB / 0.5516 GB, free: 22.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.009933, allocations: 353 kB / 0.5519 GB, free: 22.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.009935, allocations: 0 / 0.5519 GB, free: 22.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.01009, allocations: 39.91 kB / 0.552 GB, free: 22.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.054e-05/0.01011, allocations: 11.91 kB / 0.552 GB, free: 22.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.01012, allocations: 3.984 kB / 0.552 GB, free: 22.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.01013, allocations: 15.88 kB / 0.552 GB, free: 22.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.01014, allocations: 2.5 kB / 0.552 GB, free: 22.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01014, allocations: 0 / 0.552 GB, free: 22.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.01038, allocations: 332.5 kB / 0.5523 GB, free: 21.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.01041, allocations: 12 kB / 0.5523 GB, free: 21.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.01052, allocations: 11.92 kB / 0.5523 GB, free: 21.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.01057, allocations: 19.95 kB / 0.5523 GB, free: 21.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.01058, allocations: 11.48 kB / 0.5524 GB, free: 21.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002891/0.01087, allocations: 40.62 kB / 0.5524 GB, free: 21.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.01087, allocations: 0 / 0.5524 GB, free: 21.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001598/0.01103, allocations: 44 kB / 0.5524 GB, free: 21.73 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 8.177e-05/0.01111, allocations: 91.33 kB / 0.5525 GB, free: 21.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001663/0.01128, allocations: 313 kB / 0.5528 GB, free: 21.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.01129, allocations: 8 kB / 0.5528 GB, free: 21.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.03e-05/0.01135, allocations: 141.8 kB / 0.553 GB, free: 21.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.01154, allocations: 51.97 kB / 0.553 GB, free: 21.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004054/0.01559, allocations: 498.3 kB / 0.5535 GB, free: 20.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.023e-05/0.01563, allocations: 72.22 kB / 0.5536 GB, free: 20.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.903e-05/0.0157, allocations: 17.48 kB / 0.5536 GB, free: 20.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.01581, allocations: 99.33 kB / 0.5537 GB, free: 20.35 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.01581, allocations: 8 kB / 0.5537 GB, free: 20.34 MB / 410.7 MB Notification: Performance of Templates: time 0.004527/0.02034, allocations: 2.831 MB / 0.5564 GB, free: 17.59 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.248021679930389]