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.001123/0.001123, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0015/0.002623, allocations: 455.9 kB / 10.35 MB, free: 348 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.0009168/0.0009168, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001245/0.002162, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.106/1.106, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1066/1.213, allocations: 53.67 MB / 243.3 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.885/0.885, allocations: 291.2 MB / 0.5227 GB, free: 52.71 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03458/0.9196, allocations: 21.05 MB / 0.5432 GB, free: 31.72 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 1.813e-06/1.813e-06, allocations: 0 / 0.5446 GB, free: 30.35 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.197e-05, allocations: 10.19 kB / 0.5446 GB, free: 30.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine): time 0.002679/0.002701, allocations: 2.497 MB / 0.547 GB, free: 27.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000847/0.003548, allocations: 0.6232 MB / 0.5477 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.164e-05/0.003639, allocations: 7.938 kB / 0.5477 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.744e-05/0.003717, allocations: 27.72 kB / 0.5477 GB, free: 27.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.003879, allocations: 79.33 kB / 0.5478 GB, free: 27.1 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001499/0.004028, allocations: 59.8 kB / 0.5478 GB, free: 27.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002409/0.004269, allocations: 266.6 kB / 0.5481 GB, free: 26.78 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.004405, allocations: 38.48 kB / 0.5481 GB, free: 26.74 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.004599, allocations: 172.2 kB / 0.5483 GB, free: 26.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.004771, allocations: 91.7 kB / 0.5484 GB, free: 26.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.004799, allocations: 16 kB / 0.5484 GB, free: 26.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.045e-05/0.004829, allocations: 20 kB / 0.5484 GB, free: 26.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.816e-05/0.004857, allocations: 23.88 kB / 0.5484 GB, free: 26.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.152e-05/0.004929, allocations: 63.88 kB / 0.5485 GB, free: 26.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.005121, allocations: 139.5 kB / 0.5486 GB, free: 26.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.529e-05/0.005136, allocations: 0 / 0.5486 GB, free: 26.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.005137, allocations: 0 / 0.5486 GB, free: 26.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.705e-05/0.005154, allocations: 0 / 0.5486 GB, free: 26.23 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.0006472/0.005801, allocations: 0.5015 MB / 0.5491 GB, free: 25.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.005838, allocations: 11.89 kB / 0.5491 GB, free: 25.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.005881, allocations: 20.92 kB / 0.5491 GB, free: 25.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.006032, allocations: 187 kB / 0.5493 GB, free: 25.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.006053, allocations: 8.609 kB / 0.5493 GB, free: 25.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.006078, allocations: 12.38 kB / 0.5493 GB, free: 25.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.006242, allocations: 167.4 kB / 0.5495 GB, free: 25.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.006259, allocations: 0 / 0.5495 GB, free: 25.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.00627, allocations: 8 kB / 0.5495 GB, free: 25.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.006275, allocations: 3.938 kB / 0.5495 GB, free: 25.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.951e-05/0.006355, allocations: 76.7 kB / 0.5496 GB, free: 25.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.00675, allocations: 369 kB / 0.5499 GB, free: 24.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.006921, allocations: 112 kB / 0.55 GB, free: 24.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.006956, allocations: 54.56 kB / 0.5501 GB, free: 24.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.006964, allocations: 4 kB / 0.5501 GB, free: 24.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.007122, allocations: 192.4 kB / 0.5503 GB, free: 24.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.744e-06/0.007124, allocations: 0 / 0.5503 GB, free: 24.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005807/0.007704, allocations: 0.5094 MB / 0.5508 GB, free: 23.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.007755, allocations: 166.2 kB / 0.5509 GB, free: 23.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.394e-05/0.007849, allocations: 206.1 kB / 0.5511 GB, free: 23.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.007862, allocations: 37.64 kB / 0.5512 GB, free: 23.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.915e-05/0.007901, allocations: 112.4 kB / 0.5513 GB, free: 23.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.007937, allocations: 79.39 kB / 0.5513 GB, free: 23.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.007984, allocations: 47.19 kB / 0.5514 GB, free: 23.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.489e-05/0.008029, allocations: 338.8 kB / 0.5517 GB, free: 22.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.516e-05/0.008084, allocations: 93 kB / 0.5518 GB, free: 22.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.788e-05/0.008152, allocations: 175.7 kB / 0.552 GB, free: 22.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.008261, allocations: 211.8 kB / 0.5522 GB, free: 22.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.008265, allocations: 7.984 kB / 0.5522 GB, free: 22.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001666/0.008432, allocations: 265.9 kB / 0.5524 GB, free: 21.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.893e-05/0.008481, allocations: 59.41 kB / 0.5525 GB, free: 21.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.008488, allocations: 4 kB / 0.5525 GB, free: 21.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.008501, allocations: 4 kB / 0.5525 GB, free: 21.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.008685, allocations: 71.83 kB / 0.5526 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.00869, allocations: 4 kB / 0.5526 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.462e-05/0.008764, allocations: 19.92 kB / 0.5526 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.008774, allocations: 4 kB / 0.5526 GB, free: 21.71 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 0.0001128/0.008887, allocations: 184.6 kB / 0.5528 GB, free: 21.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.008907, allocations: 19.98 kB / 0.5528 GB, free: 21.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.107e-05/0.008938, allocations: 25.95 kB / 0.5528 GB, free: 21.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.008939, allocations: 4 kB / 0.5528 GB, free: 21.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.008941, allocations: 0 / 0.5528 GB, free: 21.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.008945, allocations: 0 / 0.5528 GB, free: 21.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.009201, allocations: 382.2 kB / 0.5532 GB, free: 21.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.009204, allocations: 3.938 kB / 0.5532 GB, free: 21.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.00933, allocations: 39.97 kB / 0.5532 GB, free: 21.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.967e-05/0.00935, allocations: 19.86 kB / 0.5532 GB, free: 20.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.009353, allocations: 0 / 0.5532 GB, free: 20.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.009365, allocations: 8 kB / 0.5532 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.009367, allocations: 0 / 0.5532 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.009369, allocations: 0 / 0.5532 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.009561, allocations: 359.2 kB / 0.5536 GB, free: 20.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.009583, allocations: 8 kB / 0.5536 GB, free: 20.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-05/0.009654, allocations: 7.984 kB / 0.5536 GB, free: 20.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.009703, allocations: 23.97 kB / 0.5536 GB, free: 20.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.009715, allocations: 15.92 kB / 0.5536 GB, free: 20.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.104e-05/0.009756, allocations: 61.94 kB / 0.5537 GB, free: 20.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.009756, allocations: 0 / 0.5537 GB, free: 20.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001504/0.009906, allocations: 56 kB / 0.5538 GB, free: 20.43 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 9.143e-05/0.009998, allocations: 98.94 kB / 0.5538 GB, free: 20.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.01017, allocations: 309.1 kB / 0.5541 GB, free: 19.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.01018, allocations: 8.094 kB / 0.5542 GB, free: 19.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.056e-05/0.01025, allocations: 153.8 kB / 0.5543 GB, free: 19.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.01049, allocations: 80.81 kB / 0.5544 GB, free: 19.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005241/0.01573, allocations: 0.5627 MB / 0.5549 GB, free: 19.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.444e-05/0.01578, allocations: 76.33 kB / 0.555 GB, free: 19.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.01589, allocations: 29.97 kB / 0.555 GB, free: 19.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.01604, allocations: 111.3 kB / 0.5551 GB, free: 18.9 MB / 410.7 MB Notification: Performance of SimCode: time 2.295e-06/0.01604, allocations: 3.938 kB / 0.5551 GB, free: 18.9 MB / 410.7 MB Notification: Performance of Templates: time 0.005849/0.02189, allocations: 3.784 MB / 0.5588 GB, free: 15.21 MB / 410.7 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.707181808538735]