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.0009945/0.0009945, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009806/0.001975, allocations: 435.8 kB / 10.31 MB, free: 384 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.0008102/0.0008102, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001289/0.002099, allocations: 463.6 kB / 11.65 MB, free: 2.516 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 1.007/1.007, allocations: 177.1 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09178/1.099, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7642/0.7642, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03044/0.7947, allocations: 21.05 MB / 0.5431 GB, free: 31.95 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.382e-06/1.382e-06, allocations: 0 / 0.5444 GB, free: 30.69 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.988e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PD_Examples.PD_linear_effect): time 0.002472/0.002492, allocations: 2.171 MB / 0.5465 GB, free: 28.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007233/0.003215, allocations: 0.5453 MB / 0.547 GB, free: 27.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.957e-05/0.003274, allocations: 4 kB / 0.547 GB, free: 27.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.786e-05/0.003322, allocations: 15.8 kB / 0.547 GB, free: 27.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006143/0.009465, allocations: 59.48 kB / 0.5471 GB, free: 27.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001361/0.009601, allocations: 51.81 kB / 0.5472 GB, free: 27.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.00978, allocations: 199.1 kB / 0.5473 GB, free: 27.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.009883, allocations: 30.67 kB / 0.5474 GB, free: 27.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.01006, allocations: 131.7 kB / 0.5475 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.01016, allocations: 59.86 kB / 0.5476 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.01019, allocations: 12 kB / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.339e-05/0.01021, allocations: 20 kB / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.898e-05/0.01024, allocations: 23.88 kB / 0.5476 GB, free: 27.35 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.461e-05/0.0103, allocations: 43.94 kB / 0.5477 GB, free: 27.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.01046, allocations: 111.5 kB / 0.5478 GB, free: 27.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-05/0.01047, allocations: 0 / 0.5478 GB, free: 27.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01048, allocations: 4 kB / 0.5478 GB, free: 27.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.01049, allocations: 0 / 0.5478 GB, free: 27.2 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.0005257/0.01101, allocations: 434.5 kB / 0.5482 GB, free: 26.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.01104, allocations: 15.89 kB / 0.5482 GB, free: 26.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.591e-05/0.01109, allocations: 28.91 kB / 0.5482 GB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.01122, allocations: 142.1 kB / 0.5484 GB, free: 26.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.01124, allocations: 8.375 kB / 0.5484 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.01127, allocations: 16.38 kB / 0.5484 GB, free: 26.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.01144, allocations: 138.3 kB / 0.5485 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.01145, allocations: 7.891 kB / 0.5485 GB, free: 26.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.01146, allocations: 4 kB / 0.5485 GB, free: 26.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.01147, allocations: 4 kB / 0.5485 GB, free: 26.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.004e-05/0.01155, allocations: 69.66 kB / 0.5486 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.01195, allocations: 315.1 kB / 0.5489 GB, free: 25.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.01206, allocations: 92.17 kB / 0.549 GB, free: 25.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.296e-05/0.01209, allocations: 50.56 kB / 0.549 GB, free: 25.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.0121, allocations: 0 / 0.549 GB, free: 25.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.01224, allocations: 192.5 kB / 0.5492 GB, free: 25.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.422e-06/0.01225, allocations: 0 / 0.5492 GB, free: 25.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007601/0.01301, allocations: 0.4885 MB / 0.5497 GB, free: 25.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.01306, allocations: 136.5 kB / 0.5498 GB, free: 24.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.828e-05/0.01314, allocations: 160.4 kB / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.01315, allocations: 29.7 kB / 0.55 GB, free: 24.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.473e-05/0.01319, allocations: 112.5 kB / 0.5501 GB, free: 24.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.01322, allocations: 59.52 kB / 0.5502 GB, free: 24.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.449e-05/0.01327, allocations: 49.67 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.303e-05/0.01331, allocations: 326.8 kB / 0.5505 GB, free: 24.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.227e-05/0.01336, allocations: 96.66 kB / 0.5506 GB, free: 23.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.012e-05/0.01343, allocations: 169.9 kB / 0.5508 GB, free: 23.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.01355, allocations: 206.3 kB / 0.551 GB, free: 23.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01355, allocations: 0 / 0.551 GB, free: 23.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000169/0.01372, allocations: 248.6 kB / 0.5512 GB, free: 23.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/0.01376, allocations: 63.59 kB / 0.5513 GB, free: 23.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.01376, allocations: 0 / 0.5513 GB, free: 23.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/0.01377, allocations: 4 kB / 0.5513 GB, free: 23.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.01396, allocations: 59.91 kB / 0.5513 GB, free: 23.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.01396, allocations: 11.92 kB / 0.5513 GB, free: 23.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.142e-05/0.01406, allocations: 12 kB / 0.5514 GB, free: 23.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.01407, allocations: 4 kB / 0.5514 GB, free: 23.09 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.0001012/0.01417, allocations: 167.4 kB / 0.5515 GB, free: 22.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.01419, allocations: 19.98 kB / 0.5515 GB, free: 22.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.876e-05/0.01422, allocations: 21.11 kB / 0.5516 GB, free: 22.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.01422, allocations: 0 / 0.5516 GB, free: 22.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.01422, allocations: 4 kB / 0.5516 GB, free: 22.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01423, allocations: 3.938 kB / 0.5516 GB, free: 22.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.01451, allocations: 360.8 kB / 0.5519 GB, free: 22.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01451, allocations: 0 / 0.5519 GB, free: 22.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.01464, allocations: 39.97 kB / 0.5519 GB, free: 22.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.774e-05/0.01466, allocations: 15.84 kB / 0.552 GB, free: 22.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.01466, allocations: 0 / 0.552 GB, free: 22.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.01467, allocations: 7.938 kB / 0.552 GB, free: 22.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.01467, allocations: 6.969 kB / 0.552 GB, free: 22.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01467, allocations: 0 / 0.552 GB, free: 22.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.01487, allocations: 335.4 kB / 0.5523 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.01489, allocations: 11.98 kB / 0.5523 GB, free: 22.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.617e-05/0.01499, allocations: 11.94 kB / 0.5523 GB, free: 22.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.01504, allocations: 20.02 kB / 0.5523 GB, free: 22.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.01505, allocations: 15.97 kB / 0.5524 GB, free: 21.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.539e-05/0.01508, allocations: 36.69 kB / 0.5524 GB, free: 21.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01508, allocations: 0 / 0.5524 GB, free: 21.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002317/0.01531, allocations: 44 kB / 0.5524 GB, free: 21.91 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.371e-05/0.0154, allocations: 88.34 kB / 0.5525 GB, free: 21.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001722/0.01557, allocations: 296.9 kB / 0.5528 GB, free: 21.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.01557, allocations: 8.062 kB / 0.5528 GB, free: 21.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.947e-05/0.01564, allocations: 141.9 kB / 0.5529 GB, free: 21.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.01589, allocations: 62.95 kB / 0.553 GB, free: 21.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005781/0.02168, allocations: 490 kB / 0.5535 GB, free: 20.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.382e-05/0.02171, allocations: 76.22 kB / 0.5535 GB, free: 20.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.132e-05/0.02177, allocations: 17.48 kB / 0.5536 GB, free: 20.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.02189, allocations: 99.34 kB / 0.5537 GB, free: 20.54 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.0219, allocations: 0 / 0.5537 GB, free: 20.54 MB / 410.7 MB Notification: Performance of Templates: time 0.005075/0.02697, allocations: 2.85 MB / 0.5564 GB, free: 17.78 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.291545195505023]