Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide.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.002047/0.002047, allocations: 105.5 kB / 18.95 MB, free: 1.176 MB / 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.002004/0.002004, allocations: 215.6 kB / 22.25 MB, free: 3.566 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.772/1.772, allocations: 230.6 MB / 256 MB, free: 9.574 MB / 202.7 MB " [Timeout remaining time 178] 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 1.549/1.549, allocations: 316.7 MB / 0.6144 GB, free: 93.03 MB / 410.7 MB " [Timeout remaining time 178] 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.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide") [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.004636/0.004636, allocations: 77.44 kB / 0.775 GB, free: 14.7 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1767, allocations: 73.99 MB / 0.8472 GB, free: 4.852 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide): time 0.004582/0.1813, allocations: 2.304 MB / 0.8495 GB, free: 2.547 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.1826, allocations: 0.5869 MB / 0.8501 GB, free: 1.965 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.1827, allocations: 8.438 kB / 0.8501 GB, free: 1.957 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.1828, allocations: 28.33 kB / 0.8501 GB, free: 1.93 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.1831, allocations: 72 kB / 0.8502 GB, free: 1.859 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.1833, allocations: 57 kB / 0.8502 GB, free: 1.805 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003681/0.1836, allocations: 258.7 kB / 0.8505 GB, free: 1.551 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.1838, allocations: 33.3 kB / 0.8505 GB, free: 1.52 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.1839, allocations: 91.66 kB / 0.8506 GB, free: 1.43 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000251/0.1842, allocations: 104 kB / 0.8507 GB, free: 1.328 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.954e-05/0.1842, allocations: 16.59 kB / 0.8507 GB, free: 1.312 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.082e-05/0.1843, allocations: 16.62 kB / 0.8507 GB, free: 1.297 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.203e-05/0.1843, allocations: 39.84 kB / 0.8508 GB, free: 1.258 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.1845, allocations: 92.2 kB / 0.8509 GB, free: 1.168 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002966/0.1848, allocations: 195.2 kB / 0.851 GB, free: 0.9766 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1848, allocations: 0.7188 kB / 0.851 GB, free: 0.9766 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1848, allocations: 0 / 0.851 GB, free: 0.9766 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1848, allocations: 0.7812 kB / 0.851 GB, free: 0.9766 MB / 474.8 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.001051/0.1858, allocations: 0.4942 MB / 0.8515 GB, free: 448 kB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1859, allocations: 12.84 kB / 0.8515 GB, free: 436 kB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.812e-05/0.1859, allocations: 24.8 kB / 0.8516 GB, free: 412 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.1863, allocations: 188.4 kB / 0.8517 GB, free: 196 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.1863, allocations: 8.609 kB / 0.8517 GB, free: 188 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.556e-05/0.1863, allocations: 27.88 kB / 0.8518 GB, free: 160 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000442/0.1868, allocations: 190.8 kB / 0.852 GB, free: 15.96 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.1868, allocations: 0 / 0.852 GB, free: 15.96 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.1868, allocations: 8 kB / 0.852 GB, free: 15.95 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1868, allocations: 2 kB / 0.852 GB, free: 15.95 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003862/0.1872, allocations: 154.2 kB / 0.8521 GB, free: 15.79 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009195/0.1881, allocations: 483.9 kB / 0.8526 GB, free: 15.29 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005533/0.1887, allocations: 170.7 kB / 0.8527 GB, free: 15.11 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.1889, allocations: 96.55 kB / 0.8528 GB, free: 15.01 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.1889, allocations: 2.469 kB / 0.8528 GB, free: 15.01 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004334/0.1893, allocations: 230.5 kB / 0.8531 GB, free: 14.75 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.453e-06/0.1893, allocations: 0 / 0.8531 GB, free: 14.75 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001808/0.1911, allocations: 0.6997 MB / 0.8537 GB, free: 13.99 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.1912, allocations: 137.1 kB / 0.8539 GB, free: 13.83 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.1915, allocations: 220 kB / 0.8541 GB, free: 13.61 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.1915, allocations: 30.39 kB / 0.8541 GB, free: 13.57 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.1917, allocations: 140.4 kB / 0.8542 GB, free: 13.43 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.739e-05/0.1917, allocations: 63.94 kB / 0.8543 GB, free: 13.37 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.1918, allocations: 62.25 kB / 0.8544 GB, free: 13.3 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.192, allocations: 334.8 kB / 0.8547 GB, free: 12.96 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/0.1923, allocations: 146.1 kB / 0.8548 GB, free: 12.8 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003291/0.1926, allocations: 222 kB / 0.855 GB, free: 12.54 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3859/0.5786, allocations: 278.4 kB / 0.8553 GB, free: 28.2 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.5786, allocations: 1.25 kB / 0.8553 GB, free: 28.2 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007716/0.5793, allocations: 392 kB / 0.8557 GB, free: 28.04 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.651e-05/0.5794, allocations: 63.81 kB / 0.8557 GB, free: 27.97 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.5794, allocations: 3.734 kB / 0.8557 GB, free: 27.97 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.028e-05/0.5794, allocations: 6.844 kB / 0.8557 GB, free: 27.97 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.5797, allocations: 49.69 kB / 0.8558 GB, free: 27.97 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.5797, allocations: 7.766 kB / 0.8558 GB, free: 27.97 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.5799, allocations: 17.73 kB / 0.8558 GB, free: 27.97 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.5799, allocations: 11.05 kB / 0.8558 GB, free: 27.97 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: 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 0.0002157/0.5801, allocations: 173.1 kB / 0.856 GB, free: 27.83 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/0.5802, allocations: 28.58 kB / 0.856 GB, free: 27.83 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.156e-05/0.5802, allocations: 26.22 kB / 0.856 GB, free: 27.82 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.5802, allocations: 4.562 kB / 0.856 GB, free: 27.82 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.5802, allocations: 1.984 kB / 0.856 GB, free: 27.82 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5802, allocations: 0.7812 kB / 0.856 GB, free: 27.82 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007466/0.581, allocations: 0.5363 MB / 0.8566 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.581, allocations: 0.5625 kB / 0.8566 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.5812, allocations: 36.34 kB / 0.8566 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5812, allocations: 0 / 0.8566 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.5812, allocations: 12.16 kB / 0.8566 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.5812, allocations: 2.969 kB / 0.8566 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.5812, allocations: 0 / 0.8566 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006911/0.5819, allocations: 0.4957 MB / 0.8571 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/0.5819, allocations: 21.12 kB / 0.8571 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.582, allocations: 8.438 kB / 0.8571 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.5821, allocations: 14.86 kB / 0.8571 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.724e-05/0.5822, allocations: 22.17 kB / 0.8572 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.5822, allocations: 8.453 kB / 0.8572 GB, free: 27.29 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001393/0.5824, allocations: 155.6 kB / 0.8573 GB, free: 27.22 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5824, allocations: 0.5938 kB / 0.8573 GB, free: 27.22 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003099/0.5827, allocations: 58.97 kB / 0.8574 GB, free: 27.21 MB / 490.8 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 0.0001313/0.5828, allocations: 125.5 kB / 0.8575 GB, free: 27.13 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005608/0.5834, allocations: 378.8 kB / 0.8579 GB, free: 26.9 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5834, allocations: 0.6875 kB / 0.8579 GB, free: 26.9 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.5836, allocations: 171.6 kB / 0.858 GB, free: 26.8 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/0.5841, allocations: 65.69 kB / 0.8581 GB, free: 26.8 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.5854, allocations: 0.6703 MB / 0.8587 GB, free: 26.53 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.5855, allocations: 126 kB / 0.8589 GB, free: 26.45 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.5856, allocations: 28.02 kB / 0.8589 GB, free: 26.44 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.923e-05/0.5856, allocations: 23.45 kB / 0.8589 GB, free: 26.43 MB / 490.8 MB Notification: Performance of SimCode: time 5.81e-07/0.5856, allocations: 0.5 kB / 0.8589 GB, free: 26.43 MB / 490.8 MB Notification: Performance of Templates: time 0.009053/0.5947, allocations: 3.643 MB / 0.8625 GB, free: 26.14 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.804171097930521]