Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol.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.002447/0.002447, allocations: 84.44 kB / 19.17 MB, free: 0.7422 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.003039/0.003039, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.549/1.549, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.308/1.308, allocations: 293 MB / 0.5393 GB, free: 49.25 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1036800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1036800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.6999 GB, free: 8.613 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.38e-05, allocations: 2.281 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): time 0.006578/0.006602, allocations: 2.327 MB / 0.7022 GB, free: 6.266 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.007683, allocations: 0.5844 MB / 0.7028 GB, free: 5.676 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.789e-05/0.007781, allocations: 0 / 0.7028 GB, free: 5.676 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.007926, allocations: 35.64 kB / 0.7028 GB, free: 5.641 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000282/0.008208, allocations: 103.2 kB / 0.7029 GB, free: 5.539 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.008413, allocations: 55.86 kB / 0.703 GB, free: 5.484 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005678/0.008981, allocations: 465.8 kB / 0.7034 GB, free: 5.027 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.009189, allocations: 72.83 kB / 0.7035 GB, free: 4.961 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002913/0.00948, allocations: 231.5 kB / 0.7037 GB, free: 4.734 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003026/0.009783, allocations: 167.5 kB / 0.7039 GB, free: 4.57 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 5.814e-05/0.009841, allocations: 28 kB / 0.7039 GB, free: 4.543 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.003e-05/0.009911, allocations: 28 kB / 0.7039 GB, free: 4.516 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 9.58e-05/0.01001, allocations: 83.72 kB / 0.704 GB, free: 4.434 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.01017, allocations: 123.7 kB / 0.7041 GB, free: 4.312 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003975/0.01057, allocations: 371 kB / 0.7045 GB, free: 3.949 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.01057, allocations: 3.938 kB / 0.7045 GB, free: 3.945 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01057, allocations: 0 / 0.7045 GB, free: 3.945 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.01058, allocations: 7.938 kB / 0.7045 GB, free: 3.938 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.001181/0.01176, allocations: 0.6466 MB / 0.7051 GB, free: 3.242 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.01179, allocations: 8.031 kB / 0.7051 GB, free: 3.234 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.02e-05/0.01188, allocations: 36.7 kB / 0.7052 GB, free: 3.199 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003878/0.01227, allocations: 252.7 kB / 0.7054 GB, free: 2.93 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.0123, allocations: 16.88 kB / 0.7054 GB, free: 2.914 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.284e-05/0.01236, allocations: 32.33 kB / 0.7054 GB, free: 2.883 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006904/0.01305, allocations: 363.9 kB / 0.7058 GB, free: 2.508 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.01308, allocations: 8.172 kB / 0.7058 GB, free: 2.5 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.01311, allocations: 12.38 kB / 0.7058 GB, free: 2.488 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.01312, allocations: 15.88 kB / 0.7058 GB, free: 2.473 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007391/0.01386, allocations: 341.1 kB / 0.7062 GB, free: 2.125 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.01528, allocations: 0.7012 MB / 0.7068 GB, free: 1.395 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/0.01714, allocations: 389.6 kB / 0.7072 GB, free: 0.9922 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004145/0.01755, allocations: 232.1 kB / 0.7074 GB, free: 0.75 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.01757, allocations: 4 kB / 0.7074 GB, free: 0.7461 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005844/0.01816, allocations: 448.8 kB / 0.7079 GB, free: 264 kB / 410.8 MB Notification: Performance of pre-optimization done (n=37): time 1.924e-06/0.01816, allocations: 0 / 0.7079 GB, free: 264 kB / 410.8 MB Notification: Performance of matching and sorting (n=39): time 0.003601/0.02176, allocations: 1.429 MB / 0.7093 GB, free: 14.73 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002101/0.02197, allocations: 221.6 kB / 0.7095 GB, free: 14.46 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004374/0.02241, allocations: 257.7 kB / 0.7097 GB, free: 14.2 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 6.804e-05/0.02247, allocations: 41.7 kB / 0.7098 GB, free: 14.16 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.02265, allocations: 152.8 kB / 0.7099 GB, free: 14 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.02283, allocations: 135 kB / 0.71 GB, free: 13.87 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/0.02303, allocations: 82.12 kB / 0.7101 GB, free: 13.78 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002589/0.02329, allocations: 346.8 kB / 0.7104 GB, free: 13.43 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006523/0.02394, allocations: 295.8 kB / 0.7107 GB, free: 13.12 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00077/0.02471, allocations: 405 kB / 0.7111 GB, free: 12.67 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.02595, allocations: 0.5791 MB / 0.7117 GB, free: 12.03 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.02596, allocations: 0 / 0.7117 GB, free: 12.03 MB / 426.8 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001668/0.02762, allocations: 0.7097 MB / 0.7124 GB, free: 11.28 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.02773, allocations: 93.09 kB / 0.7125 GB, free: 11.17 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.02773, allocations: 0 / 0.7125 GB, free: 11.17 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.02776, allocations: 8.281 kB / 0.7125 GB, free: 11.16 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005223/0.02828, allocations: 91.81 kB / 0.7125 GB, free: 11.07 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.0283, allocations: 4 kB / 0.7126 GB, free: 11.07 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.02863, allocations: 31.97 kB / 0.7126 GB, free: 11.04 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.553e-05/0.02867, allocations: 12 kB / 0.7126 GB, free: 11.02 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.0004286/0.0291, allocations: 274.9 kB / 0.7129 GB, free: 10.73 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.14e-05/0.02919, allocations: 35.75 kB / 0.7129 GB, free: 10.7 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.02932, allocations: 42.95 kB / 0.7129 GB, free: 10.66 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.02933, allocations: 4 kB / 0.7129 GB, free: 10.65 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.02933, allocations: 0 / 0.7129 GB, free: 10.65 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.02934, allocations: 0 / 0.7129 GB, free: 10.65 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/0.03161, allocations: 0.9944 MB / 0.7139 GB, free: 9.594 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.03162, allocations: 0 / 0.7139 GB, free: 9.594 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005127/0.03213, allocations: 71.89 kB / 0.714 GB, free: 9.523 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.03213, allocations: 0 / 0.714 GB, free: 9.523 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.013e-05/0.03219, allocations: 23.98 kB / 0.714 GB, free: 9.5 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.03219, allocations: 3.938 kB / 0.714 GB, free: 9.496 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.0322, allocations: 0 / 0.714 GB, free: 9.496 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002159/0.03435, allocations: 0.9723 MB / 0.715 GB, free: 8.469 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-05/0.03443, allocations: 27.84 kB / 0.715 GB, free: 8.441 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.03453, allocations: 19.98 kB / 0.715 GB, free: 8.422 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/0.03485, allocations: 23.98 kB / 0.715 GB, free: 8.398 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.03502, allocations: 43.92 kB / 0.7151 GB, free: 8.355 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.271e-05/0.03506, allocations: 12 kB / 0.7151 GB, free: 8.344 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0003106/0.03537, allocations: 193.1 kB / 0.7153 GB, free: 8.156 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/0.03537, allocations: 0 / 0.7153 GB, free: 8.156 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0006158/0.03599, allocations: 104 kB / 0.7154 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.0002319/0.03622, allocations: 141.1 kB / 0.7155 GB, free: 7.914 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.001551/0.03777, allocations: 0.7217 MB / 0.7162 GB, free: 7.125 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.03777, allocations: 0 / 0.7162 GB, free: 7.125 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0007557/0.03853, allocations: 381.9 kB / 0.7166 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.0008106/0.03934, allocations: 93.08 kB / 0.7166 GB, free: 6.625 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.04193, allocations: 1.037 MB / 0.7177 GB, free: 5.547 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.04227, allocations: 225.6 kB / 0.7179 GB, free: 5.305 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0003606/0.04263, allocations: 106.9 kB / 0.718 GB, free: 5.199 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.04276, allocations: 32.5 kB / 0.718 GB, free: 5.164 MB / 426.8 MB Notification: Performance of SimCode: time 4.51e-07/0.04276, allocations: 0 / 0.718 GB, free: 5.164 MB / 426.8 MB Notification: Performance of Templates: time 0.2251/0.2679, allocations: 4.94 MB / 0.7228 GB, free: 36.29 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.191353405825794]