Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.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.00107/0.00107, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001573/0.002642, 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.0007716/0.0007716, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001071/0.001843, allocations: 475.6 kB / 11.8 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 1.029/1.029, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09266/1.122, 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.8205/0.8205, allocations: 291.1 MB / 0.5227 GB, free: 52.48 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03163/0.8521, allocations: 21.04 MB / 0.5433 GB, free: 31.5 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.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine") translateModel(Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.5447 GB, free: 30.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.27e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine): time 0.00281/0.002832, allocations: 2.491 MB / 0.5471 GB, free: 27.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008312/0.003664, allocations: 0.6188 MB / 0.5477 GB, free: 26.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.435e-05/0.003738, allocations: 7.938 kB / 0.5477 GB, free: 26.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.094e-05/0.003819, allocations: 31.7 kB / 0.5478 GB, free: 26.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.003965, allocations: 79.33 kB / 0.5478 GB, free: 26.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001318/0.004096, allocations: 51.88 kB / 0.5479 GB, free: 26.79 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.004281, allocations: 266.6 kB / 0.5481 GB, free: 26.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.004387, allocations: 50.45 kB / 0.5482 GB, free: 26.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.004556, allocations: 180.1 kB / 0.5484 GB, free: 26.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.004723, allocations: 91.72 kB / 0.5484 GB, free: 26.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.004749, allocations: 16 kB / 0.5485 GB, free: 26.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.908e-05/0.004778, allocations: 16 kB / 0.5485 GB, free: 26.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.416e-05/0.004812, allocations: 27.88 kB / 0.5485 GB, free: 26.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.409e-05/0.004876, allocations: 63.88 kB / 0.5486 GB, free: 26.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.005056, allocations: 135.5 kB / 0.5487 GB, free: 25.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.305e-05/0.005069, allocations: 0 / 0.5487 GB, free: 25.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.005071, allocations: 0 / 0.5487 GB, free: 25.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.005082, allocations: 0 / 0.5487 GB, free: 25.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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005512/0.005633, allocations: 0.4976 MB / 0.5492 GB, free: 25.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.005663, allocations: 11.89 kB / 0.5492 GB, free: 25.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.005709, allocations: 28.91 kB / 0.5492 GB, free: 25.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.005856, allocations: 179 kB / 0.5494 GB, free: 25.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.005879, allocations: 12.61 kB / 0.5494 GB, free: 25.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.005906, allocations: 12.38 kB / 0.5494 GB, free: 25.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.006073, allocations: 159.4 kB / 0.5496 GB, free: 24.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.006083, allocations: 3.984 kB / 0.5496 GB, free: 24.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.006094, allocations: 4 kB / 0.5496 GB, free: 24.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.0061, allocations: 8 kB / 0.5496 GB, free: 24.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.395e-05/0.006174, allocations: 74.34 kB / 0.5496 GB, free: 24.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003571/0.006531, allocations: 365 kB / 0.55 GB, free: 24.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.006693, allocations: 112 kB / 0.5501 GB, free: 24.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.59e-05/0.006729, allocations: 62.53 kB / 0.5502 GB, free: 24.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.006737, allocations: 4 kB / 0.5502 GB, free: 24.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001359/0.006873, allocations: 188.4 kB / 0.5503 GB, free: 24.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.302e-06/0.006874, allocations: 0 / 0.5503 GB, free: 24.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005145/0.007389, allocations: 0.5176 MB / 0.5508 GB, free: 23.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.007421, allocations: 166.2 kB / 0.551 GB, free: 23.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.027e-05/0.007512, allocations: 210.1 kB / 0.5512 GB, free: 23.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.007524, allocations: 33.7 kB / 0.5512 GB, free: 23.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.007559, allocations: 116.4 kB / 0.5514 GB, free: 22.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.007587, allocations: 71.41 kB / 0.5514 GB, free: 22.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/0.007639, allocations: 59.16 kB / 0.5515 GB, free: 22.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.874e-05/0.007688, allocations: 338.8 kB / 0.5518 GB, free: 22.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.568e-05/0.007743, allocations: 96.98 kB / 0.5519 GB, free: 22.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.035e-05/0.007824, allocations: 169.4 kB / 0.5521 GB, free: 22.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.007933, allocations: 215.7 kB / 0.5523 GB, free: 21.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.007935, allocations: 4.031 kB / 0.5523 GB, free: 21.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001544/0.008089, allocations: 262.7 kB / 0.5525 GB, free: 21.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.008121, allocations: 63.39 kB / 0.5526 GB, free: 21.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.008126, allocations: 4 kB / 0.5526 GB, free: 21.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.008136, allocations: 4 kB / 0.5526 GB, free: 21.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.00829, allocations: 64.11 kB / 0.5526 GB, free: 21.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.008295, allocations: 8 kB / 0.5526 GB, free: 21.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.624e-05/0.008371, allocations: 19.92 kB / 0.5527 GB, free: 21.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.008385, allocations: 12 kB / 0.5527 GB, free: 21.43 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * 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 9.674e-05/0.008481, allocations: 175.8 kB / 0.5528 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.008502, allocations: 19.98 kB / 0.5529 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.008529, allocations: 21.95 kB / 0.5529 GB, free: 21.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.008531, allocations: 4 kB / 0.5529 GB, free: 21.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.008533, allocations: 4 kB / 0.5529 GB, free: 21.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.008538, allocations: 0 / 0.5529 GB, free: 21.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.00878, allocations: 377.3 kB / 0.5533 GB, free: 20.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.008782, allocations: 3.938 kB / 0.5533 GB, free: 20.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.0089, allocations: 39.97 kB / 0.5533 GB, free: 20.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.025e-05/0.00892, allocations: 19.84 kB / 0.5533 GB, free: 20.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.008923, allocations: 3.938 kB / 0.5533 GB, free: 20.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.008936, allocations: 8 kB / 0.5533 GB, free: 20.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.008937, allocations: 0 / 0.5533 GB, free: 20.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.008939, allocations: 3.938 kB / 0.5533 GB, free: 20.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.009131, allocations: 349 kB / 0.5537 GB, free: 20.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.009156, allocations: 8 kB / 0.5537 GB, free: 20.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.147e-05/0.009227, allocations: 11.98 kB / 0.5537 GB, free: 20.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.009274, allocations: 19.97 kB / 0.5537 GB, free: 20.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.009283, allocations: 11.92 kB / 0.5537 GB, free: 20.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.472e-05/0.009328, allocations: 61.95 kB / 0.5538 GB, free: 20.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009328, allocations: 0 / 0.5538 GB, free: 20.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001528/0.009481, allocations: 56 kB / 0.5538 GB, free: 20.17 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * 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.201e-05/0.009563, allocations: 100.3 kB / 0.5539 GB, free: 20.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.009736, allocations: 300.6 kB / 0.5542 GB, free: 19.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.009743, allocations: 7.938 kB / 0.5542 GB, free: 19.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.35e-05/0.009816, allocations: 156.8 kB / 0.5544 GB, free: 19.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.01011, allocations: 0.508 MB / 0.5549 GB, free: 18.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00528/0.01538, allocations: 0.5582 MB / 0.5554 GB, free: 18.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.389e-05/0.01542, allocations: 84.25 kB / 0.5555 GB, free: 18.26 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.507e-05/0.01549, allocations: 21.95 kB / 0.5555 GB, free: 18.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.01563, allocations: 119.3 kB / 0.5556 GB, free: 18.12 MB / 410.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01563, allocations: 0 / 0.5556 GB, free: 18.12 MB / 410.7 MB Notification: Performance of Templates: time 0.2808/0.2964, allocations: 3.774 MB / 0.5593 GB, free: 84.69 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7464744485914707]