Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_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.001002/0.001002, 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.001622/0.001622, allocations: 165.9 kB / 23.21 MB, free: 1.332 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.046/1.046, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.7404/0.7404, allocations: 291.1 MB / 0.5382 GB, free: 51.89 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.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=151200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=151200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.6973 GB, free: 10.46 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.392e-05/3.57e-05, allocations: 6.219 kB / 0.6973 GB, free: 10.45 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference): time 0.003603/0.003639, allocations: 2.301 MB / 0.6996 GB, free: 8.137 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.004847, allocations: 0.6 MB / 0.7001 GB, free: 7.535 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.004996, allocations: 0 / 0.7001 GB, free: 7.535 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.005138, allocations: 27.72 kB / 0.7002 GB, free: 7.508 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002485/0.005386, allocations: 83.27 kB / 0.7002 GB, free: 7.426 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.005662, allocations: 51.88 kB / 0.7003 GB, free: 7.375 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000311/0.005973, allocations: 266.6 kB / 0.7006 GB, free: 7.113 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.006139, allocations: 36.52 kB / 0.7006 GB, free: 7.082 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.006338, allocations: 143.7 kB / 0.7007 GB, free: 6.941 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.006546, allocations: 83.72 kB / 0.7008 GB, free: 6.859 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.284e-05/0.006589, allocations: 16 kB / 0.7008 GB, free: 6.844 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.144e-05/0.00662, allocations: 16 kB / 0.7008 GB, free: 6.828 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.686e-05/0.006657, allocations: 43.77 kB / 0.7009 GB, free: 6.785 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 8.45e-05/0.006742, allocations: 79.77 kB / 0.701 GB, free: 6.707 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002843/0.007026, allocations: 199.4 kB / 0.7011 GB, free: 6.512 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.007032, allocations: 0 / 0.7011 GB, free: 6.512 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.975e-06/0.007035, allocations: 0 / 0.7011 GB, free: 6.512 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.007046, allocations: 0 / 0.7011 GB, free: 6.512 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.000997/0.008043, allocations: 496.8 kB / 0.7016 GB, free: 5.98 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.981e-05/0.008113, allocations: 8.031 kB / 0.7016 GB, free: 5.973 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.467e-05/0.008208, allocations: 24.8 kB / 0.7016 GB, free: 5.949 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.008506, allocations: 182.4 kB / 0.7018 GB, free: 5.742 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/0.00854, allocations: 12.61 kB / 0.7018 GB, free: 5.73 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.245e-05/0.008593, allocations: 12.38 kB / 0.7018 GB, free: 5.719 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004327/0.009025, allocations: 194.5 kB / 0.702 GB, free: 5.516 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.009048, allocations: 7.953 kB / 0.702 GB, free: 5.508 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.00907, allocations: 8 kB / 0.702 GB, free: 5.5 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.00908, allocations: 4 kB / 0.7021 GB, free: 5.496 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003242/0.009404, allocations: 146.2 kB / 0.7022 GB, free: 5.348 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009082/0.01031, allocations: 489.3 kB / 0.7027 GB, free: 4.836 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005285/0.01084, allocations: 180 kB / 0.7028 GB, free: 4.645 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.01101, allocations: 94.52 kB / 0.7029 GB, free: 4.543 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.01102, allocations: 4 kB / 0.7029 GB, free: 4.539 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003475/0.01137, allocations: 232.4 kB / 0.7031 GB, free: 4.281 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 3.407e-06/0.01137, allocations: 0 / 0.7031 GB, free: 4.281 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.001243/0.01262, allocations: 0.7028 MB / 0.7038 GB, free: 3.516 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.01267, allocations: 136.5 kB / 0.704 GB, free: 3.352 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.01285, allocations: 219 kB / 0.7042 GB, free: 3.129 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.01287, allocations: 33.7 kB / 0.7042 GB, free: 3.09 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.154e-05/0.01295, allocations: 128.5 kB / 0.7043 GB, free: 2.961 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.649e-05/0.01299, allocations: 71.41 kB / 0.7044 GB, free: 2.891 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.52e-05/0.01307, allocations: 53.7 kB / 0.7044 GB, free: 2.832 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.267e-05/0.01312, allocations: 334.8 kB / 0.7048 GB, free: 2.496 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.0133, allocations: 149 kB / 0.7049 GB, free: 2.332 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.01349, allocations: 217.9 kB / 0.7051 GB, free: 2.074 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003084/0.0138, allocations: 286.2 kB / 0.7054 GB, free: 1.754 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.0138, allocations: 0 / 0.7054 GB, free: 1.754 MB / 410.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004659/0.01427, allocations: 391.9 kB / 0.7058 GB, free: 1.34 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.148e-05/0.01431, allocations: 63.39 kB / 0.7058 GB, free: 1.266 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.01432, allocations: 4 kB / 0.7058 GB, free: 1.262 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.01434, allocations: 8.219 kB / 0.7058 GB, free: 1.254 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.01452, allocations: 51.84 kB / 0.7059 GB, free: 1.203 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.01453, allocations: 4 kB / 0.7059 GB, free: 1.199 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.01467, allocations: 15.98 kB / 0.7059 GB, free: 1.184 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.01469, allocations: 15.94 kB / 0.7059 GB, free: 1.168 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.0002285/0.01492, allocations: 175.7 kB / 0.7061 GB, free: 0.9844 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.01495, allocations: 23.89 kB / 0.7061 GB, free: 0.9609 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.846e-05/0.015, allocations: 29.95 kB / 0.7061 GB, free: 0.9297 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.015, allocations: 4 kB / 0.7061 GB, free: 0.9258 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.01501, allocations: 3.938 kB / 0.7061 GB, free: 0.9219 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.01501, allocations: 0 / 0.7061 GB, free: 0.9219 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006779/0.01569, allocations: 0.5367 MB / 0.7067 GB, free: 344 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.01569, allocations: 0 / 0.7067 GB, free: 344 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.01586, allocations: 35.97 kB / 0.7067 GB, free: 308 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.01586, allocations: 0 / 0.7067 GB, free: 308 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.01588, allocations: 12 kB / 0.7067 GB, free: 296 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.01589, allocations: 0 / 0.7067 GB, free: 296 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.01589, allocations: 3.984 kB / 0.7067 GB, free: 292 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006627/0.01655, allocations: 0.4947 MB / 0.7072 GB, free: 15.76 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.0166, allocations: 23.89 kB / 0.7072 GB, free: 15.74 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.01663, allocations: 4 kB / 0.7072 GB, free: 15.73 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.01675, allocations: 19.92 kB / 0.7072 GB, free: 15.71 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.688e-05/0.01684, allocations: 23.97 kB / 0.7073 GB, free: 15.69 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.01686, allocations: 11.98 kB / 0.7073 GB, free: 15.68 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001347/0.01699, allocations: 156.4 kB / 0.7074 GB, free: 15.53 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/0.01699, allocations: 0 / 0.7074 GB, free: 15.53 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003122/0.0173, allocations: 60 kB / 0.7075 GB, free: 15.47 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.0001502/0.01745, allocations: 115.2 kB / 0.7076 GB, free: 15.35 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0005136/0.01797, allocations: 376.1 kB / 0.708 GB, free: 14.94 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01797, allocations: 8 kB / 0.708 GB, free: 14.93 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.01819, allocations: 169 kB / 0.7081 GB, free: 14.75 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004842/0.01867, allocations: 62.41 kB / 0.7082 GB, free: 14.69 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.0199, allocations: 0.5992 MB / 0.7088 GB, free: 14.05 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.02001, allocations: 133.5 kB / 0.7089 GB, free: 13.9 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.656e-05/0.02009, allocations: 20.5 kB / 0.7089 GB, free: 13.88 MB / 426.8 MB Notification: Performance of SimCode: time 7.61e-07/0.02009, allocations: 0 / 0.7089 GB, free: 13.88 MB / 426.8 MB Notification: Performance of Templates: time 0.006152/0.02624, allocations: 2.946 MB / 0.7118 GB, free: 10.96 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.0664930967614055]