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.001577/0.001577, allocations: 88.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.001878/0.001878, allocations: 169.8 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 0.931/0.931, allocations: 177.1 MB / 203.5 MB, free: 5.766 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.6949/0.6949, allocations: 291.2 MB / 0.5382 GB, free: 51.86 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.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 1.523e-06/1.523e-06, allocations: 0 / 0.6973 GB, free: 10.44 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.818e-05/2.971e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.43 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_reference): time 0.002314/0.002344, allocations: 2.312 MB / 0.6996 GB, free: 8.105 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007516/0.003095, allocations: 0.5843 MB / 0.7002 GB, free: 7.516 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.225e-05/0.003187, allocations: 4 kB / 0.7002 GB, free: 7.512 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.003315, allocations: 35.7 kB / 0.7002 GB, free: 7.477 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.003534, allocations: 107.2 kB / 0.7003 GB, free: 7.371 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.003717, allocations: 55.92 kB / 0.7003 GB, free: 7.316 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003371/0.004054, allocations: 465.8 kB / 0.7008 GB, free: 6.859 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.004197, allocations: 72.83 kB / 0.7009 GB, free: 6.793 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.004359, allocations: 231.5 kB / 0.7011 GB, free: 6.566 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.004518, allocations: 163.6 kB / 0.7012 GB, free: 6.406 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.641e-05/0.004555, allocations: 28 kB / 0.7013 GB, free: 6.379 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.941e-05/0.004584, allocations: 28 kB / 0.7013 GB, free: 6.352 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.724e-05/0.004651, allocations: 87.66 kB / 0.7014 GB, free: 6.266 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 9.042e-05/0.004742, allocations: 127.7 kB / 0.7015 GB, free: 6.141 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.004982, allocations: 371 kB / 0.7019 GB, free: 5.777 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.004986, allocations: 0 / 0.7019 GB, free: 5.777 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.963e-06/0.004988, allocations: 0 / 0.7019 GB, free: 5.777 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.004994, allocations: 0 / 0.7019 GB, free: 5.777 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.0007573/0.005751, allocations: 0.6388 MB / 0.7025 GB, free: 5.09 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.005789, allocations: 8.031 kB / 0.7025 GB, free: 5.082 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.269e-05/0.005851, allocations: 44.7 kB / 0.7025 GB, free: 5.039 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.00609, allocations: 252.6 kB / 0.7028 GB, free: 4.766 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.006111, allocations: 20.88 kB / 0.7028 GB, free: 4.746 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.631e-05/0.006147, allocations: 28.33 kB / 0.7028 GB, free: 4.719 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.006492, allocations: 363.9 kB / 0.7032 GB, free: 4.348 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.006507, allocations: 4.188 kB / 0.7032 GB, free: 4.344 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.006527, allocations: 12.38 kB / 0.7032 GB, free: 4.332 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.006533, allocations: 7.938 kB / 0.7032 GB, free: 4.324 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003165/0.006849, allocations: 341.1 kB / 0.7035 GB, free: 3.977 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007802/0.00763, allocations: 0.7051 MB / 0.7042 GB, free: 3.242 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004628/0.008092, allocations: 385.6 kB / 0.7046 GB, free: 2.844 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.008266, allocations: 244.1 kB / 0.7048 GB, free: 2.59 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.008278, allocations: 7.938 kB / 0.7048 GB, free: 2.582 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002967/0.008575, allocations: 452.8 kB / 0.7052 GB, free: 2.09 MB / 410.8 MB Notification: Performance of pre-optimization done (n=37): time 2.404e-06/0.008577, allocations: 0 / 0.7052 GB, free: 2.09 MB / 410.8 MB Notification: Performance of matching and sorting (n=39): time 0.00155/0.01013, allocations: 1.425 MB / 0.7066 GB, free: 0.5664 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.01019, allocations: 221.6 kB / 0.7068 GB, free: 308 kB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.01042, allocations: 261.7 kB / 0.7071 GB, free: 32 kB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.724e-05/0.01046, allocations: 37.78 kB / 0.7071 GB, free: 15.98 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.01058, allocations: 156.8 kB / 0.7073 GB, free: 15.82 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.795e-05/0.01068, allocations: 130.9 kB / 0.7074 GB, free: 15.7 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.01079, allocations: 86.12 kB / 0.7075 GB, free: 15.61 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.01091, allocations: 342.8 kB / 0.7078 GB, free: 15.27 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.01122, allocations: 303.8 kB / 0.7081 GB, free: 14.95 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004193/0.01164, allocations: 401 kB / 0.7085 GB, free: 14.5 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006533/0.0123, allocations: 0.5751 MB / 0.709 GB, free: 13.87 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.0123, allocations: 0 / 0.709 GB, free: 13.87 MB / 426.8 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00097/0.01327, allocations: 0.7099 MB / 0.7097 GB, free: 13.11 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.447e-05/0.01333, allocations: 93.12 kB / 0.7098 GB, free: 13 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.01334, allocations: 4 kB / 0.7098 GB, free: 13 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.01336, allocations: 4 kB / 0.7098 GB, free: 13 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/0.01368, allocations: 95.75 kB / 0.7099 GB, free: 12.9 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.01369, allocations: 4 kB / 0.7099 GB, free: 12.9 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.01391, allocations: 23.98 kB / 0.71 GB, free: 12.88 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.01395, allocations: 16 kB / 0.71 GB, free: 12.86 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.00032/0.01427, allocations: 270.1 kB / 0.7102 GB, free: 12.57 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.067e-05/0.01433, allocations: 31.81 kB / 0.7103 GB, free: 12.54 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.128e-05/0.0144, allocations: 42.95 kB / 0.7103 GB, free: 12.5 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.0144, allocations: 4 kB / 0.7103 GB, free: 12.5 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.01441, allocations: 0 / 0.7103 GB, free: 12.5 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.01442, allocations: 7.922 kB / 0.7103 GB, free: 12.49 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.01583, allocations: 0.9944 MB / 0.7113 GB, free: 11.43 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.01584, allocations: 0 / 0.7113 GB, free: 11.43 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.01606, allocations: 67.89 kB / 0.7113 GB, free: 11.36 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.864e-06/0.01607, allocations: 4 kB / 0.7113 GB, free: 11.36 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.0161, allocations: 11.98 kB / 0.7114 GB, free: 11.35 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.0161, allocations: 4 kB / 0.7114 GB, free: 11.34 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.0161, allocations: 0 / 0.7114 GB, free: 11.34 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00087/0.01697, allocations: 0.9723 MB / 0.7123 GB, free: 10.32 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-05/0.01703, allocations: 35.8 kB / 0.7123 GB, free: 10.28 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.777e-05/0.01708, allocations: 23.98 kB / 0.7124 GB, free: 10.26 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.0172, allocations: 23.98 kB / 0.7124 GB, free: 10.23 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.572e-05/0.01727, allocations: 39.92 kB / 0.7124 GB, free: 10.2 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.01729, allocations: 19.94 kB / 0.7124 GB, free: 10.18 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001365/0.01743, allocations: 193.1 kB / 0.7126 GB, free: 9.988 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01743, allocations: 0 / 0.7126 GB, free: 9.988 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002816/0.01771, allocations: 104 kB / 0.7127 GB, free: 9.887 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.0001245/0.01783, allocations: 146.4 kB / 0.7129 GB, free: 9.742 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0005897/0.01842, allocations: 0.7217 MB / 0.7136 GB, free: 8.953 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01842, allocations: 0 / 0.7136 GB, free: 8.953 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002671/0.01869, allocations: 374.5 kB / 0.7139 GB, free: 8.551 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.01901, allocations: 96.27 kB / 0.714 GB, free: 8.461 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.0201, allocations: 1.055 MB / 0.7151 GB, free: 7.359 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.02022, allocations: 213.6 kB / 0.7153 GB, free: 7.129 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.083e-05/0.02029, allocations: 28.5 kB / 0.7153 GB, free: 7.098 MB / 426.8 MB Notification: Performance of SimCode: time 4.51e-07/0.02029, allocations: 7.938 kB / 0.7153 GB, free: 7.09 MB / 426.8 MB Notification: Performance of Templates: time 0.004495/0.02479, allocations: 4.923 MB / 0.7201 GB, free: 2.191 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 > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.598157719708979]