Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide_Noseda1986_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.001915/0.001915, allocations: 101.5 kB / 18.95 MB, free: 1.18 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.002166/0.002166, allocations: 222.4 kB / 22.25 MB, free: 3.703 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.755/1.755, allocations: 230.6 MB / 256 MB, free: 9.625 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.533/1.533, allocations: 316.7 MB / 0.6144 GB, free: 93.12 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_Noseda1986_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide_Noseda1986_reference") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide_Noseda1986_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide_Noseda1986_reference") [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.00454/0.00454, allocations: 73.67 kB / 0.775 GB, free: 14.81 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1989, allocations: 73.99 MB / 0.8472 GB, free: 4.957 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide_Noseda1986_reference): time 0.005108/0.204, allocations: 2.288 MB / 0.8494 GB, free: 2.672 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.2057, allocations: 0.5989 MB / 0.85 GB, free: 2.078 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002409/0.206, allocations: 4.719 kB / 0.85 GB, free: 2.074 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.2062, allocations: 23.72 kB / 0.8501 GB, free: 2.051 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000413/0.2066, allocations: 76.52 kB / 0.8501 GB, free: 1.977 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.2069, allocations: 60.42 kB / 0.8502 GB, free: 1.918 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005254/0.2075, allocations: 251.5 kB / 0.8504 GB, free: 1.672 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.2076, allocations: 32.58 kB / 0.8505 GB, free: 1.641 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.2079, allocations: 100.2 kB / 0.8506 GB, free: 1.543 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003318/0.2082, allocations: 104.1 kB / 0.8507 GB, free: 1.441 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 6.148e-05/0.2083, allocations: 16 kB / 0.8507 GB, free: 1.426 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.049e-05/0.2083, allocations: 16.62 kB / 0.8507 GB, free: 1.41 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.934e-05/0.2084, allocations: 36.52 kB / 0.8507 GB, free: 1.375 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.2086, allocations: 91.53 kB / 0.8508 GB, free: 1.285 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.209, allocations: 195.9 kB / 0.851 GB, free: 1.094 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.209, allocations: 0 / 0.851 GB, free: 1.094 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.974e-06/0.209, allocations: 0.5 kB / 0.851 GB, free: 1.094 MB / 474.8 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.209, allocations: 0.5 kB / 0.851 GB, free: 1.094 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.00127/0.2102, allocations: 0.4909 MB / 0.8515 GB, free: 0.5586 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.2103, allocations: 12.03 kB / 0.8515 GB, free: 0.5469 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.552e-05/0.2104, allocations: 25.23 kB / 0.8515 GB, free: 0.5234 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004044/0.2108, allocations: 191.7 kB / 0.8517 GB, free: 316 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.2108, allocations: 4.609 kB / 0.8517 GB, free: 312 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.299e-05/0.2109, allocations: 28.45 kB / 0.8517 GB, free: 284 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004728/0.2113, allocations: 194.5 kB / 0.8519 GB, free: 76 kB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.2114, allocations: 1.75 kB / 0.8519 GB, free: 76 kB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.2114, allocations: 8 kB / 0.8519 GB, free: 68 kB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.2114, allocations: 0 / 0.8519 GB, free: 68 kB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000424/0.2118, allocations: 151.5 kB / 0.8521 GB, free: 15.91 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009967/0.2128, allocations: 477.5 kB / 0.8525 GB, free: 15.41 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005752/0.2134, allocations: 177.3 kB / 0.8527 GB, free: 15.23 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/0.2136, allocations: 92.16 kB / 0.8528 GB, free: 15.13 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.2136, allocations: 0 / 0.8528 GB, free: 15.13 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004306/0.214, allocations: 233.3 kB / 0.853 GB, free: 14.87 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.344e-06/0.2141, allocations: 0 / 0.853 GB, free: 14.87 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001792/0.2158, allocations: 0.7007 MB / 0.8537 GB, free: 14.11 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.216, allocations: 134.3 kB / 0.8538 GB, free: 13.95 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/0.2163, allocations: 215 kB / 0.854 GB, free: 13.73 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 5.069e-05/0.2163, allocations: 29.7 kB / 0.854 GB, free: 13.7 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.2165, allocations: 136.5 kB / 0.8542 GB, free: 13.56 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.69e-05/0.2165, allocations: 76.69 kB / 0.8542 GB, free: 13.48 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.2167, allocations: 57.66 kB / 0.8543 GB, free: 13.42 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.2168, allocations: 338.8 kB / 0.8546 GB, free: 13.08 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/0.2171, allocations: 145.7 kB / 0.8548 GB, free: 12.92 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/0.2175, allocations: 226 kB / 0.855 GB, free: 12.66 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005165/0.2181, allocations: 277.4 kB / 0.8552 GB, free: 12.35 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2181, allocations: 0.5 kB / 0.8552 GB, free: 12.35 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.3461/0.5642, allocations: 393.1 kB / 0.8556 GB, free: 28.17 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.263e-05/0.5643, allocations: 64.14 kB / 0.8557 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.5643, allocations: 2.969 kB / 0.8557 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.744e-05/0.5643, allocations: 1.438 kB / 0.8557 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.5645, allocations: 56.3 kB / 0.8557 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.5646, allocations: 4.578 kB / 0.8557 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.5648, allocations: 20.28 kB / 0.8558 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.5648, allocations: 10.78 kB / 0.8558 GB, free: 28.11 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.0002192/0.565, allocations: 175.1 kB / 0.8559 GB, free: 27.96 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.5651, allocations: 22.86 kB / 0.856 GB, free: 27.96 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.947e-05/0.5651, allocations: 23.27 kB / 0.856 GB, free: 27.96 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.5651, allocations: 3.031 kB / 0.856 GB, free: 27.96 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.5651, allocations: 4.031 kB / 0.856 GB, free: 27.96 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.5651, allocations: 0.7969 kB / 0.856 GB, free: 27.96 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007675/0.5659, allocations: 0.5356 MB / 0.8565 GB, free: 27.66 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.5659, allocations: 0.7188 kB / 0.8565 GB, free: 27.66 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.5661, allocations: 36.59 kB / 0.8566 GB, free: 27.66 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.5661, allocations: 0.5312 kB / 0.8566 GB, free: 27.66 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.5661, allocations: 9 kB / 0.8566 GB, free: 27.66 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.5661, allocations: 1.734 kB / 0.8566 GB, free: 27.66 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.5661, allocations: 7.625 kB / 0.8566 GB, free: 27.66 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006958/0.5668, allocations: 0.4907 MB / 0.857 GB, free: 27.43 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.859e-05/0.5668, allocations: 25.44 kB / 0.8571 GB, free: 27.43 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.5669, allocations: 11.12 kB / 0.8571 GB, free: 27.43 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.5671, allocations: 13.88 kB / 0.8571 GB, free: 27.43 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.078e-05/0.5672, allocations: 20.56 kB / 0.8571 GB, free: 27.43 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.5672, allocations: 6.062 kB / 0.8571 GB, free: 27.43 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001557/0.5673, allocations: 161.2 kB / 0.8573 GB, free: 27.36 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.5673, allocations: 0 / 0.8573 GB, free: 27.36 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003125/0.5676, allocations: 54.56 kB / 0.8573 GB, free: 27.36 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.0001317/0.5678, allocations: 114.9 kB / 0.8574 GB, free: 27.27 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005837/0.5684, allocations: 383.8 kB / 0.8578 GB, free: 27.05 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5684, allocations: 1.188 kB / 0.8578 GB, free: 27.05 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002527/0.5686, allocations: 172.2 kB / 0.858 GB, free: 26.95 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005908/0.5692, allocations: 68.89 kB / 0.858 GB, free: 26.95 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.5709, allocations: 0.6761 MB / 0.8587 GB, free: 26.68 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.5711, allocations: 125.4 kB / 0.8588 GB, free: 26.6 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001302/0.5712, allocations: 24.8 kB / 0.8588 GB, free: 26.59 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.947e-05/0.5713, allocations: 26.03 kB / 0.8589 GB, free: 26.59 MB / 490.8 MB Notification: Performance of SimCode: time 9.62e-07/0.5713, allocations: 0 / 0.8589 GB, free: 26.59 MB / 490.8 MB Notification: Performance of Templates: time 0.009987/0.5813, allocations: 3.655 MB / 0.8624 GB, free: 26.29 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide_Noseda1986_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide_Noseda1986_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide_Noseda1986_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide_Noseda1986_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide_Noseda1986_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide_Noseda1986_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide_Noseda1986_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.703851541038603]