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.00151/0.00151, allocations: 92.52 kB / 19.94 MB, free: 4.602 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.00166/0.00166, allocations: 165.9 kB / 23.21 MB, free: 1.336 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 0.933/0.933, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.7053/0.7053, allocations: 291.1 MB / 0.5382 GB, free: 51.79 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.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.493e-06/1.493e-06, allocations: 0 / 0.6973 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.632e-05, allocations: 6.219 kB / 0.6973 GB, free: 10.37 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide): time 0.002433/0.002459, allocations: 2.3 MB / 0.6996 GB, free: 8.055 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007916/0.003251, allocations: 0.5999 MB / 0.7002 GB, free: 7.453 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.584e-05/0.003347, allocations: 7.938 kB / 0.7002 GB, free: 7.445 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.003476, allocations: 19.78 kB / 0.7002 GB, free: 7.426 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002109/0.003687, allocations: 87.27 kB / 0.7003 GB, free: 7.34 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.00389, allocations: 59.86 kB / 0.7003 GB, free: 7.281 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.004094, allocations: 262.6 kB / 0.7006 GB, free: 7.023 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.004245, allocations: 36.5 kB / 0.7006 GB, free: 6.992 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.004379, allocations: 147.6 kB / 0.7008 GB, free: 6.848 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.004551, allocations: 79.78 kB / 0.7008 GB, free: 6.77 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.004582, allocations: 16 kB / 0.7009 GB, free: 6.754 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.405e-05/0.004606, allocations: 16 kB / 0.7009 GB, free: 6.738 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.263e-05/0.004639, allocations: 47.78 kB / 0.7009 GB, free: 6.691 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.957e-05/0.004708, allocations: 71.83 kB / 0.701 GB, free: 6.621 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.004907, allocations: 195.4 kB / 0.7012 GB, free: 6.43 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.004912, allocations: 4 kB / 0.7012 GB, free: 6.426 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.442e-06/0.004913, allocations: 0 / 0.7012 GB, free: 6.426 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.004918, allocations: 0 / 0.7012 GB, free: 6.426 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.0006403/0.005559, allocations: 492.8 kB / 0.7016 GB, free: 5.898 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.005598, allocations: 8.031 kB / 0.7017 GB, free: 5.891 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.987e-05/0.005648, allocations: 32.73 kB / 0.7017 GB, free: 5.859 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.005825, allocations: 182.4 kB / 0.7019 GB, free: 5.652 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.005843, allocations: 12.61 kB / 0.7019 GB, free: 5.641 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.005872, allocations: 12.38 kB / 0.7019 GB, free: 5.629 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.006113, allocations: 198.5 kB / 0.7021 GB, free: 5.422 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.006127, allocations: 3.953 kB / 0.7021 GB, free: 5.418 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.006143, allocations: 4 kB / 0.7021 GB, free: 5.414 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.006149, allocations: 4 kB / 0.7021 GB, free: 5.41 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.00634, allocations: 150.2 kB / 0.7022 GB, free: 5.258 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005352/0.006876, allocations: 489.4 kB / 0.7027 GB, free: 4.746 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.007203, allocations: 168.2 kB / 0.7029 GB, free: 4.566 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.88e-05/0.007302, allocations: 102.5 kB / 0.7029 GB, free: 4.457 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.007313, allocations: 0 / 0.7029 GB, free: 4.457 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002429/0.007556, allocations: 236.4 kB / 0.7032 GB, free: 4.195 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.453e-06/0.007557, allocations: 0 / 0.7032 GB, free: 4.195 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009255/0.008483, allocations: 0.6951 MB / 0.7039 GB, free: 3.438 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.008527, allocations: 136.5 kB / 0.704 GB, free: 3.273 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.008656, allocations: 220 kB / 0.7042 GB, free: 3.051 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.00867, allocations: 33.7 kB / 0.7042 GB, free: 3.012 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.008725, allocations: 132.5 kB / 0.7044 GB, free: 2.879 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.008754, allocations: 75.41 kB / 0.7044 GB, free: 2.805 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/0.008805, allocations: 45.7 kB / 0.7045 GB, free: 2.754 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.07e-05/0.008846, allocations: 342.8 kB / 0.7048 GB, free: 2.41 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.008971, allocations: 141 kB / 0.7049 GB, free: 2.254 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.009099, allocations: 225.2 kB / 0.7051 GB, free: 1.988 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.009306, allocations: 280.9 kB / 0.7054 GB, free: 1.672 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.009308, allocations: 4 kB / 0.7054 GB, free: 1.668 MB / 410.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003074/0.009616, allocations: 398.6 kB / 0.7058 GB, free: 1.25 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.009647, allocations: 60.5 kB / 0.7059 GB, free: 1.18 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.009655, allocations: 0 / 0.7059 GB, free: 1.18 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.009671, allocations: 7.984 kB / 0.7059 GB, free: 1.172 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.009787, allocations: 55.84 kB / 0.7059 GB, free: 1.117 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.009794, allocations: 4 kB / 0.7059 GB, free: 1.113 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.663e-05/0.009891, allocations: 20.2 kB / 0.7059 GB, free: 1.094 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.009904, allocations: 12 kB / 0.7059 GB, free: 1.082 MB / 410.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.0001487/0.01005, allocations: 180.3 kB / 0.7061 GB, free: 0.8906 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.01007, allocations: 15.91 kB / 0.7061 GB, free: 0.875 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/0.0101, allocations: 29.95 kB / 0.7062 GB, free: 0.8438 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.01011, allocations: 0 / 0.7062 GB, free: 0.8438 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.01011, allocations: 3.938 kB / 0.7062 GB, free: 0.8398 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01012, allocations: 0 / 0.7062 GB, free: 0.8398 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004348/0.01055, allocations: 0.5469 MB / 0.7067 GB, free: 252 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01055, allocations: 0 / 0.7067 GB, free: 252 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.01066, allocations: 35.97 kB / 0.7067 GB, free: 216 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.01066, allocations: 0 / 0.7067 GB, free: 216 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.01067, allocations: 8 kB / 0.7067 GB, free: 208 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.01067, allocations: 3.938 kB / 0.7067 GB, free: 204 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.01068, allocations: 0 / 0.7067 GB, free: 204 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006319/0.01131, allocations: 0.4963 MB / 0.7072 GB, free: 15.67 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.667e-05/0.01134, allocations: 19.89 kB / 0.7073 GB, free: 15.65 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.01136, allocations: 8 kB / 0.7073 GB, free: 15.64 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.351e-05/0.01145, allocations: 15.98 kB / 0.7073 GB, free: 15.63 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.327e-05/0.01152, allocations: 23.91 kB / 0.7073 GB, free: 15.61 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.01153, allocations: 4 kB / 0.7073 GB, free: 15.6 MB / 426.8 MB Notification: Performance of sorting global known variables: time 9.833e-05/0.01163, allocations: 167.3 kB / 0.7075 GB, free: 15.44 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01163, allocations: 0 / 0.7075 GB, free: 15.44 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001959/0.01182, allocations: 56 kB / 0.7075 GB, free: 15.38 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.0001263/0.01195, allocations: 117.5 kB / 0.7076 GB, free: 15.26 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0003693/0.01232, allocations: 382.2 kB / 0.708 GB, free: 14.85 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.01232, allocations: 4 kB / 0.708 GB, free: 14.84 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.01246, allocations: 165 kB / 0.7082 GB, free: 14.66 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.01278, allocations: 76.58 kB / 0.7082 GB, free: 14.59 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009435/0.01372, allocations: 0.5954 MB / 0.7088 GB, free: 13.96 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.766e-05/0.0138, allocations: 121.6 kB / 0.7089 GB, free: 13.82 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.192e-05/0.01385, allocations: 24.5 kB / 0.7089 GB, free: 13.8 MB / 426.8 MB Notification: Performance of SimCode: time 6.61e-07/0.01385, allocations: 4 kB / 0.7089 GB, free: 13.79 MB / 426.8 MB Notification: Performance of Templates: time 0.003515/0.01737, allocations: 2.946 MB / 0.7118 GB, free: 10.88 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 > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.573380731977522]