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.001207/0.001207, allocations: 108.3 kB / 19.71 MB, free: 436 kB / 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.001242/0.001242, allocations: 217.3 kB / 23 MB, free: 2.965 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.037/1.037, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.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.7609/0.7609, allocations: 312.3 MB / 0.6108 GB, free: 97.54 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: 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.001572/0.001572, allocations: 80.91 kB / 0.7699 GB, free: 20.19 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1402, allocations: 73.99 MB / 0.8421 GB, free: 10.33 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02B_VitaminKAndOtherHemostatics.B02BD08_CoagulationFactorViia.CoagulationFactorViia): time 0.00283/0.143, allocations: 2.308 MB / 0.8444 GB, free: 8.023 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009162/0.1439, allocations: 0.5951 MB / 0.845 GB, free: 7.434 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.144, allocations: 0.7188 kB / 0.845 GB, free: 7.434 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.1441, allocations: 27.72 kB / 0.845 GB, free: 7.406 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.1443, allocations: 80.61 kB / 0.8451 GB, free: 7.328 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.1446, allocations: 48.56 kB / 0.8451 GB, free: 7.281 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002947/0.1449, allocations: 259.3 kB / 0.8454 GB, free: 7.027 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.145, allocations: 32.58 kB / 0.8454 GB, free: 6.996 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.1451, allocations: 104.2 kB / 0.8455 GB, free: 6.895 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.1453, allocations: 95.98 kB / 0.8456 GB, free: 6.801 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.1453, allocations: 16.59 kB / 0.8456 GB, free: 6.785 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.593e-05/0.1453, allocations: 16 kB / 0.8456 GB, free: 6.77 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.216e-05/0.1454, allocations: 36.44 kB / 0.8456 GB, free: 6.734 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.905e-05/0.1455, allocations: 91.59 kB / 0.8457 GB, free: 6.645 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.1457, allocations: 206.1 kB / 0.8459 GB, free: 6.445 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1457, allocations: 4.625 kB / 0.8459 GB, free: 6.441 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1457, allocations: 0 / 0.8459 GB, free: 6.441 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1457, allocations: 0.625 kB / 0.8459 GB, free: 6.441 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.0007176/0.1464, allocations: 494.5 kB / 0.8464 GB, free: 5.914 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1464, allocations: 8.031 kB / 0.8464 GB, free: 5.906 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.545e-05/0.1465, allocations: 25.42 kB / 0.8464 GB, free: 5.883 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.1467, allocations: 183.8 kB / 0.8466 GB, free: 5.676 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.1467, allocations: 12.61 kB / 0.8466 GB, free: 5.664 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.1467, allocations: 20.55 kB / 0.8466 GB, free: 5.645 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.147, allocations: 191 kB / 0.8468 GB, free: 5.441 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.147, allocations: 3.938 kB / 0.8468 GB, free: 5.438 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.147, allocations: 12.44 kB / 0.8468 GB, free: 5.426 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1471, allocations: 4.531 kB / 0.8468 GB, free: 5.422 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.1473, allocations: 143.5 kB / 0.847 GB, free: 5.277 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008854/0.1481, allocations: 490 kB / 0.8474 GB, free: 4.766 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.1485, allocations: 173.3 kB / 0.8476 GB, free: 4.582 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.1486, allocations: 95.22 kB / 0.8477 GB, free: 4.48 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.1486, allocations: 4.609 kB / 0.8477 GB, free: 4.477 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/0.1488, allocations: 225.2 kB / 0.8479 GB, free: 4.227 MB / 474.8 MB Notification: Performance of pre-optimization done (n=20): time 3.046e-06/0.1488, allocations: 0.8125 kB / 0.8479 GB, free: 4.227 MB / 474.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009769/0.1498, allocations: 0.6969 MB / 0.8486 GB, free: 3.469 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.1499, allocations: 133 kB / 0.8487 GB, free: 3.309 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.15, allocations: 219.6 kB / 0.8489 GB, free: 3.086 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.1501, allocations: 33.7 kB / 0.849 GB, free: 3.047 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/0.1501, allocations: 133 kB / 0.8491 GB, free: 2.914 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.1502, allocations: 75.41 kB / 0.8492 GB, free: 2.84 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.772e-05/0.1502, allocations: 58.28 kB / 0.8492 GB, free: 2.777 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.259e-05/0.1503, allocations: 339.3 kB / 0.8496 GB, free: 2.438 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.1504, allocations: 145.6 kB / 0.8497 GB, free: 2.277 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.1506, allocations: 218 kB / 0.8499 GB, free: 2.02 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002498/0.1509, allocations: 285.2 kB / 0.8502 GB, free: 1.703 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1509, allocations: 4.562 kB / 0.8502 GB, free: 1.699 MB / 474.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003637/0.1512, allocations: 386.5 kB / 0.8505 GB, free: 1.293 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.325e-05/0.1513, allocations: 71.33 kB / 0.8506 GB, free: 1.211 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1513, allocations: 4.531 kB / 0.8506 GB, free: 1.207 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.1513, allocations: 4.5 kB / 0.8506 GB, free: 1.203 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.1514, allocations: 48.66 kB / 0.8507 GB, free: 1.156 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.1514, allocations: 7.938 kB / 0.8507 GB, free: 1.148 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.984e-05/0.1515, allocations: 20.55 kB / 0.8507 GB, free: 1.129 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.1515, allocations: 12.59 kB / 0.8507 GB, free: 1.117 MB / 474.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.0001762/0.1517, allocations: 176.8 kB / 0.8509 GB, free: 0.9336 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.1517, allocations: 23.8 kB / 0.8509 GB, free: 0.9102 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.067e-05/0.1518, allocations: 30.7 kB / 0.8509 GB, free: 0.875 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1518, allocations: 0 / 0.8509 GB, free: 0.875 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1518, allocations: 0.5312 kB / 0.8509 GB, free: 0.875 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1518, allocations: 0 / 0.8509 GB, free: 0.875 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005284/0.1523, allocations: 0.5407 MB / 0.8515 GB, free: 296 kB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1523, allocations: 0 / 0.8515 GB, free: 296 kB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.1524, allocations: 36.5 kB / 0.8515 GB, free: 260 kB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1524, allocations: 0.5625 kB / 0.8515 GB, free: 260 kB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.1524, allocations: 8.688 kB / 0.8515 GB, free: 252 kB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1524, allocations: 7.875 kB / 0.8515 GB, free: 244 kB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1524, allocations: 0.7188 kB / 0.8515 GB, free: 244 kB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004704/0.1529, allocations: 497.9 kB / 0.852 GB, free: 15.72 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.962e-05/0.1529, allocations: 24.58 kB / 0.852 GB, free: 15.7 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.153, allocations: 8 kB / 0.852 GB, free: 15.69 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.262e-05/0.1531, allocations: 14.61 kB / 0.852 GB, free: 15.68 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.1531, allocations: 23.91 kB / 0.852 GB, free: 15.65 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.1531, allocations: 8 kB / 0.8521 GB, free: 15.64 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.708e-05/0.1532, allocations: 164.4 kB / 0.8522 GB, free: 15.48 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1532, allocations: 0 / 0.8522 GB, free: 15.48 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001933/0.1534, allocations: 52 kB / 0.8523 GB, free: 15.43 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.0001013/0.1535, allocations: 116 kB / 0.8524 GB, free: 15.31 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003582/0.1539, allocations: 383.1 kB / 0.8527 GB, free: 14.9 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1539, allocations: 3.938 kB / 0.8527 GB, free: 14.89 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.154, allocations: 170.7 kB / 0.8529 GB, free: 14.71 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.1543, allocations: 74.12 kB / 0.853 GB, free: 14.64 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009617/0.1553, allocations: 0.6972 MB / 0.8537 GB, free: 13.98 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.814e-05/0.1554, allocations: 129.6 kB / 0.8538 GB, free: 13.84 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.333e-05/0.1555, allocations: 19.44 kB / 0.8538 GB, free: 13.82 MB / 490.8 MB Notification: Performance of SimCode: time 9.52e-07/0.1555, allocations: 0 / 0.8538 GB, free: 13.82 MB / 490.8 MB Notification: Performance of Templates: time 0.2543/0.4098, allocations: 2.936 MB / 0.8567 GB, free: 29.77 MB / 490.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: 6.5022397711873055]