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.0006932/0.0006932, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008918/0.001585, allocations: 443.8 kB / 10.3 MB, free: 400 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.0007137/0.0007137, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000869/0.001583, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.9792/0.9792, allocations: 177.1 MB / 189.5 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09543/1.075, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.713/0.713, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02682/0.7398, allocations: 21.04 MB / 0.5431 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.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.583e-06/1.583e-06, allocations: 0 / 0.5444 GB, free: 30.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.335e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine): time 0.003003/0.003027, allocations: 2.486 MB / 0.5469 GB, free: 28.1 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.004039, allocations: 0.6232 MB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.621e-05/0.004136, allocations: 0 / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.298e-05/0.004219, allocations: 27.72 kB / 0.5475 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.004416, allocations: 83.27 kB / 0.5476 GB, free: 27.37 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.004587, allocations: 51.86 kB / 0.5476 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002816/0.004869, allocations: 266.6 kB / 0.5479 GB, free: 27.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.004996, allocations: 42.48 kB / 0.5479 GB, free: 27.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002449/0.005241, allocations: 180.2 kB / 0.5481 GB, free: 26.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.005435, allocations: 87.72 kB / 0.5482 GB, free: 26.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.601e-05/0.005471, allocations: 16 kB / 0.5482 GB, free: 26.74 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.759e-05/0.005508, allocations: 16 kB / 0.5482 GB, free: 26.72 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.413e-05/0.005542, allocations: 27.88 kB / 0.5482 GB, free: 26.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.938e-05/0.005622, allocations: 63.88 kB / 0.5483 GB, free: 26.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.00584, allocations: 143.4 kB / 0.5484 GB, free: 26.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.725e-05/0.005857, allocations: 0 / 0.5484 GB, free: 26.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.005858, allocations: 0 / 0.5484 GB, free: 26.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.005873, allocations: 0 / 0.5484 GB, free: 26.49 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.0006997/0.006573, allocations: 0.4976 MB / 0.5489 GB, free: 25.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.006609, allocations: 11.89 kB / 0.5489 GB, free: 25.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.527e-05/0.006674, allocations: 28.91 kB / 0.549 GB, free: 25.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.006871, allocations: 175.1 kB / 0.5491 GB, free: 25.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.006899, allocations: 12.61 kB / 0.5491 GB, free: 25.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.006929, allocations: 12.38 kB / 0.5491 GB, free: 25.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.007165, allocations: 163.4 kB / 0.5493 GB, free: 25.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.007179, allocations: 4 kB / 0.5493 GB, free: 25.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.007193, allocations: 0 / 0.5493 GB, free: 25.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.0072, allocations: 4 kB / 0.5493 GB, free: 25.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.007313, allocations: 80.64 kB / 0.5494 GB, free: 25.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005089/0.007822, allocations: 360.9 kB / 0.5497 GB, free: 25.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.008057, allocations: 108.1 kB / 0.5498 GB, free: 24.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.954e-05/0.008117, allocations: 66.47 kB / 0.5499 GB, free: 24.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.008128, allocations: 8 kB / 0.5499 GB, free: 24.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000188/0.008316, allocations: 201.7 kB / 0.5501 GB, free: 24.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.903e-06/0.008318, allocations: 0 / 0.5501 GB, free: 24.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007318/0.00905, allocations: 0.4977 MB / 0.5506 GB, free: 24.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.00909, allocations: 136.5 kB / 0.5507 GB, free: 23.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.009206, allocations: 202.1 kB / 0.5509 GB, free: 23.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.009225, allocations: 33.7 kB / 0.5509 GB, free: 23.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.009273, allocations: 124.4 kB / 0.5511 GB, free: 23.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.009318, allocations: 67.42 kB / 0.5511 GB, free: 23.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.806e-05/0.009386, allocations: 59.17 kB / 0.5512 GB, free: 23.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.307e-05/0.009429, allocations: 338.8 kB / 0.5515 GB, free: 23.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.068e-05/0.00951, allocations: 93 kB / 0.5516 GB, free: 22.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.065e-05/0.009601, allocations: 177.3 kB / 0.5518 GB, free: 22.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.00975, allocations: 215.4 kB / 0.552 GB, free: 22.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.009752, allocations: 0 / 0.552 GB, free: 22.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002383/0.00999, allocations: 267.5 kB / 0.5522 GB, free: 22.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.24e-05/0.01003, allocations: 63.39 kB / 0.5523 GB, free: 22.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.01004, allocations: 4 kB / 0.5523 GB, free: 22.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.01005, allocations: 3.938 kB / 0.5523 GB, free: 22.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.01029, allocations: 64.19 kB / 0.5523 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-06/0.0103, allocations: 3.938 kB / 0.5524 GB, free: 22.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.01044, allocations: 23.92 kB / 0.5524 GB, free: 22.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.01046, allocations: 8 kB / 0.5524 GB, free: 22.01 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.0001488/0.01061, allocations: 165.7 kB / 0.5525 GB, free: 21.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.01064, allocations: 27.97 kB / 0.5526 GB, free: 21.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.951e-05/0.01068, allocations: 17.97 kB / 0.5526 GB, free: 21.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.01069, allocations: 8 kB / 0.5526 GB, free: 21.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.01069, allocations: 0 / 0.5526 GB, free: 21.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.01069, allocations: 7.922 kB / 0.5526 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003647/0.01106, allocations: 374.2 kB / 0.553 GB, free: 21.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.01106, allocations: 7.938 kB / 0.553 GB, free: 21.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.01126, allocations: 35.97 kB / 0.553 GB, free: 21.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.272e-05/0.01129, allocations: 23.84 kB / 0.553 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.0113, allocations: 0 / 0.553 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.01132, allocations: 7.984 kB / 0.553 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.01132, allocations: 8 kB / 0.553 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01132, allocations: 0 / 0.553 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.0116, allocations: 347.8 kB / 0.5534 GB, free: 20.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.01163, allocations: 8 kB / 0.5534 GB, free: 20.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.01176, allocations: 19.05 kB / 0.5534 GB, free: 20.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.01181, allocations: 15.97 kB / 0.5534 GB, free: 20.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.01183, allocations: 7.938 kB / 0.5534 GB, free: 20.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.191e-05/0.01189, allocations: 65.95 kB / 0.5535 GB, free: 20.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01189, allocations: 0 / 0.5535 GB, free: 20.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003236/0.01221, allocations: 52 kB / 0.5535 GB, free: 20.75 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 0.0001095/0.01232, allocations: 95.17 kB / 0.5536 GB, free: 20.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002351/0.01256, allocations: 312.5 kB / 0.5539 GB, free: 20.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.01256, allocations: 4 kB / 0.5539 GB, free: 20.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.216e-05/0.01262, allocations: 141.9 kB / 0.5541 GB, free: 20.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.01289, allocations: 89.09 kB / 0.5541 GB, free: 20.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005527/0.01842, allocations: 0.5867 MB / 0.5547 GB, free: 19.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.505e-05/0.01848, allocations: 125.6 kB / 0.5548 GB, free: 19.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.01863, allocations: 119.3 kB / 0.5549 GB, free: 19.18 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/0.01864, allocations: 0 / 0.5549 GB, free: 19.18 MB / 410.7 MB Notification: Performance of Templates: time 0.002672/0.02131, allocations: 2.918 MB / 0.5578 GB, free: 16.29 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 > Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.04472738225013]