Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen.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.0006199/0.0006199, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008004/0.00142, 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.0006601/0.0006601, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008264/0.001487, 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 1.052/1.052, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09292/1.145, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.768/0.768, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03422/0.8023, allocations: 21.05 MB / 0.5432 GB, free: 31.96 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.DevModels.SingleDoseLumen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen") translateModel(Pharmacolibrary.DevModels.SingleDoseLumen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.5444 GB, free: 30.71 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.409e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.SingleDoseLumen): time 0.004267/0.004291, allocations: 3.041 MB / 0.5474 GB, free: 27.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.005797, allocations: 0.7593 MB / 0.5481 GB, free: 26.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.00592, allocations: 4 kB / 0.5481 GB, free: 26.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.148e-05/0.006011, allocations: 43.56 kB / 0.5481 GB, free: 26.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002756/0.006287, allocations: 119 kB / 0.5483 GB, free: 26.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.006549, allocations: 99.73 kB / 0.5484 GB, free: 26.63 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003717/0.006921, allocations: 421.9 kB / 0.5488 GB, free: 26.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000383/0.007304, allocations: 230.6 kB / 0.549 GB, free: 25.99 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003857/0.007689, allocations: 281.4 kB / 0.5492 GB, free: 25.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.00794, allocations: 143.6 kB / 0.5494 GB, free: 25.58 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.109e-05/0.008002, allocations: 36 kB / 0.5494 GB, free: 25.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.497e-05/0.008057, allocations: 32 kB / 0.5494 GB, free: 25.51 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.417e-05/0.008111, allocations: 55.81 kB / 0.5495 GB, free: 25.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.008235, allocations: 111.8 kB / 0.5496 GB, free: 25.35 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003082/0.008544, allocations: 243.2 kB / 0.5498 GB, free: 25.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.748e-05/0.008561, allocations: 4 kB / 0.5498 GB, free: 25.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.008562, allocations: 0 / 0.5498 GB, free: 25.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.056e-05/0.008582, allocations: 0 / 0.5498 GB, free: 25.11 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009257/0.009508, allocations: 0.6199 MB / 0.5505 GB, free: 24.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.009542, allocations: 8.031 kB / 0.5505 GB, free: 24.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.602e-05/0.009628, allocations: 40.91 kB / 0.5505 GB, free: 24.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.009872, allocations: 182.1 kB / 0.5507 GB, free: 24.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.009904, allocations: 21.03 kB / 0.5507 GB, free: 24.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.15e-05/0.009955, allocations: 32.38 kB / 0.5507 GB, free: 24.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004059/0.01036, allocations: 331 kB / 0.551 GB, free: 23.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.01038, allocations: 192 / 0.551 GB, free: 23.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.01041, allocations: 16.36 kB / 0.5511 GB, free: 23.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.01042, allocations: 7.938 kB / 0.5511 GB, free: 23.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002113/0.01063, allocations: 135 kB / 0.5512 GB, free: 23.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.01176, allocations: 0.5982 MB / 0.5518 GB, free: 23.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003681/0.01213, allocations: 152.1 kB / 0.5519 GB, free: 22.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.827e-05/0.01223, allocations: 74.53 kB / 0.552 GB, free: 22.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.01226, allocations: 4 kB / 0.552 GB, free: 22.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002339/0.01249, allocations: 222.2 kB / 0.5522 GB, free: 22.51 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000181/0.01267, allocations: 39.83 kB / 0.5522 GB, free: 22.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 2.174e-06/0.01267, allocations: 0 / 0.5522 GB, free: 22.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.000953/0.01363, allocations: 0.6006 MB / 0.5528 GB, free: 21.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.01367, allocations: 140.5 kB / 0.553 GB, free: 21.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.01378, allocations: 187.5 kB / 0.5531 GB, free: 21.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.0138, allocations: 33.7 kB / 0.5532 GB, free: 21.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.01386, allocations: 157.8 kB / 0.5533 GB, free: 21.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.428e-05/0.01392, allocations: 111.1 kB / 0.5534 GB, free: 21.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.55e-05/0.01401, allocations: 73.42 kB / 0.5535 GB, free: 21.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.082e-05/0.01406, allocations: 338.8 kB / 0.5538 GB, free: 20.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.01423, allocations: 113.7 kB / 0.5539 GB, free: 20.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.0144, allocations: 211.3 kB / 0.5541 GB, free: 20.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.01467, allocations: 275.1 kB / 0.5544 GB, free: 20.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.01467, allocations: 4 kB / 0.5544 GB, free: 20.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003494/0.01502, allocations: 324.7 kB / 0.5547 GB, free: 19.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.01505, allocations: 63.39 kB / 0.5548 GB, free: 19.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.01505, allocations: 7.938 kB / 0.5548 GB, free: 19.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.01506, allocations: 4 kB / 0.5548 GB, free: 19.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.01532, allocations: 120.1 kB / 0.5549 GB, free: 19.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.01533, allocations: 4 kB / 0.5549 GB, free: 19.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.659e-05/0.01542, allocations: 23.98 kB / 0.5549 GB, free: 19.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.01544, allocations: 8 kB / 0.5549 GB, free: 19.43 MB / 410.7 MB Warning: Assuming fixed start value for the following 3 variables: singleDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real GIT.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real artery.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 13 (GILumen.Cmin,$PRE.GILumen.Cmin,GILumen.Cmax,$PRE.GILumen.Cmax,GILumen.rising,$PRE.GILumen.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 (45): * Single equations (assignments): 43 * 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.0001139/0.01555, allocations: 179.8 kB / 0.5551 GB, free: 19.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.01558, allocations: 31.91 kB / 0.5551 GB, free: 19.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/0.01576, allocations: 232.3 kB / 0.5554 GB, free: 18.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.01577, allocations: 7.938 kB / 0.5554 GB, free: 18.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.01577, allocations: 0 / 0.5554 GB, free: 18.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.01577, allocations: 0 / 0.5554 GB, free: 18.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.01607, allocations: 443.1 kB / 0.5558 GB, free: 18.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01607, allocations: 3.938 kB / 0.5558 GB, free: 18.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.01623, allocations: 67.89 kB / 0.5559 GB, free: 18.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.557e-05/0.01625, allocations: 11.91 kB / 0.5559 GB, free: 18.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.01625, allocations: 4 kB / 0.5559 GB, free: 18.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.01627, allocations: 7.984 kB / 0.5559 GB, free: 18.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.01627, allocations: 4 kB / 0.5559 GB, free: 18.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.01627, allocations: 3.312 kB / 0.5559 GB, free: 18.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.01649, allocations: 411.3 kB / 0.5563 GB, free: 17.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.01652, allocations: 12 kB / 0.5563 GB, free: 17.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.786e-05/0.01661, allocations: 15.98 kB / 0.5563 GB, free: 17.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.01665, allocations: 31.88 kB / 0.5563 GB, free: 17.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.01666, allocations: 8 kB / 0.5563 GB, free: 17.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.59e-05/0.0167, allocations: 54.44 kB / 0.5564 GB, free: 17.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0167, allocations: 0 / 0.5564 GB, free: 17.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001845/0.01688, allocations: 80 kB / 0.5565 GB, free: 17.76 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (singleDose.TotalCumulativeMass,GILumen.C,GILumen.AUC,GIT.M,GIT.AUC,artery.M,artery.AUC) * Number of discrete variables: 8 ($whenCondition3,$whenCondition1,$whenCondition2,singleDose.pulse.T_start,singleDose.pulse.count,GILumen.Cmax,GILumen.Cmin,GILumen.rising) * Number of discrete states: 6 (singleDose.pulse.count,GILumen.Cmin,$whenCondition2,GILumen.Cmax,$whenCondition1,GILumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * 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 7.915e-05/0.01696, allocations: 92.41 kB / 0.5566 GB, free: 17.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.01718, allocations: 362.3 kB / 0.5569 GB, free: 17.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.01719, allocations: 0 / 0.5569 GB, free: 17.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.783e-05/0.01726, allocations: 169.8 kB / 0.5571 GB, free: 17.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.0175, allocations: 109.6 kB / 0.5572 GB, free: 16.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007895/0.0254, allocations: 0.694 MB / 0.5578 GB, free: 16.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.71e-05/0.02544, allocations: 90.83 kB / 0.5579 GB, free: 16.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.994e-05/0.02554, allocations: 42.27 kB / 0.558 GB, free: 16.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.02569, allocations: 123.3 kB / 0.5581 GB, free: 15.98 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/0.02569, allocations: 0 / 0.5581 GB, free: 15.98 MB / 410.7 MB Notification: Performance of Templates: time 0.2145/0.2401, allocations: 4.694 MB / 0.5627 GB, free: 84.68 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.SingleDoseLumen.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.110518428497016]