Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BD08_CoagulationFactorViia.CoagulationFactorViia.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.001371/0.001371, 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.001003/0.001003, allocations: 169.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.005/1.005, allocations: 177.1 MB / 203.5 MB, free: 5.762 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.7347/0.7347, 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.B02B_VitaminKAndOtherHemostatics.B02BD08_CoagulationFactorViia.CoagulationFactorViia,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BD08_CoagulationFactorViia.CoagulationFactorViia") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BD08_CoagulationFactorViia.CoagulationFactorViia,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BD08_CoagulationFactorViia.CoagulationFactorViia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.6973 GB, free: 10.4 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.374e-05/4.599e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.39 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BD08_CoagulationFactorViia.CoagulationFactorViia): time 0.003866/0.003912, allocations: 2.291 MB / 0.6996 GB, free: 8.086 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.00517, allocations: 0.6077 MB / 0.7002 GB, free: 7.477 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.005325, allocations: 3.938 kB / 0.7002 GB, free: 7.473 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.005487, allocations: 23.77 kB / 0.7002 GB, free: 7.449 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002753/0.005763, allocations: 87.28 kB / 0.7003 GB, free: 7.363 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.006099, allocations: 55.86 kB / 0.7003 GB, free: 7.309 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000316/0.006415, allocations: 262.6 kB / 0.7006 GB, free: 7.051 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.006588, allocations: 40.5 kB / 0.7006 GB, free: 7.016 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.006794, allocations: 139.6 kB / 0.7008 GB, free: 6.879 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002436/0.007038, allocations: 83.72 kB / 0.7008 GB, free: 6.797 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.166e-05/0.00708, allocations: 16 kB / 0.7008 GB, free: 6.781 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.431e-05/0.007114, allocations: 20 kB / 0.7009 GB, free: 6.762 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.794e-05/0.007152, allocations: 35.84 kB / 0.7009 GB, free: 6.727 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 9.517e-05/0.007247, allocations: 79.77 kB / 0.701 GB, free: 6.648 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.007522, allocations: 196 kB / 0.7012 GB, free: 6.457 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.007528, allocations: 4 kB / 0.7012 GB, free: 6.453 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.555e-06/0.007531, allocations: 0 / 0.7012 GB, free: 6.453 MB / 410.8 MB Notification: Performance of Transformations before backend: time 9.218e-06/0.00754, allocations: 0 / 0.7012 GB, free: 6.453 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.0009269/0.008467, allocations: 492.8 kB / 0.7016 GB, free: 5.926 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.008526, allocations: 12.03 kB / 0.7017 GB, free: 5.914 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.483e-05/0.008611, allocations: 28.8 kB / 0.7017 GB, free: 5.887 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.008912, allocations: 182.4 kB / 0.7019 GB, free: 5.68 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/0.008941, allocations: 8.609 kB / 0.7019 GB, free: 5.672 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.008983, allocations: 16.38 kB / 0.7019 GB, free: 5.656 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003838/0.009366, allocations: 194.5 kB / 0.7021 GB, free: 5.453 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.009388, allocations: 7.938 kB / 0.7021 GB, free: 5.445 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.009412, allocations: 8 kB / 0.7021 GB, free: 5.438 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.009419, allocations: 0 / 0.7021 GB, free: 5.438 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003456/0.009765, allocations: 154.2 kB / 0.7022 GB, free: 5.281 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007886/0.01055, allocations: 481.4 kB / 0.7027 GB, free: 4.777 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004966/0.01105, allocations: 180.1 kB / 0.7029 GB, free: 4.586 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.01121, allocations: 98.52 kB / 0.7029 GB, free: 4.48 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.01122, allocations: 0 / 0.7029 GB, free: 4.48 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000317/0.01154, allocations: 236.4 kB / 0.7032 GB, free: 4.219 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 3.246e-06/0.01154, allocations: 0 / 0.7032 GB, free: 4.219 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.001431/0.01298, allocations: 0.7008 MB / 0.7039 GB, free: 3.457 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.01303, allocations: 132.5 kB / 0.704 GB, free: 3.297 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.01322, allocations: 223 kB / 0.7042 GB, free: 3.07 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.01325, allocations: 33.69 kB / 0.7042 GB, free: 3.031 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.01332, allocations: 132.5 kB / 0.7044 GB, free: 2.898 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.769e-05/0.01337, allocations: 75.41 kB / 0.7044 GB, free: 2.824 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.997e-05/0.01345, allocations: 49.7 kB / 0.7045 GB, free: 2.77 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.481e-05/0.0135, allocations: 338.8 kB / 0.7048 GB, free: 2.43 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.01372, allocations: 145 kB / 0.7049 GB, free: 2.27 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.01392, allocations: 221.3 kB / 0.7051 GB, free: 2.008 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.01428, allocations: 282.3 kB / 0.7054 GB, free: 1.691 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01428, allocations: 0 / 0.7054 GB, free: 1.691 MB / 410.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005576/0.01484, allocations: 391.9 kB / 0.7058 GB, free: 1.277 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.416e-05/0.01488, allocations: 59.41 kB / 0.7058 GB, free: 1.207 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.01489, allocations: 7.984 kB / 0.7059 GB, free: 1.199 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.01492, allocations: 0 / 0.7059 GB, free: 1.199 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.01512, allocations: 59.84 kB / 0.7059 GB, free: 1.141 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.01513, allocations: 4 kB / 0.7059 GB, free: 1.137 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.01531, allocations: 15.98 kB / 0.7059 GB, free: 1.121 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.01533, allocations: 12.22 kB / 0.7059 GB, free: 1.109 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.0002176/0.01555, allocations: 175.7 kB / 0.7061 GB, free: 0.9219 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.01558, allocations: 19.91 kB / 0.7061 GB, free: 0.9023 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.927e-05/0.01563, allocations: 29.89 kB / 0.7062 GB, free: 0.8711 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.01564, allocations: 0 / 0.7062 GB, free: 0.8711 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.01564, allocations: 7.938 kB / 0.7062 GB, free: 0.8633 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.01565, allocations: 0 / 0.7062 GB, free: 0.8633 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007225/0.01637, allocations: 0.5432 MB / 0.7067 GB, free: 280 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.01637, allocations: 0 / 0.7067 GB, free: 280 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.01655, allocations: 35.97 kB / 0.7067 GB, free: 244 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.01655, allocations: 4 kB / 0.7067 GB, free: 240 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.01657, allocations: 0 / 0.7067 GB, free: 240 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.01658, allocations: 4 kB / 0.7067 GB, free: 236 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.01658, allocations: 3.938 kB / 0.7067 GB, free: 232 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000713/0.01729, allocations: 0.4929 MB / 0.7072 GB, free: 15.7 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.033e-05/0.01734, allocations: 23.89 kB / 0.7072 GB, free: 15.68 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/0.01739, allocations: 8.094 kB / 0.7073 GB, free: 15.67 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.01755, allocations: 15.98 kB / 0.7073 GB, free: 15.65 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.01765, allocations: 23.95 kB / 0.7073 GB, free: 15.63 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.01767, allocations: 8 kB / 0.7073 GB, free: 15.62 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001683/0.01784, allocations: 160.4 kB / 0.7075 GB, free: 15.46 MB / 426.8 MB Notification: Performance of sort global known variables: time 2.3e-07/0.01784, allocations: 0 / 0.7075 GB, free: 15.46 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003367/0.01817, allocations: 52 kB / 0.7075 GB, free: 15.41 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.000166/0.01834, allocations: 127.1 kB / 0.7076 GB, free: 15.28 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0006051/0.01895, allocations: 382.2 kB / 0.708 GB, free: 14.87 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.01895, allocations: 0 / 0.708 GB, free: 14.87 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002435/0.01919, allocations: 170.9 kB / 0.7081 GB, free: 14.68 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.01969, allocations: 71.14 kB / 0.7082 GB, free: 14.62 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.02094, allocations: 0.5992 MB / 0.7088 GB, free: 13.98 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.02106, allocations: 121.6 kB / 0.7089 GB, free: 13.84 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.093e-05/0.02114, allocations: 24.5 kB / 0.7089 GB, free: 13.82 MB / 426.8 MB Notification: Performance of SimCode: time 9.12e-07/0.02114, allocations: 0 / 0.7089 GB, free: 13.82 MB / 426.8 MB Notification: Performance of Templates: time 0.005837/0.02697, allocations: 2.952 MB / 0.7118 GB, free: 10.89 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BD08_CoagulationFactorViia.CoagulationFactorViia.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BD08_CoagulationFactorViia.CoagulationFactorViia.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BD08_CoagulationFactorViia.CoagulationFactorViia.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BD08_CoagulationFactorViia.CoagulationFactorViia.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BD08_CoagulationFactorViia.CoagulationFactorViia.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BD08_CoagulationFactorViia.CoagulationFactorViia > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BD08_CoagulationFactorViia.CoagulationFactorViia.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.603056252934039]