Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_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.002471/0.002471, 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.002692/0.002692, 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.559/1.559, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.438/1.438, allocations: 292.9 MB / 0.5392 GB, free: 49.8 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.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1036800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_reference") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1036800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.6999 GB, free: 8.617 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/3.006e-05, allocations: 6.219 kB / 0.6999 GB, free: 8.609 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_reference): time 0.002926/0.002956, allocations: 2.323 MB / 0.7021 GB, free: 6.27 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009433/0.003899, allocations: 0.5727 MB / 0.7027 GB, free: 5.691 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.672e-05/0.003986, allocations: 11.94 kB / 0.7027 GB, free: 5.68 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.004124, allocations: 27.7 kB / 0.7027 GB, free: 5.652 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002636/0.004387, allocations: 111.2 kB / 0.7028 GB, free: 5.543 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.004596, allocations: 51.92 kB / 0.7029 GB, free: 5.492 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004535/0.00505, allocations: 461.8 kB / 0.7033 GB, free: 5.039 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.005238, allocations: 60.89 kB / 0.7034 GB, free: 4.984 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.005489, allocations: 247.4 kB / 0.7036 GB, free: 4.742 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.005723, allocations: 171.5 kB / 0.7038 GB, free: 4.574 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 5.485e-05/0.005778, allocations: 28 kB / 0.7038 GB, free: 4.547 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.293e-05/0.005831, allocations: 28 kB / 0.7038 GB, free: 4.52 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 9.468e-05/0.005926, allocations: 79.73 kB / 0.7039 GB, free: 4.441 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.006072, allocations: 127.7 kB / 0.704 GB, free: 4.316 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.006395, allocations: 367 kB / 0.7044 GB, free: 3.957 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.006397, allocations: 0 / 0.7044 GB, free: 3.957 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.32e-07/0.006398, allocations: 0 / 0.7044 GB, free: 3.957 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.006405, allocations: 4 kB / 0.7044 GB, free: 3.953 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001006/0.007411, allocations: 0.6466 MB / 0.705 GB, free: 3.258 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.007449, allocations: 12.02 kB / 0.705 GB, free: 3.246 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.775e-05/0.007527, allocations: 36.7 kB / 0.7051 GB, free: 3.211 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.007843, allocations: 260.6 kB / 0.7053 GB, free: 2.93 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.007866, allocations: 16.88 kB / 0.7053 GB, free: 2.914 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.036e-05/0.007917, allocations: 32.33 kB / 0.7054 GB, free: 2.883 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005197/0.008436, allocations: 363.9 kB / 0.7057 GB, free: 2.512 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.008457, allocations: 8.188 kB / 0.7057 GB, free: 2.504 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.008483, allocations: 8.359 kB / 0.7057 GB, free: 2.496 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.008491, allocations: 11.94 kB / 0.7057 GB, free: 2.484 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005115/0.009002, allocations: 341.1 kB / 0.7061 GB, free: 2.137 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.01011, allocations: 0.7012 MB / 0.7067 GB, free: 1.406 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006975/0.0108, allocations: 393.5 kB / 0.7071 GB, free: 1 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002975/0.0111, allocations: 232.1 kB / 0.7073 GB, free: 0.7578 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.01112, allocations: 4 kB / 0.7073 GB, free: 0.7539 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004769/0.0116, allocations: 448.8 kB / 0.7078 GB, free: 272 kB / 410.8 MB Notification: Performance of pre-optimization done (n=37): time 1.664e-06/0.0116, allocations: 4 kB / 0.7078 GB, free: 268 kB / 410.8 MB Notification: Performance of matching and sorting (n=39): time 0.002722/0.01432, allocations: 1.425 MB / 0.7092 GB, free: 14.74 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001708/0.01449, allocations: 221.6 kB / 0.7094 GB, free: 14.47 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.01483, allocations: 261.7 kB / 0.7096 GB, free: 14.2 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.78e-05/0.01487, allocations: 37.7 kB / 0.7097 GB, free: 14.16 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.01502, allocations: 160.8 kB / 0.7098 GB, free: 14 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.01517, allocations: 131 kB / 0.7099 GB, free: 13.87 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.01532, allocations: 82.19 kB / 0.71 GB, free: 13.78 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0003283/0.01565, allocations: 346.7 kB / 0.7103 GB, free: 13.43 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004889/0.01614, allocations: 299.7 kB / 0.7106 GB, free: 13.12 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005495/0.01669, allocations: 393 kB / 0.711 GB, free: 12.68 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009125/0.0176, allocations: 0.5751 MB / 0.7116 GB, free: 12.05 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.0176, allocations: 7.938 kB / 0.7116 GB, free: 12.04 MB / 426.8 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0012/0.0188, allocations: 0.7097 MB / 0.7123 GB, free: 11.29 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.579e-05/0.01889, allocations: 93.09 kB / 0.7124 GB, free: 11.18 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.0189, allocations: 0 / 0.7124 GB, free: 11.18 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.01892, allocations: 4 kB / 0.7124 GB, free: 11.17 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/0.01931, allocations: 87.88 kB / 0.7124 GB, free: 11.09 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.01932, allocations: 16.22 kB / 0.7125 GB, free: 11.07 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.01956, allocations: 19.98 kB / 0.7125 GB, free: 11.05 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/0.01959, allocations: 19.98 kB / 0.7125 GB, free: 11.03 MB / 426.8 MB Warning: Assuming fixed start value for the following 1 variables: dose.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: 10 * Number of states: 0 () * Number of discrete variables: 21 (comp[1].Cmin,$PRE.comp[1].Cmin,comp[1].Cmax,$PRE.comp[1].Cmax,comp[2].Cmin,$PRE.comp[2].Cmin,comp[2].Cmax,$PRE.comp[2].Cmax,dose.pulse.count,$PRE.dose.pulse.count,dose.pulse.T_start,$PRE.dose.pulse.T_start,comp[2].rising,$PRE.comp[2].rising,comp[1].rising,$PRE.comp[1].rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 3 * 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.0003337/0.01993, allocations: 266.7 kB / 0.7128 GB, free: 10.75 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/0.01999, allocations: 31.81 kB / 0.7128 GB, free: 10.72 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.02011, allocations: 42.95 kB / 0.7128 GB, free: 10.68 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.02011, allocations: 8 kB / 0.7128 GB, free: 10.67 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.02012, allocations: 0 / 0.7128 GB, free: 10.67 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.02013, allocations: 11.92 kB / 0.7128 GB, free: 10.66 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.02181, allocations: 0.9905 MB / 0.7138 GB, free: 9.602 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.02181, allocations: 0 / 0.7138 GB, free: 9.602 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004516/0.02226, allocations: 67.89 kB / 0.7139 GB, free: 9.535 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.02227, allocations: 3.984 kB / 0.7139 GB, free: 9.531 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/0.02231, allocations: 16 kB / 0.7139 GB, free: 9.516 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.02231, allocations: 4 kB / 0.7139 GB, free: 9.512 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.02231, allocations: 0 / 0.7139 GB, free: 9.512 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.0239, allocations: 0.98 MB / 0.7149 GB, free: 8.477 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.459e-05/0.02397, allocations: 31.8 kB / 0.7149 GB, free: 8.445 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.855e-05/0.02405, allocations: 23.98 kB / 0.7149 GB, free: 8.422 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.02429, allocations: 23.97 kB / 0.7149 GB, free: 8.398 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.02441, allocations: 35.94 kB / 0.715 GB, free: 8.363 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/0.02444, allocations: 16 kB / 0.715 GB, free: 8.348 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002345/0.02468, allocations: 197.1 kB / 0.7152 GB, free: 8.156 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.02468, allocations: 0 / 0.7152 GB, free: 8.156 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0004062/0.02508, allocations: 104 kB / 0.7153 GB, free: 8.055 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (comp[1].C,comp[1].AUC,comp[2].C,comp[2].AUC,elim[1].MExc,elim[2].MExc,dose.TotalCumulativeMass) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,comp[1].Cmax,comp[1].Cmin,comp[1].rising,comp[2].Cmax,comp[2].Cmin,comp[2].rising,dose.pulse.T_start,dose.pulse.count) * Number of discrete states: 11 (dose.pulse.count,comp[2].Cmin,$whenCondition3,comp[2].Cmax,$whenCondition2,comp[2].rising,comp[1].Cmin,$whenCondition5,comp[1].Cmax,$whenCondition4,comp[1].rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001885/0.02527, allocations: 134.9 kB / 0.7154 GB, free: 7.918 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.02642, allocations: 0.7218 MB / 0.7161 GB, free: 7.129 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.02642, allocations: 4 kB / 0.7161 GB, free: 7.125 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005656/0.02699, allocations: 381.9 kB / 0.7165 GB, free: 6.715 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005598/0.02755, allocations: 100.8 kB / 0.7166 GB, free: 6.621 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.02963, allocations: 1.034 MB / 0.7176 GB, free: 5.547 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.0299, allocations: 221.6 kB / 0.7178 GB, free: 5.309 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0002499/0.03015, allocations: 102.9 kB / 0.7179 GB, free: 5.207 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.858e-05/0.03024, allocations: 28.5 kB / 0.7179 GB, free: 5.176 MB / 426.8 MB Notification: Performance of SimCode: time 4.01e-07/0.03024, allocations: 0 / 0.7179 GB, free: 5.176 MB / 426.8 MB Notification: Performance of Templates: time 0.234/0.2643, allocations: 4.945 MB / 0.7227 GB, free: 36.27 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.02575922710821]