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.0006767/0.0006767, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009063/0.001583, 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.0006948/0.0006948, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008521/0.001547, 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.039/1.039, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1011/1.141, 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.8181/0.8181, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02793/0.846, allocations: 21.03 MB / 0.5431 GB, free: 31.98 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.184e-06/2.184e-06, allocations: 0 / 0.5445 GB, free: 30.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/2.078e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine): time 0.002414/0.002435, allocations: 2.487 MB / 0.5469 GB, free: 28.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009899/0.003425, allocations: 0.6271 MB / 0.5476 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.003537, allocations: 0 / 0.5476 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.258e-05/0.003609, allocations: 31.66 kB / 0.5476 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.003747, allocations: 79.33 kB / 0.5477 GB, free: 27.35 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.00389, allocations: 59.8 kB / 0.5477 GB, free: 27.29 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.004106, allocations: 262.6 kB / 0.548 GB, free: 27.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.004226, allocations: 46.47 kB / 0.548 GB, free: 26.99 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.004404, allocations: 168.3 kB / 0.5482 GB, free: 26.83 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.00456, allocations: 91.72 kB / 0.5483 GB, free: 26.74 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.004586, allocations: 16 kB / 0.5483 GB, free: 26.72 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.138e-05/0.004607, allocations: 16 kB / 0.5483 GB, free: 26.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.784e-05/0.004635, allocations: 27.88 kB / 0.5483 GB, free: 26.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.528e-05/0.00469, allocations: 63.88 kB / 0.5484 GB, free: 26.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.004851, allocations: 143.5 kB / 0.5485 GB, free: 26.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.622e-05/0.004867, allocations: 0 / 0.5485 GB, free: 26.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.004868, allocations: 0 / 0.5485 GB, free: 26.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.004881, allocations: 0 / 0.5485 GB, free: 26.48 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.0005852/0.005466, allocations: 0.5015 MB / 0.549 GB, free: 25.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.005501, allocations: 11.89 kB / 0.549 GB, free: 25.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.005548, allocations: 24.92 kB / 0.549 GB, free: 25.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.005719, allocations: 179 kB / 0.5492 GB, free: 25.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.00574, allocations: 15.8 kB / 0.5492 GB, free: 25.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.005764, allocations: 12.38 kB / 0.5492 GB, free: 25.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.005938, allocations: 159.5 kB / 0.5494 GB, free: 25.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.00595, allocations: 7.922 kB / 0.5494 GB, free: 25.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.005965, allocations: 4 kB / 0.5494 GB, free: 25.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.005971, allocations: 8 kB / 0.5494 GB, free: 25.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.933e-05/0.006051, allocations: 76.64 kB / 0.5495 GB, free: 25.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.006461, allocations: 361 kB / 0.5498 GB, free: 25.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.00665, allocations: 112.1 kB / 0.5499 GB, free: 24.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.85e-05/0.006688, allocations: 58.55 kB / 0.55 GB, free: 24.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.006699, allocations: 4 kB / 0.55 GB, free: 24.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.006854, allocations: 196.3 kB / 0.5502 GB, free: 24.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 3.216e-06/0.006857, allocations: 0 / 0.5502 GB, free: 24.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005906/0.007447, allocations: 0.5001 MB / 0.5507 GB, free: 24.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.007489, allocations: 132.5 kB / 0.5508 GB, free: 23.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.924e-05/0.007578, allocations: 214.1 kB / 0.551 GB, free: 23.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.00759, allocations: 33.7 kB / 0.551 GB, free: 23.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.573e-05/0.007626, allocations: 116.4 kB / 0.5511 GB, free: 23.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.007658, allocations: 71.42 kB / 0.5512 GB, free: 23.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.713e-05/0.007705, allocations: 59.16 kB / 0.5513 GB, free: 23.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.254e-05/0.007747, allocations: 334.8 kB / 0.5516 GB, free: 23.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.436e-05/0.007802, allocations: 93.02 kB / 0.5517 GB, free: 22.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-05/0.007872, allocations: 181.3 kB / 0.5518 GB, free: 22.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.007985, allocations: 207.8 kB / 0.552 GB, free: 22.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.007986, allocations: 0 / 0.552 GB, free: 22.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001527/0.008139, allocations: 262.1 kB / 0.5523 GB, free: 22.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/0.008175, allocations: 63.39 kB / 0.5524 GB, free: 22.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.008182, allocations: 6.594 kB / 0.5524 GB, free: 22.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.008196, allocations: 4 kB / 0.5524 GB, free: 22.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.008365, allocations: 76.11 kB / 0.5524 GB, free: 22.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.008369, allocations: 0 / 0.5524 GB, free: 22.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.653e-05/0.008445, allocations: 19.94 kB / 0.5525 GB, free: 22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.008456, allocations: 7.984 kB / 0.5525 GB, free: 22 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.008569, allocations: 172.5 kB / 0.5526 GB, free: 21.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.008594, allocations: 31.91 kB / 0.5527 GB, free: 21.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.826e-05/0.008632, allocations: 21.97 kB / 0.5527 GB, free: 21.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.008635, allocations: 0 / 0.5527 GB, free: 21.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.008638, allocations: 8 kB / 0.5527 GB, free: 21.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.008644, allocations: 3.984 kB / 0.5527 GB, free: 21.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.008947, allocations: 366.3 kB / 0.553 GB, free: 21.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.008952, allocations: 7.938 kB / 0.553 GB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.009093, allocations: 39.91 kB / 0.5531 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.009114, allocations: 15.86 kB / 0.5531 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.009117, allocations: 4 kB / 0.5531 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.009129, allocations: 7.984 kB / 0.5531 GB, free: 21.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.009131, allocations: 4 kB / 0.5531 GB, free: 21.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.009133, allocations: 4 kB / 0.5531 GB, free: 21.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.009321, allocations: 352.4 kB / 0.5535 GB, free: 20.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.009345, allocations: 8 kB / 0.5535 GB, free: 20.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.482e-05/0.009419, allocations: 11.98 kB / 0.5535 GB, free: 20.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.009467, allocations: 19.91 kB / 0.5535 GB, free: 20.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.009475, allocations: 7.938 kB / 0.5535 GB, free: 20.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.163e-05/0.009516, allocations: 65.95 kB / 0.5536 GB, free: 20.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009516, allocations: 0 / 0.5536 GB, free: 20.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001572/0.009674, allocations: 56 kB / 0.5536 GB, free: 20.73 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.938e-05/0.009763, allocations: 99.16 kB / 0.5537 GB, free: 20.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.009944, allocations: 308.5 kB / 0.554 GB, free: 20.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.00995, allocations: 7.938 kB / 0.554 GB, free: 20.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.49e-05/0.01002, allocations: 145.9 kB / 0.5542 GB, free: 20.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.01025, allocations: 82.41 kB / 0.5542 GB, free: 20.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005248/0.0155, allocations: 0.5697 MB / 0.5548 GB, free: 19.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.751e-05/0.01554, allocations: 84.27 kB / 0.5549 GB, free: 19.33 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.274e-05/0.01563, allocations: 29.97 kB / 0.5549 GB, free: 19.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.01576, allocations: 115.3 kB / 0.555 GB, free: 19.19 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01576, allocations: 0 / 0.555 GB, free: 19.19 MB / 410.7 MB Notification: Performance of Templates: time 0.005348/0.02111, allocations: 3.792 MB / 0.5587 GB, free: 15.5 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.498734639957547]