Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.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.001094/0.001094, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001405/0.0025, 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.001127/0.001127, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001398/0.002525, 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.006/1.006, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1001/1.106, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.8026/0.8026, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03652/0.8391, allocations: 21.04 MB / 0.5431 GB, free: 31.96 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.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.937e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference): time 0.003569/0.003588, allocations: 2.52 MB / 0.547 GB, free: 28.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007336/0.004322, allocations: 0.631 MB / 0.5476 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.483e-05/0.004397, allocations: 0 / 0.5476 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.974e-05/0.004497, allocations: 27.72 kB / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.004621, allocations: 87.27 kB / 0.5477 GB, free: 27.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001176/0.004738, allocations: 55.86 kB / 0.5477 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.004905, allocations: 266.6 kB / 0.548 GB, free: 26.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.603e-05/0.004991, allocations: 38.47 kB / 0.548 GB, free: 26.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.00513, allocations: 172.3 kB / 0.5482 GB, free: 26.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.005259, allocations: 87.72 kB / 0.5483 GB, free: 26.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.00528, allocations: 16 kB / 0.5483 GB, free: 26.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.897e-05/0.005299, allocations: 20 kB / 0.5483 GB, free: 26.65 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.005321, allocations: 27.88 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.741e-05/0.005379, allocations: 59.88 kB / 0.5484 GB, free: 26.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.005521, allocations: 147.5 kB / 0.5485 GB, free: 26.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/0.005532, allocations: 0 / 0.5485 GB, free: 26.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.005533, allocations: 0 / 0.5485 GB, free: 26.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.005544, allocations: 0 / 0.5485 GB, free: 26.42 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0004557/0.006, allocations: 0.4976 MB / 0.549 GB, free: 25.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.245e-05/0.006022, allocations: 15.89 kB / 0.549 GB, free: 25.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.006062, allocations: 20.92 kB / 0.5491 GB, free: 25.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.00619, allocations: 179.1 kB / 0.5492 GB, free: 25.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.006206, allocations: 8.609 kB / 0.5492 GB, free: 25.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.00623, allocations: 16.38 kB / 0.5493 GB, free: 25.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.006383, allocations: 155.5 kB / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.006392, allocations: 7.984 kB / 0.5494 GB, free: 25.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.006402, allocations: 4 kB / 0.5494 GB, free: 25.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.006406, allocations: 4 kB / 0.5494 GB, free: 25.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.211e-05/0.006478, allocations: 80.64 kB / 0.5495 GB, free: 25.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003125/0.006791, allocations: 368.8 kB / 0.5499 GB, free: 24.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.006938, allocations: 104.2 kB / 0.55 GB, free: 24.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.401e-05/0.006972, allocations: 65.66 kB / 0.55 GB, free: 24.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.00698, allocations: 0 / 0.55 GB, free: 24.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001168/0.007097, allocations: 196.3 kB / 0.5502 GB, free: 24.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.393e-06/0.007098, allocations: 0 / 0.5502 GB, free: 24.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004632/0.007562, allocations: 0.5082 MB / 0.5507 GB, free: 23.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.007588, allocations: 132.5 kB / 0.5508 GB, free: 23.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.614e-05/0.007664, allocations: 210.1 kB / 0.551 GB, free: 23.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.007676, allocations: 29.7 kB / 0.5511 GB, free: 23.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.934e-05/0.007705, allocations: 120.4 kB / 0.5512 GB, free: 23.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.007738, allocations: 67.42 kB / 0.5512 GB, free: 23.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/0.007788, allocations: 59.16 kB / 0.5513 GB, free: 23.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.985e-05/0.007818, allocations: 334.8 kB / 0.5516 GB, free: 22.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.508e-05/0.007863, allocations: 97 kB / 0.5517 GB, free: 22.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.654e-05/0.007919, allocations: 187.7 kB / 0.5519 GB, free: 22.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.861e-05/0.008008, allocations: 203.8 kB / 0.5521 GB, free: 22.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.008009, allocations: 0 / 0.5521 GB, free: 22.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001348/0.008144, allocations: 266.1 kB / 0.5523 GB, free: 22.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.008173, allocations: 63.39 kB / 0.5524 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.008178, allocations: 5.719 kB / 0.5524 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.008186, allocations: 4 kB / 0.5524 GB, free: 22.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.008338, allocations: 63.91 kB / 0.5525 GB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.008343, allocations: 7.984 kB / 0.5525 GB, free: 21.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.395e-05/0.008417, allocations: 24.09 kB / 0.5525 GB, free: 21.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.008427, allocations: 12 kB / 0.5525 GB, free: 21.94 MB / 410.7 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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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 8.794e-05/0.008515, allocations: 169.6 kB / 0.5527 GB, free: 21.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.008534, allocations: 19.97 kB / 0.5527 GB, free: 21.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.674e-05/0.00856, allocations: 25.97 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.008562, allocations: 3.984 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.008565, allocations: 0 / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.008569, allocations: 3.984 kB / 0.5527 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.008791, allocations: 378.2 kB / 0.5531 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.008793, allocations: 3.938 kB / 0.5531 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.008905, allocations: 47.91 kB / 0.5531 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.753e-05/0.008923, allocations: 15.86 kB / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.008925, allocations: 0 / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.008934, allocations: 7.984 kB / 0.5531 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.008935, allocations: 0 / 0.5531 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.008936, allocations: 0 / 0.5531 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.009095, allocations: 355.8 kB / 0.5535 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.009117, allocations: 15.31 kB / 0.5535 GB, free: 20.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.738e-05/0.009194, allocations: 15.92 kB / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.00923, allocations: 15.97 kB / 0.5535 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.009238, allocations: 11.94 kB / 0.5535 GB, free: 20.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.602e-05/0.009274, allocations: 57.95 kB / 0.5536 GB, free: 20.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009274, allocations: 4 kB / 0.5536 GB, free: 20.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001496/0.009424, allocations: 56 kB / 0.5537 GB, free: 20.67 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 6.084e-05/0.009485, allocations: 88.41 kB / 0.5537 GB, free: 20.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.009624, allocations: 316.5 kB / 0.554 GB, free: 20.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.009629, allocations: 0 / 0.554 GB, free: 20.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.711e-05/0.009686, allocations: 145.9 kB / 0.5542 GB, free: 20.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.009888, allocations: 90.28 kB / 0.5543 GB, free: 19.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005293/0.01518, allocations: 0.5771 MB / 0.5548 GB, free: 19.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.963e-05/0.01521, allocations: 76.33 kB / 0.5549 GB, free: 19.28 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.715e-05/0.01528, allocations: 29.98 kB / 0.5549 GB, free: 19.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.01539, allocations: 107.3 kB / 0.555 GB, free: 19.14 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01539, allocations: 0 / 0.555 GB, free: 19.14 MB / 410.7 MB Notification: Performance of Templates: time 0.004331/0.01972, allocations: 3.791 MB / 0.5587 GB, free: 15.45 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid_Favuzzi1999_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3140542432665825]