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.001208/0.001208, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001961/0.003168, allocations: 435.8 kB / 10.31 MB, free: 384 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.001237/0.001237, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001194/0.002431, allocations: 463.6 kB / 11.65 MB, free: 2.516 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.059/1.059, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08902/1.148, 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.7361/0.7361, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03254/0.7686, allocations: 21.04 MB / 0.5431 GB, free: 31.95 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.453e-06/1.453e-06, allocations: 0 / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.053e-05/2.198e-05, allocations: 10.19 kB / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol): time 0.002461/0.002482, allocations: 2.928 MB / 0.5474 GB, free: 27.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004259/0.006741, allocations: 6.774 MB / 0.554 GB, free: 20.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.006859, allocations: 4 kB / 0.554 GB, free: 20.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.848e-05/0.006937, allocations: 35.58 kB / 0.554 GB, free: 20.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.007112, allocations: 123 kB / 0.5541 GB, free: 20.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.007263, allocations: 75.83 kB / 0.5542 GB, free: 20.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.007506, allocations: 393.9 kB / 0.5546 GB, free: 20.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.007625, allocations: 70.78 kB / 0.5547 GB, free: 20.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002479/0.007873, allocations: 242.6 kB / 0.5549 GB, free: 19.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.00805, allocations: 127.6 kB / 0.555 GB, free: 19.76 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.00808, allocations: 24 kB / 0.555 GB, free: 19.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.032e-05/0.008111, allocations: 24 kB / 0.5551 GB, free: 19.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.117e-05/0.008142, allocations: 43.75 kB / 0.5551 GB, free: 19.67 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.242e-05/0.008214, allocations: 95.81 kB / 0.5552 GB, free: 19.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.008403, allocations: 199.3 kB / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.478e-05/0.008418, allocations: 0 / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.008419, allocations: 0 / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.00843, allocations: 0 / 0.5554 GB, free: 19.38 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.0005992/0.009029, allocations: 0.6321 MB / 0.556 GB, free: 18.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.009058, allocations: 11.89 kB / 0.556 GB, free: 18.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.328e-05/0.009111, allocations: 40.91 kB / 0.5561 GB, free: 18.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.00927, allocations: 193.5 kB / 0.5562 GB, free: 18.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/0.009301, allocations: 12.75 kB / 0.5562 GB, free: 18.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.009332, allocations: 28.33 kB / 0.5563 GB, free: 18.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.009548, allocations: 249.7 kB / 0.5565 GB, free: 18.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.009563, allocations: 3.984 kB / 0.5565 GB, free: 18.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.009577, allocations: 8 kB / 0.5565 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.009586, allocations: 7.984 kB / 0.5565 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.009693, allocations: 141.8 kB / 0.5567 GB, free: 17.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005141/0.01021, allocations: 0.5077 MB / 0.5572 GB, free: 17.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.01038, allocations: 150.2 kB / 0.5573 GB, free: 17.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.776e-05/0.01043, allocations: 104.5 kB / 0.5574 GB, free: 17.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.01044, allocations: 7.938 kB / 0.5574 GB, free: 17.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.0106, allocations: 319.3 kB / 0.5577 GB, free: 16.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.743e-06/0.0106, allocations: 0 / 0.5577 GB, free: 16.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006691/0.01127, allocations: 0.8092 MB / 0.5585 GB, free: 15.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.01132, allocations: 217.6 kB / 0.5587 GB, free: 15.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.757e-05/0.01141, allocations: 225 kB / 0.5589 GB, free: 15.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.01143, allocations: 33.7 kB / 0.559 GB, free: 15.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.247e-05/0.01147, allocations: 137.3 kB / 0.5591 GB, free: 15.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.074e-05/0.01152, allocations: 115 kB / 0.5592 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.421e-05/0.01159, allocations: 78.14 kB / 0.5593 GB, free: 15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2751/0.2867, allocations: 348.3 kB / 0.5596 GB, free: 79.55 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.2869, allocations: 141.1 kB / 0.5597 GB, free: 79.45 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.287, allocations: 253.3 kB / 0.56 GB, free: 79.23 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.2873, allocations: 342.5 kB / 0.5603 GB, free: 78.97 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.2873, allocations: 1.031 kB / 0.5603 GB, free: 78.97 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003881/0.2877, allocations: 387.8 kB / 0.5607 GB, free: 78.75 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.946e-05/0.2877, allocations: 90.83 kB / 0.5608 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.2877, allocations: 3.375 kB / 0.5608 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.2878, allocations: 5.062 kB / 0.5608 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003955/0.2882, allocations: 111.5 kB / 0.5609 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.2882, allocations: 6.531 kB / 0.5609 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.2883, allocations: 22.28 kB / 0.5609 GB, free: 78.66 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.2883, allocations: 13.98 kB / 0.5609 GB, free: 78.66 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.0002052/0.2885, allocations: 213.6 kB / 0.5611 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.953e-05/0.2886, allocations: 34.31 kB / 0.5612 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.802e-05/0.2887, allocations: 32.92 kB / 0.5612 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.2887, allocations: 5.031 kB / 0.5612 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.2887, allocations: 3.344 kB / 0.5612 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.2887, allocations: 1.781 kB / 0.5612 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000605/0.2893, allocations: 0.5154 MB / 0.5617 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2893, allocations: 0 / 0.5617 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002537/0.2895, allocations: 76.45 kB / 0.5618 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5e-05/0.2896, allocations: 25.09 kB / 0.5618 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.2896, allocations: 1.094 kB / 0.5618 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.2896, allocations: 10.58 kB / 0.5618 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.2896, allocations: 3.484 kB / 0.5618 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2896, allocations: 0 / 0.5618 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004326/0.29, allocations: 0.526 MB / 0.5623 GB, free: 77.83 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.465e-05/0.2901, allocations: 10.64 kB / 0.5623 GB, free: 77.83 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.2902, allocations: 15.42 kB / 0.5624 GB, free: 77.83 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.803e-05/0.2903, allocations: 27.58 kB / 0.5624 GB, free: 77.83 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.2903, allocations: 13.77 kB / 0.5624 GB, free: 77.83 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.785e-05/0.2904, allocations: 81.33 kB / 0.5625 GB, free: 77.82 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.2904, allocations: 0 / 0.5625 GB, free: 77.82 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002496/0.2907, allocations: 85.31 kB / 0.5626 GB, free: 77.82 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 0.0001321/0.2908, allocations: 105 kB / 0.5627 GB, free: 77.75 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003408/0.2911, allocations: 482.6 kB / 0.5631 GB, free: 77.39 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.2911, allocations: 6.094 kB / 0.5631 GB, free: 77.39 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.2913, allocations: 261.2 kB / 0.5634 GB, free: 77.19 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.2917, allocations: 129.1 kB / 0.5635 GB, free: 77.19 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007933/0.2996, allocations: 0.7464 MB / 0.5642 GB, free: 76.83 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.188e-05/0.2997, allocations: 95.98 kB / 0.5643 GB, free: 76.75 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.000158/0.2998, allocations: 39 kB / 0.5643 GB, free: 76.75 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/0.3, allocations: 146.9 kB / 0.5645 GB, free: 76.71 MB / 410.8 MB Notification: Performance of SimCode: time 1.072e-06/0.3, allocations: 0.6562 kB / 0.5645 GB, free: 76.71 MB / 410.8 MB Notification: Performance of Templates: time 0.008646/0.3087, allocations: 5.253 MB / 0.5696 GB, free: 75.64 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.8510204013437033]