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.002544/0.002544, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.003067/0.003067, allocations: 219.6 kB / 22.25 MB, free: 3.559 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 1.713/1.713, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.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.417/1.417, allocations: 316.7 MB / 0.6144 GB, free: 93.06 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.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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004221/0.004221, allocations: 77.67 kB / 0.775 GB, free: 14.73 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1831, allocations: 73.99 MB / 0.8472 GB, free: 4.883 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BD08_CoagulationFactorViia.CoagulationFactorViia): time 0.004649/0.1878, allocations: 2.311 MB / 0.8495 GB, free: 2.574 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1892, allocations: 0.5909 MB / 0.8501 GB, free: 1.988 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.1893, allocations: 4.625 kB / 0.8501 GB, free: 1.984 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.1894, allocations: 27.66 kB / 0.8501 GB, free: 1.957 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.1897, allocations: 76.5 kB / 0.8502 GB, free: 1.883 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.1899, allocations: 56.58 kB / 0.8502 GB, free: 1.828 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003753/0.1903, allocations: 259.3 kB / 0.8505 GB, free: 1.574 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.1905, allocations: 28.58 kB / 0.8505 GB, free: 1.547 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.1906, allocations: 100.1 kB / 0.8506 GB, free: 1.449 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.1909, allocations: 100.1 kB / 0.8507 GB, free: 1.352 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.496e-05/0.1909, allocations: 16.62 kB / 0.8507 GB, free: 1.336 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.601e-05/0.191, allocations: 20 kB / 0.8507 GB, free: 1.316 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.943e-05/0.191, allocations: 32.61 kB / 0.8508 GB, free: 1.285 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.1912, allocations: 91.58 kB / 0.8508 GB, free: 1.195 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.1915, allocations: 199.9 kB / 0.851 GB, free: 1 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.1915, allocations: 4 kB / 0.851 GB, free: 0.9961 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1915, allocations: 0.625 kB / 0.851 GB, free: 0.9961 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1915, allocations: 0 / 0.851 GB, free: 0.9961 MB / 474.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.001075/0.1926, allocations: 0.4912 MB / 0.8515 GB, free: 472 kB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.1926, allocations: 8.031 kB / 0.8515 GB, free: 464 kB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.739e-05/0.1927, allocations: 26.11 kB / 0.8516 GB, free: 440 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.193, allocations: 187.1 kB / 0.8517 GB, free: 224 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.193, allocations: 8.609 kB / 0.8517 GB, free: 216 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.049e-05/0.1931, allocations: 23.89 kB / 0.8518 GB, free: 192 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004384/0.1935, allocations: 187.5 kB / 0.8519 GB, free: 15.99 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.1936, allocations: 0 / 0.8519 GB, free: 15.99 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.1936, allocations: 9.75 kB / 0.852 GB, free: 15.98 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.954e-06/0.1936, allocations: 0 / 0.852 GB, free: 15.98 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003984/0.194, allocations: 150.2 kB / 0.8521 GB, free: 15.83 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009171/0.1949, allocations: 480.7 kB / 0.8526 GB, free: 15.33 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005399/0.1954, allocations: 176.1 kB / 0.8527 GB, free: 15.14 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.1956, allocations: 94.52 kB / 0.8528 GB, free: 15.04 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.1957, allocations: 5.875 kB / 0.8528 GB, free: 15.04 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004282/0.1961, allocations: 234.8 kB / 0.853 GB, free: 14.78 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.322e-06/0.1961, allocations: 0 / 0.853 GB, free: 14.78 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001926/0.198, allocations: 0.6975 MB / 0.8537 GB, free: 14.02 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.1981, allocations: 132.5 kB / 0.8538 GB, free: 13.86 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.1984, allocations: 219 kB / 0.8541 GB, free: 13.64 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.1984, allocations: 34.28 kB / 0.8541 GB, free: 13.6 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.1986, allocations: 140.4 kB / 0.8542 GB, free: 13.46 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.768e-05/0.1987, allocations: 72.02 kB / 0.8543 GB, free: 13.39 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.1988, allocations: 58.28 kB / 0.8543 GB, free: 13.32 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.000224/0.199, allocations: 334.8 kB / 0.8547 GB, free: 12.99 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/0.1993, allocations: 145.5 kB / 0.8548 GB, free: 12.83 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000338/0.1997, allocations: 222.6 kB / 0.855 GB, free: 12.57 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.344/0.5436, allocations: 279.9 kB / 0.8553 GB, free: 28.24 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.5436, allocations: 0 / 0.8553 GB, free: 28.24 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006973/0.5443, allocations: 389.9 kB / 0.8557 GB, free: 28.08 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.256e-05/0.5444, allocations: 70.5 kB / 0.8557 GB, free: 28.02 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.5444, allocations: 1.484 kB / 0.8557 GB, free: 28.02 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.5444, allocations: 5.734 kB / 0.8557 GB, free: 28.02 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.5446, allocations: 49.22 kB / 0.8558 GB, free: 28.02 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.5446, allocations: 6.641 kB / 0.8558 GB, free: 28.02 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.5448, allocations: 17.86 kB / 0.8558 GB, free: 28.02 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.5448, allocations: 12.06 kB / 0.8558 GB, free: 28.02 MB / 490.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.0001884/0.545, allocations: 171.2 kB / 0.856 GB, free: 27.88 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.5451, allocations: 27.16 kB / 0.856 GB, free: 27.88 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.879e-05/0.5451, allocations: 24.72 kB / 0.856 GB, free: 27.87 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.5451, allocations: 5.641 kB / 0.856 GB, free: 27.87 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.5451, allocations: 0 / 0.856 GB, free: 27.87 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.5451, allocations: 4.656 kB / 0.856 GB, free: 27.87 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007457/0.5459, allocations: 0.5302 MB / 0.8566 GB, free: 27.57 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5459, allocations: 2.531 kB / 0.8566 GB, free: 27.57 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.5461, allocations: 36.19 kB / 0.8566 GB, free: 27.57 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.5461, allocations: 0.5 kB / 0.8566 GB, free: 27.57 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.5461, allocations: 12.66 kB / 0.8566 GB, free: 27.57 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.5461, allocations: 2.375 kB / 0.8566 GB, free: 27.57 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.5461, allocations: 1.172 kB / 0.8566 GB, free: 27.57 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006885/0.5468, allocations: 0.49 MB / 0.8571 GB, free: 27.34 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.5468, allocations: 23.67 kB / 0.8571 GB, free: 27.34 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.575e-05/0.5469, allocations: 8.672 kB / 0.8571 GB, free: 27.34 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.547, allocations: 13.41 kB / 0.8571 GB, free: 27.34 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.17e-05/0.5471, allocations: 24.11 kB / 0.8572 GB, free: 27.34 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.5471, allocations: 7.375 kB / 0.8572 GB, free: 27.34 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000147/0.5473, allocations: 158.2 kB / 0.8573 GB, free: 27.27 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5473, allocations: 0.625 kB / 0.8573 GB, free: 27.27 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003119/0.5476, allocations: 60.09 kB / 0.8574 GB, free: 27.26 MB / 490.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.0001146/0.5477, allocations: 118.2 kB / 0.8575 GB, free: 27.18 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005317/0.5482, allocations: 383 kB / 0.8578 GB, free: 26.96 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.5482, allocations: 0.5625 kB / 0.8578 GB, free: 26.96 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.5485, allocations: 172.5 kB / 0.858 GB, free: 26.86 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004815/0.549, allocations: 70.98 kB / 0.8581 GB, free: 26.86 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.5502, allocations: 0.6735 MB / 0.8587 GB, free: 26.59 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.92e-05/0.5503, allocations: 129.8 kB / 0.8589 GB, free: 26.51 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.5504, allocations: 25.3 kB / 0.8589 GB, free: 26.5 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.275e-05/0.5504, allocations: 25.56 kB / 0.8589 GB, free: 26.5 MB / 490.8 MB Notification: Performance of SimCode: time 6.41e-07/0.5504, allocations: 0.5 kB / 0.8589 GB, free: 26.5 MB / 490.8 MB Notification: Performance of Templates: time 0.008442/0.5589, allocations: 3.644 MB / 0.8625 GB, free: 26.21 MB / 490.8 MB " [Timeout remaining time 659] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BD08_CoagulationFactorViia.CoagulationFactorViia.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.892570937052369]