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.001884/0.001884, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.002118/0.002118, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.66/1.66, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.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.37/1.37, allocations: 292.9 MB / 0.5392 GB, free: 50.18 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: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.6999 GB, free: 8.512 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.6e-05/3.793e-05, allocations: 6.219 kB / 0.6999 GB, free: 8.504 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide): time 0.003086/0.003124, allocations: 2.305 MB / 0.7022 GB, free: 6.184 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009621/0.004086, allocations: 0.5961 MB / 0.7027 GB, free: 5.586 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.004188, allocations: 0 / 0.7027 GB, free: 5.586 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.004309, allocations: 23.72 kB / 0.7028 GB, free: 5.562 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.00451, allocations: 99.19 kB / 0.7028 GB, free: 5.465 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.004717, allocations: 47.94 kB / 0.7029 GB, free: 5.418 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002527/0.004969, allocations: 274.5 kB / 0.7032 GB, free: 5.148 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.005121, allocations: 36.56 kB / 0.7032 GB, free: 5.117 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.005287, allocations: 135.7 kB / 0.7033 GB, free: 4.984 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.005492, allocations: 83.72 kB / 0.7034 GB, free: 4.902 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.447e-05/0.005527, allocations: 16 kB / 0.7034 GB, free: 4.887 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.592e-05/0.005563, allocations: 20 kB / 0.7034 GB, free: 4.867 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.363e-05/0.005596, allocations: 31.84 kB / 0.7035 GB, free: 4.836 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 8.575e-05/0.005682, allocations: 75.78 kB / 0.7035 GB, free: 4.762 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.005899, allocations: 207.3 kB / 0.7037 GB, free: 4.559 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.005903, allocations: 4 kB / 0.7037 GB, free: 4.555 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005904, allocations: 0 / 0.7037 GB, free: 4.555 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.005908, allocations: 0 / 0.7037 GB, free: 4.555 MB / 410.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.0008336/0.006742, allocations: 492.8 kB / 0.7042 GB, free: 4.027 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.00678, allocations: 12.03 kB / 0.7042 GB, free: 4.016 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.032e-05/0.00684, allocations: 20.8 kB / 0.7042 GB, free: 3.996 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.007063, allocations: 190.4 kB / 0.7044 GB, free: 3.781 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.007082, allocations: 8.609 kB / 0.7044 GB, free: 3.773 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/0.007116, allocations: 20.31 kB / 0.7044 GB, free: 3.754 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/0.007462, allocations: 198.4 kB / 0.7046 GB, free: 3.547 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.00748, allocations: 3.953 kB / 0.7046 GB, free: 3.543 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.0075, allocations: 8 kB / 0.7047 GB, free: 3.535 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.007506, allocations: 0 / 0.7047 GB, free: 3.535 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003328/0.007838, allocations: 150.3 kB / 0.7048 GB, free: 3.383 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006996/0.008538, allocations: 477.5 kB / 0.7052 GB, free: 2.883 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004854/0.009023, allocations: 180.1 kB / 0.7054 GB, free: 2.691 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.009192, allocations: 98.52 kB / 0.7055 GB, free: 2.586 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.009204, allocations: 0 / 0.7055 GB, free: 2.586 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003239/0.009528, allocations: 232.4 kB / 0.7057 GB, free: 2.328 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.302e-06/0.009529, allocations: 4 kB / 0.7057 GB, free: 2.324 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.001385/0.01091, allocations: 0.7025 MB / 0.7064 GB, free: 1.559 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.01097, allocations: 136.5 kB / 0.7066 GB, free: 1.395 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.01114, allocations: 216 kB / 0.7068 GB, free: 1.176 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.01116, allocations: 33.7 kB / 0.7068 GB, free: 1.137 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.687e-05/0.01124, allocations: 136.5 kB / 0.7069 GB, free: 1 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.066e-05/0.01129, allocations: 67.48 kB / 0.707 GB, free: 0.9336 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.663e-05/0.01136, allocations: 49.7 kB / 0.707 GB, free: 0.8789 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 8.35e-05/0.01145, allocations: 338.8 kB / 0.7074 GB, free: 0.5391 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.01167, allocations: 148.9 kB / 0.7075 GB, free: 384 kB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.01191, allocations: 221.3 kB / 0.7077 GB, free: 116 kB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004843/0.0124, allocations: 290.2 kB / 0.708 GB, free: 15.79 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.0124, allocations: 0 / 0.708 GB, free: 15.79 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007477/0.01315, allocations: 388.1 kB / 0.7084 GB, free: 15.38 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.309e-05/0.01322, allocations: 59.41 kB / 0.7084 GB, free: 15.31 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.01323, allocations: 4 kB / 0.7084 GB, free: 15.3 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/0.01326, allocations: 3.984 kB / 0.7084 GB, free: 15.3 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.01349, allocations: 59.84 kB / 0.7085 GB, free: 15.24 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.0135, allocations: 3.938 kB / 0.7085 GB, free: 15.24 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.01369, allocations: 19.98 kB / 0.7085 GB, free: 15.22 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.01372, allocations: 8 kB / 0.7085 GB, free: 15.21 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: 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.0003167/0.01403, allocations: 183.8 kB / 0.7087 GB, free: 15.02 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/0.01407, allocations: 19.91 kB / 0.7087 GB, free: 15 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.726e-05/0.01414, allocations: 21.95 kB / 0.7087 GB, free: 14.97 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.01414, allocations: 0 / 0.7087 GB, free: 14.97 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/0.01416, allocations: 7.938 kB / 0.7087 GB, free: 14.96 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.01416, allocations: 0 / 0.7087 GB, free: 14.96 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.01518, allocations: 0.5374 MB / 0.7093 GB, free: 14.38 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01518, allocations: 4 kB / 0.7093 GB, free: 14.38 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/0.01538, allocations: 47.78 kB / 0.7093 GB, free: 14.33 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.01539, allocations: 4 kB / 0.7093 GB, free: 14.33 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.01541, allocations: 0 / 0.7093 GB, free: 14.33 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/0.01542, allocations: 4 kB / 0.7093 GB, free: 14.32 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01542, allocations: 0 / 0.7093 GB, free: 14.32 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/0.01677, allocations: 0.4924 MB / 0.7098 GB, free: 13.8 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.708e-05/0.01681, allocations: 27.89 kB / 0.7098 GB, free: 13.77 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.129e-05/0.01686, allocations: 11.94 kB / 0.7098 GB, free: 13.76 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.01704, allocations: 15.98 kB / 0.7099 GB, free: 13.75 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.626e-05/0.01714, allocations: 19.97 kB / 0.7099 GB, free: 13.73 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.01716, allocations: 4 kB / 0.7099 GB, free: 13.72 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001869/0.01734, allocations: 163.3 kB / 0.71 GB, free: 13.56 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01734, allocations: 0 / 0.71 GB, free: 13.56 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003258/0.01767, allocations: 52 kB / 0.7101 GB, free: 13.51 MB / 426.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.0001801/0.01785, allocations: 118.1 kB / 0.7102 GB, free: 13.39 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0006976/0.01855, allocations: 390.2 kB / 0.7106 GB, free: 12.97 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01855, allocations: 0 / 0.7106 GB, free: 12.97 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003009/0.01885, allocations: 169 kB / 0.7107 GB, free: 12.79 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004863/0.01933, allocations: 64.33 kB / 0.7108 GB, free: 12.72 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.02077, allocations: 0.5728 MB / 0.7113 GB, free: 12.12 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.02092, allocations: 125.6 kB / 0.7115 GB, free: 11.98 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.02102, allocations: 21.95 kB / 0.7115 GB, free: 11.95 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.138e-05/0.0211, allocations: 28.44 kB / 0.7115 GB, free: 11.93 MB / 426.8 MB Notification: Performance of SimCode: time 5.82e-07/0.0211, allocations: 0 / 0.7115 GB, free: 11.93 MB / 426.8 MB Notification: Performance of Templates: time 0.008634/0.02973, allocations: 3.337 MB / 0.7148 GB, free: 8.746 MB / 426.8 MB " [Timeout remaining time 660] 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: 6.916388581972569]