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.001487/0.001487, allocations: 104.3 kB / 19.71 MB, free: 440 kB / 13.93 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.001407/0.001407, allocations: 217.3 kB / 23 MB, free: 2.965 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.027/1.027, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.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.7575/0.7575, allocations: 312.3 MB / 0.6109 GB, free: 97.12 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 73.94 kB / 0.7699 GB, free: 19.62 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1275, allocations: 73.98 MB / 0.8422 GB, free: 9.762 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol): time 0.002908/0.1304, allocations: 2.707 MB / 0.8448 GB, free: 7.055 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005234/0.1356, allocations: 6.602 MB / 0.8513 GB, free: 464 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.1357, allocations: 3.938 kB / 0.8513 GB, free: 460 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.1359, allocations: 36.36 kB / 0.8513 GB, free: 424 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002213/0.1361, allocations: 124.2 kB / 0.8514 GB, free: 300 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.1363, allocations: 68.34 kB / 0.8515 GB, free: 232 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002993/0.1366, allocations: 378.8 kB / 0.8519 GB, free: 15.86 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.1367, allocations: 60.62 kB / 0.8519 GB, free: 15.8 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.1369, allocations: 139.5 kB / 0.8521 GB, free: 15.66 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.1371, allocations: 131.9 kB / 0.8522 GB, free: 15.54 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.211e-05/0.1371, allocations: 28.7 kB / 0.8522 GB, free: 15.51 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.412e-05/0.1371, allocations: 24 kB / 0.8522 GB, free: 15.48 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.19e-05/0.1372, allocations: 60.41 kB / 0.8523 GB, free: 15.43 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.897e-05/0.1373, allocations: 135.4 kB / 0.8524 GB, free: 15.29 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.1375, allocations: 291.5 kB / 0.8527 GB, free: 15.01 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1375, allocations: 0 / 0.8527 GB, free: 15.01 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1375, allocations: 0.5625 kB / 0.8527 GB, free: 15.01 MB / 490.8 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.1375, allocations: 4.5 kB / 0.8527 GB, free: 15 MB / 490.8 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.0007618/0.1383, allocations: 0.5979 MB / 0.8533 GB, free: 14.36 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1383, allocations: 8.688 kB / 0.8533 GB, free: 14.35 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.541e-05/0.1384, allocations: 32.75 kB / 0.8533 GB, free: 14.32 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.1386, allocations: 213.7 kB / 0.8535 GB, free: 14.08 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.1387, allocations: 17.31 kB / 0.8535 GB, free: 14.07 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.683e-05/0.1387, allocations: 27.92 kB / 0.8536 GB, free: 14.04 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003231/0.139, allocations: 288.6 kB / 0.8538 GB, free: 13.73 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.139, allocations: 8.672 kB / 0.8539 GB, free: 13.73 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.139, allocations: 8.531 kB / 0.8539 GB, free: 13.72 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1391, allocations: 7.938 kB / 0.8539 GB, free: 13.71 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002692/0.1393, allocations: 229.6 kB / 0.8541 GB, free: 13.48 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007788/0.1401, allocations: 0.6774 MB / 0.8547 GB, free: 12.76 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003565/0.1405, allocations: 237.8 kB / 0.855 GB, free: 12.5 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.1406, allocations: 153 kB / 0.8551 GB, free: 12.34 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.1406, allocations: 4.594 kB / 0.8551 GB, free: 12.34 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2597/0.4003, allocations: 354.8 kB / 0.8555 GB, free: 21.24 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 2.645e-06/0.4003, allocations: 0.875 kB / 0.8555 GB, free: 21.24 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001312/0.4016, allocations: 1.077 MB / 0.8565 GB, free: 20.75 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.4016, allocations: 220.7 kB / 0.8567 GB, free: 20.5 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.4018, allocations: 250.1 kB / 0.857 GB, free: 20.39 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.4018, allocations: 34.23 kB / 0.857 GB, free: 20.36 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.4019, allocations: 161.3 kB / 0.8571 GB, free: 20.27 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.936e-05/0.4019, allocations: 114.1 kB / 0.8573 GB, free: 20.21 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.761e-05/0.402, allocations: 74.34 kB / 0.8573 GB, free: 20.19 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.302e-05/0.402, allocations: 341.9 kB / 0.8577 GB, free: 19.88 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.4022, allocations: 209.3 kB / 0.8579 GB, free: 19.77 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.4024, allocations: 321.5 kB / 0.8582 GB, free: 19.54 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002924/0.4027, allocations: 429.7 kB / 0.8586 GB, free: 19.29 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4027, allocations: 5.844 kB / 0.8586 GB, free: 19.29 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000423/0.4031, allocations: 0.5506 MB / 0.8591 GB, free: 19.04 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.541e-05/0.4031, allocations: 93.64 kB / 0.8592 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.4031, allocations: 5.219 kB / 0.8592 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.4032, allocations: 3.156 kB / 0.8592 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.4033, allocations: 78.05 kB / 0.8593 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.4033, allocations: 8.75 kB / 0.8593 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.4035, allocations: 26.5 kB / 0.8593 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.4035, allocations: 18.72 kB / 0.8593 GB, free: 18.95 MB / 490.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.0001504/0.4036, allocations: 221 kB / 0.8595 GB, free: 18.77 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.4037, allocations: 32.12 kB / 0.8596 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.4037, allocations: 35.48 kB / 0.8596 GB, free: 18.74 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4037, allocations: 2.344 kB / 0.8596 GB, free: 18.74 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.4037, allocations: 3.375 kB / 0.8596 GB, free: 18.74 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.4037, allocations: 5.531 kB / 0.8596 GB, free: 18.74 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005955/0.4043, allocations: 0.7526 MB / 0.8604 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4043, allocations: 1.969 kB / 0.8604 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.4044, allocations: 56.45 kB / 0.8604 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.4044, allocations: 4 kB / 0.8604 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.4045, allocations: 12.3 kB / 0.8604 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.4045, allocations: 3.938 kB / 0.8604 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4045, allocations: 3.906 kB / 0.8604 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005204/0.405, allocations: 0.7271 MB / 0.8611 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.769e-05/0.405, allocations: 29.02 kB / 0.8612 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/0.405, allocations: 9.375 kB / 0.8612 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.84e-05/0.4051, allocations: 24.12 kB / 0.8612 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.157e-05/0.4052, allocations: 28.88 kB / 0.8612 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.4052, allocations: 10.19 kB / 0.8612 GB, free: 18.02 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001034/0.4053, allocations: 179.3 kB / 0.8614 GB, free: 17.93 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.4053, allocations: 3.438 kB / 0.8614 GB, free: 17.93 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002061/0.4055, allocations: 88.03 kB / 0.8615 GB, free: 17.93 MB / 490.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 8.168e-05/0.4056, allocations: 118.2 kB / 0.8616 GB, free: 17.85 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004046/0.406, allocations: 0.5688 MB / 0.8622 GB, free: 17.5 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.406, allocations: 0.5938 kB / 0.8622 GB, free: 17.5 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.4062, allocations: 299.2 kB / 0.8625 GB, free: 17.31 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.4065, allocations: 89.86 kB / 0.8625 GB, free: 17.31 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.4076, allocations: 0.9645 MB / 0.8635 GB, free: 16.82 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.4077, allocations: 159.6 kB / 0.8636 GB, free: 16.74 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.247e-05/0.4077, allocations: 31.42 kB / 0.8637 GB, free: 16.73 MB / 490.8 MB Notification: Performance of SimCode: time 4.71e-07/0.4077, allocations: 0 / 0.8637 GB, free: 16.73 MB / 490.8 MB Notification: Performance of Templates: time 0.004918/0.4127, allocations: 4.016 MB / 0.8676 GB, free: 16.39 MB / 490.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 > Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.066174547187984]