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.0007269/0.0007269, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009387/0.001666, allocations: 443.8 kB / 10.3 MB, free: 400 kB / 10.45 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.0008261/0.0008261, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009604/0.001787, allocations: 463.6 kB / 11.64 MB, free: 2.527 MB / 13.93 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.9766/0.9766, allocations: 177.2 MB / 189.5 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08066/1.057, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.7593/0.7593, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0282/0.7875, allocations: 21.04 MB / 0.5431 GB, free: 31.95 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 1.393e-06/1.393e-06, allocations: 0 / 0.5444 GB, free: 30.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03e-05/1.169e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BD08_CoagulationFactorViia.CoagulationFactorViia): time 0.001944/0.001956, allocations: 2.487 MB / 0.5469 GB, free: 28.1 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006785/0.002634, allocations: 0.6232 MB / 0.5475 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.783e-05/0.002702, allocations: 0 / 0.5475 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.277e-05/0.002755, allocations: 23.72 kB / 0.5475 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.002867, allocations: 91.27 kB / 0.5476 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001134/0.002981, allocations: 51.86 kB / 0.5476 GB, free: 27.31 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.003166, allocations: 270.6 kB / 0.5479 GB, free: 27.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.003269, allocations: 38.47 kB / 0.5479 GB, free: 27.01 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.003428, allocations: 176.2 kB / 0.5481 GB, free: 26.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.003572, allocations: 87.72 kB / 0.5482 GB, free: 26.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.003597, allocations: 16 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.371e-05/0.003621, allocations: 20 kB / 0.5482 GB, free: 26.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.734e-05/0.003648, allocations: 27.88 kB / 0.5482 GB, free: 26.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.271e-05/0.003701, allocations: 63.88 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.003846, allocations: 135.5 kB / 0.5484 GB, free: 26.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.521e-05/0.003862, allocations: 0 / 0.5484 GB, free: 26.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003862, allocations: 0 / 0.5484 GB, free: 26.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.003876, allocations: 0 / 0.5484 GB, free: 26.49 MB / 410.7 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.0005379/0.004414, allocations: 0.4937 MB / 0.5489 GB, free: 25.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/0.004443, allocations: 19.89 kB / 0.5489 GB, free: 25.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.004486, allocations: 28.91 kB / 0.549 GB, free: 25.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.004632, allocations: 175.1 kB / 0.5491 GB, free: 25.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.004652, allocations: 10.3 kB / 0.5491 GB, free: 25.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.004675, allocations: 16.38 kB / 0.5492 GB, free: 25.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.004824, allocations: 159.5 kB / 0.5493 GB, free: 25.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.004836, allocations: 0 / 0.5493 GB, free: 25.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.004846, allocations: 4 kB / 0.5493 GB, free: 25.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.004851, allocations: 4 kB / 0.5493 GB, free: 25.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.562e-05/0.004927, allocations: 84.62 kB / 0.5494 GB, free: 25.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.005284, allocations: 368.9 kB / 0.5498 GB, free: 25.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.005459, allocations: 108.1 kB / 0.5499 GB, free: 24.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.443e-05/0.005503, allocations: 58.55 kB / 0.5499 GB, free: 24.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.005512, allocations: 4 kB / 0.5499 GB, free: 24.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.005651, allocations: 196.3 kB / 0.5501 GB, free: 24.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.005653, allocations: 0 / 0.5501 GB, free: 24.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004941/0.006147, allocations: 0.5084 MB / 0.5506 GB, free: 24.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.006177, allocations: 132.5 kB / 0.5507 GB, free: 23.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.906e-05/0.006256, allocations: 206.1 kB / 0.5509 GB, free: 23.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.006266, allocations: 29.7 kB / 0.5509 GB, free: 23.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.142e-05/0.006297, allocations: 124.4 kB / 0.5511 GB, free: 23.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.006327, allocations: 67.41 kB / 0.5511 GB, free: 23.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.006373, allocations: 55.19 kB / 0.5512 GB, free: 23.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.605e-05/0.006409, allocations: 334.8 kB / 0.5515 GB, free: 23.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.878e-05/0.006468, allocations: 109 kB / 0.5516 GB, free: 22.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.9e-05/0.006527, allocations: 169.3 kB / 0.5518 GB, free: 22.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.66e-05/0.006624, allocations: 219 kB / 0.552 GB, free: 22.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.006625, allocations: 0 / 0.552 GB, free: 22.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001457/0.006771, allocations: 262.2 kB / 0.5522 GB, free: 22.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.006799, allocations: 67.39 kB / 0.5523 GB, free: 22.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.006804, allocations: 0 / 0.5523 GB, free: 22.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.188e-06/0.006814, allocations: 4 kB / 0.5523 GB, free: 22.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.006965, allocations: 59.91 kB / 0.5524 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.006969, allocations: 7.938 kB / 0.5524 GB, free: 22.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.97e-05/0.007049, allocations: 20.14 kB / 0.5524 GB, free: 22.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.007061, allocations: 16 kB / 0.5524 GB, free: 22 MB / 410.7 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 8.829e-05/0.007149, allocations: 166.3 kB / 0.5526 GB, free: 21.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.007168, allocations: 19.98 kB / 0.5526 GB, free: 21.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/0.007196, allocations: 25.95 kB / 0.5526 GB, free: 21.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.007197, allocations: 0 / 0.5526 GB, free: 21.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.007199, allocations: 0 / 0.5526 GB, free: 21.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.007203, allocations: 3.984 kB / 0.5526 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.007448, allocations: 385 kB / 0.553 GB, free: 21.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.00745, allocations: 3.938 kB / 0.553 GB, free: 21.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.007569, allocations: 43.97 kB / 0.553 GB, free: 21.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.973e-05/0.007589, allocations: 15.86 kB / 0.553 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.007591, allocations: 4 kB / 0.553 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.007602, allocations: 3.984 kB / 0.553 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.007603, allocations: 0 / 0.553 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.007604, allocations: 3.312 kB / 0.553 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.007776, allocations: 353 kB / 0.5534 GB, free: 20.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.0078, allocations: 12 kB / 0.5534 GB, free: 20.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.332e-05/0.007873, allocations: 11.98 kB / 0.5534 GB, free: 20.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.007916, allocations: 15.97 kB / 0.5534 GB, free: 20.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.007926, allocations: 11.94 kB / 0.5534 GB, free: 20.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.175e-05/0.007967, allocations: 65.94 kB / 0.5535 GB, free: 20.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007967, allocations: 0 / 0.5535 GB, free: 20.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001634/0.008131, allocations: 56 kB / 0.5535 GB, free: 20.74 MB / 410.7 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 6.193e-05/0.008193, allocations: 96.45 kB / 0.5536 GB, free: 20.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.008366, allocations: 316.5 kB / 0.5539 GB, free: 20.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.00837, allocations: 0 / 0.5539 GB, free: 20.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.817e-05/0.008428, allocations: 141.9 kB / 0.5541 GB, free: 20.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.008659, allocations: 92.91 kB / 0.5542 GB, free: 20.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005599/0.01426, allocations: 0.5823 MB / 0.5547 GB, free: 19.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.311e-05/0.01431, allocations: 129.6 kB / 0.5549 GB, free: 19.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.01446, allocations: 119.3 kB / 0.555 GB, free: 19.17 MB / 410.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01446, allocations: 0 / 0.555 GB, free: 19.17 MB / 410.7 MB Notification: Performance of Templates: time 0.00256/0.01702, allocations: 2.924 MB / 0.5578 GB, free: 16.29 MB / 410.7 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: 4.1298295222222805]