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.0008621/0.0008621, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00136/0.002222, allocations: 440 kB / 10.41 MB, free: 284 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.0009466/0.0009466, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001104/0.00205, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.065/1.065, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09357/1.158, allocations: 53.66 MB / 243.4 MB, free: 15.49 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.7537/0.7537, allocations: 291.1 MB / 0.5227 GB, free: 52.46 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03269/0.7864, allocations: 21.04 MB / 0.5433 GB, free: 31.47 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.954e-06/1.954e-06, allocations: 0 / 0.5447 GB, free: 30.02 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.292e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.01 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol): time 0.003196/0.003219, allocations: 2.942 MB / 0.5476 GB, free: 27.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006043/0.009262, allocations: 6.79 MB / 0.5542 GB, free: 20.26 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002666/0.009528, allocations: 4 kB / 0.5542 GB, free: 20.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.009645, allocations: 35.58 kB / 0.5543 GB, free: 20.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002428/0.009888, allocations: 130.9 kB / 0.5544 GB, free: 20.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.01009, allocations: 71.84 kB / 0.5545 GB, free: 20.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003323/0.01042, allocations: 401.9 kB / 0.5548 GB, free: 19.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.01057, allocations: 62.8 kB / 0.5549 GB, free: 19.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002664/0.01084, allocations: 238.6 kB / 0.5551 GB, free: 19.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.01106, allocations: 123.7 kB / 0.5552 GB, free: 19.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.0111, allocations: 27.94 kB / 0.5553 GB, free: 19.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.454e-05/0.01115, allocations: 24 kB / 0.5553 GB, free: 19.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.647e-05/0.01119, allocations: 39.86 kB / 0.5553 GB, free: 19.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.01129, allocations: 95.81 kB / 0.5554 GB, free: 19.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.01157, allocations: 203.2 kB / 0.5556 GB, free: 18.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-05/0.01158, allocations: 0 / 0.5556 GB, free: 18.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.01158, allocations: 4 kB / 0.5556 GB, free: 18.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.0116, allocations: 0 / 0.5556 GB, free: 18.82 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.0008004/0.0124, allocations: 0.6282 MB / 0.5562 GB, free: 18.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.01244, allocations: 11.89 kB / 0.5562 GB, free: 18.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.081e-05/0.01251, allocations: 36.91 kB / 0.5563 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.01273, allocations: 193.5 kB / 0.5565 GB, free: 17.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.01276, allocations: 20.06 kB / 0.5565 GB, free: 17.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/0.0128, allocations: 28.33 kB / 0.5565 GB, free: 17.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.01307, allocations: 240.6 kB / 0.5567 GB, free: 17.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.01309, allocations: 4 kB / 0.5567 GB, free: 17.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.01311, allocations: 8 kB / 0.5567 GB, free: 17.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.01312, allocations: 8 kB / 0.5568 GB, free: 17.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.01326, allocations: 134.6 kB / 0.5569 GB, free: 17.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006601/0.01392, allocations: 0.5153 MB / 0.5574 GB, free: 16.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.01414, allocations: 159.2 kB / 0.5575 GB, free: 16.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.44e-05/0.0142, allocations: 100.5 kB / 0.5576 GB, free: 16.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.01422, allocations: 7.938 kB / 0.5576 GB, free: 16.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.01444, allocations: 315.4 kB / 0.5579 GB, free: 16.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.974e-06/0.01445, allocations: 0 / 0.5579 GB, free: 16.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009381/0.01538, allocations: 0.8273 MB / 0.5588 GB, free: 15.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.526e-05/0.01545, allocations: 273 kB / 0.559 GB, free: 14.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2763/0.2918, allocations: 226 kB / 0.5592 GB, free: 79.56 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.673e-05/0.2918, allocations: 35.52 kB / 0.5593 GB, free: 79.53 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/0.2919, allocations: 133.6 kB / 0.5594 GB, free: 79.45 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.037e-05/0.2919, allocations: 120.5 kB / 0.5595 GB, free: 79.4 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.603e-05/0.292, allocations: 73.33 kB / 0.5596 GB, free: 79.39 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.844e-05/0.2921, allocations: 348.1 kB / 0.5599 GB, free: 79.07 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.2922, allocations: 147.9 kB / 0.56 GB, free: 78.97 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.2923, allocations: 246.7 kB / 0.5603 GB, free: 78.74 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.2925, allocations: 348.6 kB / 0.5606 GB, free: 78.48 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2925, allocations: 1.219 kB / 0.5606 GB, free: 78.48 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003217/0.2928, allocations: 384.6 kB / 0.561 GB, free: 78.26 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.434e-05/0.2929, allocations: 95.16 kB / 0.5611 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.2929, allocations: 4.125 kB / 0.5611 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.2929, allocations: 4.188 kB / 0.5611 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.2932, allocations: 107.7 kB / 0.5612 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.2932, allocations: 5.812 kB / 0.5612 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.2934, allocations: 21.61 kB / 0.5612 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.2934, allocations: 14.59 kB / 0.5612 GB, free: 78.17 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.0001571/0.2935, allocations: 207.9 kB / 0.5614 GB, free: 77.99 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.391e-05/0.2936, allocations: 38.36 kB / 0.5615 GB, free: 77.99 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.577e-05/0.2936, allocations: 34.84 kB / 0.5615 GB, free: 77.98 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.2936, allocations: 4.406 kB / 0.5615 GB, free: 77.98 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2936, allocations: 0.8438 kB / 0.5615 GB, free: 77.98 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.2936, allocations: 1.219 kB / 0.5615 GB, free: 77.98 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004924/0.2941, allocations: 0.5197 MB / 0.562 GB, free: 77.67 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2941, allocations: 3 kB / 0.562 GB, free: 77.67 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.2944, allocations: 72.09 kB / 0.5621 GB, free: 77.67 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.098e-05/0.2944, allocations: 24.08 kB / 0.5621 GB, free: 77.65 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.2944, allocations: 2.844 kB / 0.5621 GB, free: 77.65 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.2944, allocations: 11.47 kB / 0.5621 GB, free: 77.65 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.2944, allocations: 1.703 kB / 0.5621 GB, free: 77.65 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2944, allocations: 1.969 kB / 0.5621 GB, free: 77.65 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.2948, allocations: 0.5237 MB / 0.5626 GB, free: 77.33 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.2948, allocations: 10.39 kB / 0.5626 GB, free: 77.33 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.2949, allocations: 17.69 kB / 0.5627 GB, free: 77.33 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.308e-05/0.295, allocations: 25.55 kB / 0.5627 GB, free: 77.33 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.295, allocations: 11.12 kB / 0.5627 GB, free: 77.33 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.064e-05/0.2951, allocations: 81.78 kB / 0.5628 GB, free: 77.32 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.2951, allocations: 0 / 0.5628 GB, free: 77.32 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002145/0.2953, allocations: 87.38 kB / 0.5629 GB, free: 77.32 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.0001086/0.2954, allocations: 99.83 kB / 0.5629 GB, free: 77.25 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002947/0.2957, allocations: 492.4 kB / 0.5634 GB, free: 76.89 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/0.2957, allocations: 7.844 kB / 0.5634 GB, free: 76.89 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.2959, allocations: 279.8 kB / 0.5637 GB, free: 76.69 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.2963, allocations: 0.6541 MB / 0.5643 GB, free: 76.05 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007366/0.3037, allocations: 0.7219 MB / 0.565 GB, free: 75.69 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.02e-05/0.3037, allocations: 97.91 kB / 0.5651 GB, free: 75.62 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001913/0.3039, allocations: 34.3 kB / 0.5652 GB, free: 75.61 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002415/0.3042, allocations: 152.9 kB / 0.5653 GB, free: 75.57 MB / 410.8 MB Notification: Performance of SimCode: time 1.874e-06/0.3042, allocations: 0 / 0.5653 GB, free: 75.57 MB / 410.8 MB Notification: Performance of Templates: time 0.007586/0.3117, allocations: 5.284 MB / 0.5705 GB, free: 74.45 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.823972584679723]