Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol.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.001093/0.001093, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001465/0.002558, 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.001064/0.001064, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001444/0.002509, 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.031/1.031, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09462/1.125, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.7724/0.7724, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02726/0.7997, allocations: 21.04 MB / 0.5431 GB, free: 31.94 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.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol") translateModel(Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.746e-06/1.012e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.53 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol): time 0.002212/0.002222, allocations: 2.953 MB / 0.5474 GB, free: 27.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003986/0.006208, allocations: 6.77 MB / 0.554 GB, free: 20.78 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.006324, allocations: 7.938 kB / 0.554 GB, free: 20.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.286e-05/0.006397, allocations: 35.62 kB / 0.5541 GB, free: 20.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001814/0.006578, allocations: 131 kB / 0.5542 GB, free: 20.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.006742, allocations: 75.83 kB / 0.5543 GB, free: 20.53 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.006975, allocations: 393.9 kB / 0.5546 GB, free: 20.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.007091, allocations: 58.8 kB / 0.5547 GB, free: 20.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.007283, allocations: 246.5 kB / 0.5549 GB, free: 19.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.007446, allocations: 127.6 kB / 0.5551 GB, free: 19.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.007474, allocations: 24 kB / 0.5551 GB, free: 19.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.752e-05/0.007501, allocations: 24 kB / 0.5551 GB, free: 19.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.103e-05/0.007532, allocations: 43.81 kB / 0.5551 GB, free: 19.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.177e-05/0.007604, allocations: 95.81 kB / 0.5552 GB, free: 19.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.007795, allocations: 199.3 kB / 0.5554 GB, free: 19.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.39e-05/0.007809, allocations: 0 / 0.5554 GB, free: 19.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.007809, allocations: 0 / 0.5554 GB, free: 19.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.007825, allocations: 0 / 0.5554 GB, free: 19.35 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006147/0.008439, allocations: 0.6282 MB / 0.556 GB, free: 18.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.00847, allocations: 15.89 kB / 0.5561 GB, free: 18.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.008521, allocations: 40.91 kB / 0.5561 GB, free: 18.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.008684, allocations: 196.2 kB / 0.5563 GB, free: 18.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.008706, allocations: 24.72 kB / 0.5563 GB, free: 18.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.008733, allocations: 24.33 kB / 0.5563 GB, free: 18.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.008924, allocations: 240.1 kB / 0.5566 GB, free: 18.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.008936, allocations: 4 kB / 0.5566 GB, free: 18.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.008949, allocations: 4 kB / 0.5566 GB, free: 18.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.008956, allocations: 11.98 kB / 0.5566 GB, free: 18.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.009065, allocations: 141.8 kB / 0.5567 GB, free: 17.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005171/0.009582, allocations: 0.5038 MB / 0.5572 GB, free: 17.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.00975, allocations: 150.2 kB / 0.5573 GB, free: 17.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.9e-05/0.009799, allocations: 108.5 kB / 0.5574 GB, free: 17.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.009811, allocations: 7.938 kB / 0.5575 GB, free: 17.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.009972, allocations: 319.3 kB / 0.5578 GB, free: 16.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.543e-06/0.009974, allocations: 0 / 0.5578 GB, free: 16.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006479/0.01062, allocations: 0.8014 MB / 0.5585 GB, free: 15.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.01066, allocations: 221.6 kB / 0.5588 GB, free: 15.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.594e-05/0.01076, allocations: 233 kB / 0.559 GB, free: 15.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.01077, allocations: 33.7 kB / 0.559 GB, free: 15.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.414e-05/0.01081, allocations: 133.3 kB / 0.5591 GB, free: 15.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.499e-05/0.01085, allocations: 123 kB / 0.5593 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.493e-05/0.01091, allocations: 74.11 kB / 0.5593 GB, free: 14.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.3033/0.3142, allocations: 347.6 kB / 0.5597 GB, free: 79.51 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.3143, allocations: 141.1 kB / 0.5598 GB, free: 79.41 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.613e-05/0.3144, allocations: 248.5 kB / 0.56 GB, free: 79.18 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.3146, allocations: 340.4 kB / 0.5604 GB, free: 78.93 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3146, allocations: 1.094 kB / 0.5604 GB, free: 78.93 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003101/0.3149, allocations: 388.5 kB / 0.5607 GB, free: 78.7 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.066e-05/0.315, allocations: 89.92 kB / 0.5608 GB, free: 78.61 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.315, allocations: 3.969 kB / 0.5608 GB, free: 78.61 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.315, allocations: 4.5 kB / 0.5608 GB, free: 78.61 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/0.3153, allocations: 112.9 kB / 0.5609 GB, free: 78.61 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.3153, allocations: 8.531 kB / 0.5609 GB, free: 78.61 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.3154, allocations: 20.5 kB / 0.561 GB, free: 78.61 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.3155, allocations: 17.14 kB / 0.561 GB, free: 78.61 MB / 410.8 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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 3 * 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.0001781/0.3156, allocations: 207.4 kB / 0.5612 GB, free: 78.43 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.183e-05/0.3157, allocations: 33.88 kB / 0.5612 GB, free: 78.43 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.494e-05/0.3157, allocations: 38.83 kB / 0.5612 GB, free: 78.42 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3157, allocations: 3.875 kB / 0.5612 GB, free: 78.42 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3157, allocations: 0.75 kB / 0.5612 GB, free: 78.42 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3158, allocations: 2.875 kB / 0.5612 GB, free: 78.42 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004669/0.3162, allocations: 0.516 MB / 0.5617 GB, free: 78.11 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3162, allocations: 1.094 kB / 0.5617 GB, free: 78.11 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/0.3164, allocations: 69.12 kB / 0.5618 GB, free: 78.11 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.249e-05/0.3165, allocations: 28.39 kB / 0.5618 GB, free: 78.11 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.3165, allocations: 1.125 kB / 0.5618 GB, free: 78.11 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.3165, allocations: 14 kB / 0.5619 GB, free: 78.11 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.3165, allocations: 1.844 kB / 0.5619 GB, free: 78.11 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3165, allocations: 2.734 kB / 0.5619 GB, free: 78.11 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/0.3168, allocations: 0.5195 MB / 0.5624 GB, free: 77.78 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/0.3168, allocations: 15.45 kB / 0.5624 GB, free: 77.78 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.835e-05/0.3169, allocations: 11.59 kB / 0.5624 GB, free: 77.78 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.455e-05/0.317, allocations: 31.47 kB / 0.5624 GB, free: 77.78 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.317, allocations: 8.547 kB / 0.5624 GB, free: 77.78 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.198e-05/0.3171, allocations: 80.5 kB / 0.5625 GB, free: 77.77 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.3171, allocations: 0.75 kB / 0.5625 GB, free: 77.77 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001986/0.3173, allocations: 88.45 kB / 0.5626 GB, free: 77.77 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.207e-05/0.3174, allocations: 100.7 kB / 0.5627 GB, free: 77.7 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000279/0.3176, allocations: 491.3 kB / 0.5632 GB, free: 77.34 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.3177, allocations: 3.844 kB / 0.5632 GB, free: 77.34 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.3178, allocations: 258.9 kB / 0.5634 GB, free: 77.14 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.3181, allocations: 131.6 kB / 0.5635 GB, free: 77.14 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007381/0.3255, allocations: 0.7544 MB / 0.5643 GB, free: 76.78 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.926e-05/0.3255, allocations: 96.2 kB / 0.5644 GB, free: 76.71 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 9.307e-05/0.3256, allocations: 32.56 kB / 0.5644 GB, free: 76.7 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.3258, allocations: 149.2 kB / 0.5645 GB, free: 76.66 MB / 410.8 MB Notification: Performance of SimCode: time 7.01e-07/0.3258, allocations: 0 / 0.5645 GB, free: 76.66 MB / 410.8 MB Notification: Performance of Templates: time 0.007604/0.3334, allocations: 5.256 MB / 0.5697 GB, free: 75.59 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8006012430414557]