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.001248/0.001248, 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.00135/0.00135, 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 0.8503/0.8503, 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.6661/0.6661, allocations: 291.1 MB / 0.5382 GB, free: 51.82 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,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.763e-06/1.763e-06, allocations: 3.938 kB / 0.6973 GB, free: 10.41 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.682e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.41 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol): time 0.003836/0.003863, allocations: 2.31 MB / 0.6996 GB, free: 8.078 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.005159, allocations: 0.5921 MB / 0.7002 GB, free: 7.48 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.005314, allocations: 0 / 0.7002 GB, free: 7.48 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.005482, allocations: 31.7 kB / 0.7002 GB, free: 7.449 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003346/0.005816, allocations: 111.2 kB / 0.7003 GB, free: 7.34 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.006121, allocations: 55.86 kB / 0.7004 GB, free: 7.285 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005272/0.006648, allocations: 469.8 kB / 0.7008 GB, free: 6.824 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/0.006863, allocations: 60.84 kB / 0.7009 GB, free: 6.77 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003136/0.007177, allocations: 235.5 kB / 0.7011 GB, free: 6.539 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002892/0.007466, allocations: 171.6 kB / 0.7013 GB, free: 6.371 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 6.117e-05/0.007527, allocations: 28 kB / 0.7013 GB, free: 6.344 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.745e-05/0.007584, allocations: 28 kB / 0.7013 GB, free: 6.316 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 8.703e-05/0.007671, allocations: 87.67 kB / 0.7014 GB, free: 6.23 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.007819, allocations: 123.7 kB / 0.7015 GB, free: 6.109 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004015/0.008221, allocations: 363 kB / 0.7019 GB, free: 5.754 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.008225, allocations: 0 / 0.7019 GB, free: 5.754 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.873e-06/0.008227, allocations: 0 / 0.7019 GB, free: 5.754 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.008237, allocations: 0 / 0.7019 GB, free: 5.754 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.001108/0.009345, allocations: 0.6505 MB / 0.7025 GB, free: 5.055 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.009389, allocations: 12.03 kB / 0.7025 GB, free: 5.043 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.847e-05/0.009487, allocations: 40.64 kB / 0.7026 GB, free: 5.004 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004534/0.009941, allocations: 244.7 kB / 0.7028 GB, free: 4.742 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.009967, allocations: 24.86 kB / 0.7028 GB, free: 4.719 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.311e-05/0.01001, allocations: 28.33 kB / 0.7028 GB, free: 4.691 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004115/0.01042, allocations: 363.9 kB / 0.7032 GB, free: 4.316 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.01044, allocations: 192 / 0.7032 GB, free: 4.316 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.01046, allocations: 8.375 kB / 0.7032 GB, free: 4.309 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.01046, allocations: 7.938 kB / 0.7032 GB, free: 4.301 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003628/0.01083, allocations: 349.1 kB / 0.7035 GB, free: 3.945 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.01187, allocations: 0.7051 MB / 0.7042 GB, free: 3.211 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006081/0.01248, allocations: 393.6 kB / 0.7046 GB, free: 2.805 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002447/0.01273, allocations: 236.1 kB / 0.7048 GB, free: 2.559 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.01274, allocations: 0 / 0.7048 GB, free: 2.559 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004053/0.01315, allocations: 448.8 kB / 0.7053 GB, free: 2.07 MB / 410.8 MB Notification: Performance of pre-optimization done (n=37): time 1.903e-06/0.01315, allocations: 0 / 0.7053 GB, free: 2.07 MB / 410.8 MB Notification: Performance of matching and sorting (n=39): time 0.001658/0.01481, allocations: 1.433 MB / 0.7067 GB, free: 0.5391 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.01486, allocations: 221.6 kB / 0.7069 GB, free: 280 kB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.01501, allocations: 257.7 kB / 0.7071 GB, free: 12 kB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.01505, allocations: 41.69 kB / 0.7071 GB, free: 15.96 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.764e-05/0.01514, allocations: 160.7 kB / 0.7073 GB, free: 15.8 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.088e-05/0.01521, allocations: 135 kB / 0.7074 GB, free: 15.67 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.298e-05/0.01529, allocations: 78.2 kB / 0.7075 GB, free: 15.59 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.01539, allocations: 350.7 kB / 0.7078 GB, free: 15.23 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/0.01567, allocations: 299.8 kB / 0.7081 GB, free: 14.92 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.016, allocations: 401 kB / 0.7085 GB, free: 14.47 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000502/0.0165, allocations: 0.5713 MB / 0.7091 GB, free: 13.84 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.0165, allocations: 0 / 0.7091 GB, free: 13.84 MB / 426.8 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007472/0.01725, allocations: 0.7138 MB / 0.7098 GB, free: 13.08 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.08e-05/0.01733, allocations: 97.05 kB / 0.7099 GB, free: 12.97 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.01734, allocations: 0 / 0.7099 GB, free: 12.97 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.01737, allocations: 4 kB / 0.7099 GB, free: 12.96 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.01764, allocations: 91.81 kB / 0.7099 GB, free: 12.88 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.01765, allocations: 4 kB / 0.7099 GB, free: 12.87 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.01778, allocations: 27.97 kB / 0.71 GB, free: 12.84 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.0178, allocations: 16 kB / 0.71 GB, free: 12.83 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.0002643/0.01806, allocations: 281 kB / 0.7103 GB, free: 12.54 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.0181, allocations: 31.81 kB / 0.7103 GB, free: 12.5 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.508e-05/0.01816, allocations: 38.97 kB / 0.7103 GB, free: 12.46 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.01816, allocations: 0 / 0.7103 GB, free: 12.46 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.01817, allocations: 7.984 kB / 0.7103 GB, free: 12.46 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.01818, allocations: 0 / 0.7103 GB, free: 12.46 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009675/0.01914, allocations: 0.9905 MB / 0.7113 GB, free: 11.4 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.01915, allocations: 0 / 0.7113 GB, free: 11.4 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.01934, allocations: 67.94 kB / 0.7114 GB, free: 11.34 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.01934, allocations: 0 / 0.7114 GB, free: 11.34 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.01936, allocations: 19.98 kB / 0.7114 GB, free: 11.32 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.01937, allocations: 0 / 0.7114 GB, free: 11.32 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.01937, allocations: 3.938 kB / 0.7114 GB, free: 11.31 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008204/0.02019, allocations: 0.9723 MB / 0.7123 GB, free: 10.29 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.979e-05/0.02022, allocations: 23.84 kB / 0.7124 GB, free: 10.26 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.817e-05/0.02027, allocations: 27.92 kB / 0.7124 GB, free: 10.23 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.02037, allocations: 23.97 kB / 0.7124 GB, free: 10.21 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.48e-05/0.02047, allocations: 39.94 kB / 0.7124 GB, free: 10.17 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.02048, allocations: 12 kB / 0.7125 GB, free: 10.16 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001265/0.02061, allocations: 197.1 kB / 0.7126 GB, free: 9.969 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.02061, allocations: 0 / 0.7126 GB, free: 9.969 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002233/0.02083, allocations: 100 kB / 0.7127 GB, free: 9.871 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.0001172/0.02095, allocations: 138.9 kB / 0.7129 GB, free: 9.73 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0005963/0.02155, allocations: 0.7256 MB / 0.7136 GB, free: 8.938 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.02155, allocations: 4.5 kB / 0.7136 GB, free: 8.934 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000267/0.02181, allocations: 381.9 kB / 0.714 GB, free: 8.523 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.02214, allocations: 88.58 kB / 0.714 GB, free: 8.438 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.02328, allocations: 1.063 MB / 0.7151 GB, free: 7.328 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.02342, allocations: 205.6 kB / 0.7153 GB, free: 7.105 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.889e-05/0.02349, allocations: 36.48 kB / 0.7153 GB, free: 7.066 MB / 426.8 MB Notification: Performance of SimCode: time 7.81e-07/0.02349, allocations: 4 kB / 0.7153 GB, free: 7.062 MB / 426.8 MB Notification: Performance of Templates: time 0.004612/0.02811, allocations: 4.926 MB / 0.7201 GB, free: 2.168 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 > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.151436725631356]