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.0009973/0.0009973, allocations: 92.48 kB / 19.94 MB, free: 4.594 MB / 18.57 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.0009976/0.0009976, allocations: 169.9 kB / 23.21 MB, free: 1.324 MB / 18.57 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.011/1.011, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.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.7351/0.7351, allocations: 291.2 MB / 0.5382 GB, free: 51.85 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.272e-06/1.272e-06, allocations: 0 / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.361e-05/1.488e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.V_Various.V08A_XRayContrastMediaIodinated.V08AB04_Iopamidol.Iopamidol): time 0.002034/0.002048, allocations: 2.712 MB / 0.7 GB, free: 7.648 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004101/0.00615, allocations: 6.608 MB / 0.7065 GB, free: 1.031 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.006251, allocations: 4 kB / 0.7065 GB, free: 1.027 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.006357, allocations: 39.56 kB / 0.7065 GB, free: 0.9883 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.006543, allocations: 130.9 kB / 0.7067 GB, free: 0.8594 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.006777, allocations: 63.91 kB / 0.7067 GB, free: 0.7969 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000227/0.007004, allocations: 385.9 kB / 0.7071 GB, free: 428 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.007127, allocations: 64.77 kB / 0.7071 GB, free: 368 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.007263, allocations: 211.5 kB / 0.7073 GB, free: 156 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.007431, allocations: 115.6 kB / 0.7075 GB, free: 40 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/0.007467, allocations: 24 kB / 0.7075 GB, free: 16 kB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.846e-05/0.007506, allocations: 24.05 kB / 0.7075 GB, free: 15.99 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 3.883e-05/0.007545, allocations: 63.64 kB / 0.7076 GB, free: 15.93 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 8.994e-05/0.007635, allocations: 111.8 kB / 0.7077 GB, free: 15.82 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.007861, allocations: 295.1 kB / 0.708 GB, free: 15.53 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.007863, allocations: 3.984 kB / 0.708 GB, free: 15.53 MB / 426.8 MB Notification: Performance of FrontEnd: time 8.92e-07/0.007864, allocations: 0 / 0.708 GB, free: 15.53 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.007869, allocations: 4 kB / 0.708 GB, free: 15.52 MB / 426.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.0007136/0.008582, allocations: 0.5885 MB / 0.7085 GB, free: 14.88 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.008615, allocations: 8.031 kB / 0.7085 GB, free: 14.88 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.549e-05/0.00867, allocations: 36.75 kB / 0.7086 GB, free: 14.84 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.008872, allocations: 224.6 kB / 0.7088 GB, free: 14.6 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.008888, allocations: 12.75 kB / 0.7088 GB, free: 14.59 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.008923, allocations: 24.38 kB / 0.7088 GB, free: 14.56 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.009248, allocations: 292.5 kB / 0.7091 GB, free: 14.25 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.009263, allocations: 7.953 kB / 0.7091 GB, free: 14.25 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.00928, allocations: 8 kB / 0.7091 GB, free: 14.24 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.009286, allocations: 4 kB / 0.7091 GB, free: 14.23 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002734/0.009559, allocations: 240.4 kB / 0.7094 GB, free: 13.98 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007886/0.01035, allocations: 0.664 MB / 0.71 GB, free: 13.28 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003441/0.01069, allocations: 246.9 kB / 0.7102 GB, free: 13.02 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.01084, allocations: 144.5 kB / 0.7104 GB, free: 12.86 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.01085, allocations: 11.94 kB / 0.7104 GB, free: 12.85 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002839/0.01113, allocations: 365.5 kB / 0.7107 GB, free: 12.45 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.503e-06/0.01114, allocations: 0 / 0.7107 GB, free: 12.45 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001319/0.01246, allocations: 1.091 MB / 0.7118 GB, free: 11.26 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.535e-05/0.01253, allocations: 213.6 kB / 0.712 GB, free: 11 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.01269, allocations: 249.9 kB / 0.7122 GB, free: 10.75 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.01271, allocations: 33.7 kB / 0.7123 GB, free: 10.71 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.454e-05/0.01279, allocations: 156.8 kB / 0.7124 GB, free: 10.55 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.455e-05/0.01284, allocations: 119.1 kB / 0.7125 GB, free: 10.44 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-05/0.01291, allocations: 70.19 kB / 0.7126 GB, free: 10.36 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.122e-05/0.01299, allocations: 346.7 kB / 0.7129 GB, free: 10.01 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.01317, allocations: 207.9 kB / 0.7131 GB, free: 9.789 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.01338, allocations: 311.2 kB / 0.7134 GB, free: 9.426 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.01371, allocations: 431.3 kB / 0.7138 GB, free: 8.938 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.01371, allocations: 4 kB / 0.7138 GB, free: 8.934 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004583/0.01417, allocations: 0.5497 MB / 0.7144 GB, free: 8.34 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.332e-05/0.01422, allocations: 89.11 kB / 0.7145 GB, free: 8.234 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.01422, allocations: 4.328 kB / 0.7145 GB, free: 8.23 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.01424, allocations: 12 kB / 0.7145 GB, free: 8.219 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.0145, allocations: 79.83 kB / 0.7146 GB, free: 8.141 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.01451, allocations: 4 kB / 0.7146 GB, free: 8.137 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.01462, allocations: 19.98 kB / 0.7146 GB, free: 8.117 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.01464, allocations: 16 kB / 0.7146 GB, free: 8.102 MB / 426.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.0001685/0.01481, allocations: 224.9 kB / 0.7148 GB, free: 7.863 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.01484, allocations: 31.81 kB / 0.7148 GB, free: 7.832 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.819e-05/0.01488, allocations: 34.95 kB / 0.7149 GB, free: 7.797 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.01488, allocations: 4 kB / 0.7149 GB, free: 7.793 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01488, allocations: 0 / 0.7149 GB, free: 7.793 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.01489, allocations: 11.91 kB / 0.7149 GB, free: 7.781 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006577/0.01555, allocations: 0.76 MB / 0.7156 GB, free: 6.961 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.01555, allocations: 0 / 0.7156 GB, free: 6.961 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.01569, allocations: 55.91 kB / 0.7157 GB, free: 6.906 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.01569, allocations: 8 kB / 0.7157 GB, free: 6.898 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.01571, allocations: 11.98 kB / 0.7157 GB, free: 6.887 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.01571, allocations: 0 / 0.7157 GB, free: 6.887 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01571, allocations: 3.938 kB / 0.7157 GB, free: 6.883 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005815/0.01629, allocations: 0.7191 MB / 0.7164 GB, free: 6.105 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.987e-05/0.01632, allocations: 31.86 kB / 0.7164 GB, free: 6.074 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.01636, allocations: 8.125 kB / 0.7164 GB, free: 6.066 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.01646, allocations: 23.98 kB / 0.7165 GB, free: 6.043 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/0.01652, allocations: 39.83 kB / 0.7165 GB, free: 6.004 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.01653, allocations: 11.98 kB / 0.7165 GB, free: 5.992 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.000106/0.01664, allocations: 177.2 kB / 0.7167 GB, free: 5.82 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01664, allocations: 0 / 0.7167 GB, free: 5.82 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002101/0.01685, allocations: 88 kB / 0.7168 GB, free: 5.734 MB / 426.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.258e-05/0.01693, allocations: 122.9 kB / 0.7169 GB, free: 5.609 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004461/0.01738, allocations: 0.5649 MB / 0.7174 GB, free: 4.977 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.01738, allocations: 0 / 0.7174 GB, free: 4.977 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.01758, allocations: 301.8 kB / 0.7177 GB, free: 4.648 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.0179, allocations: 89.05 kB / 0.7178 GB, free: 4.562 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008747/0.01878, allocations: 0.8125 MB / 0.7186 GB, free: 3.707 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.807e-05/0.01886, allocations: 160.3 kB / 0.7188 GB, free: 3.527 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.17e-05/0.01892, allocations: 36.48 kB / 0.7188 GB, free: 3.492 MB / 426.8 MB Notification: Performance of SimCode: time 4.11e-07/0.01893, allocations: 0 / 0.7188 GB, free: 3.492 MB / 426.8 MB Notification: Performance of Templates: time 0.166/0.1849, allocations: 4.012 MB / 0.7227 GB, free: 36.93 MB / 426.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: 5.824669790454209]