Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B05A_BloodAndRelatedProducts.B05AA07_Hydroxyethylstarch.Hydroxyethylstarch.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.001001/0.001001, 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.0009643/0.0009643, allocations: 216.4 kB / 23 MB, free: 2.953 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.9726/0.9726, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.788/0.788, allocations: 312.3 MB / 0.6108 GB, free: 97.01 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.B05A_BloodAndRelatedProducts.B05AA07_Hydroxyethylstarch.Hydroxyethylstarch,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B05A_BloodAndRelatedProducts.B05AA07_Hydroxyethylstarch.Hydroxyethylstarch") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B05A_BloodAndRelatedProducts.B05AA07_Hydroxyethylstarch.Hydroxyethylstarch,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B05A_BloodAndRelatedProducts.B05AA07_Hydroxyethylstarch.Hydroxyethylstarch") [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.001293/0.001293, allocations: 73.89 kB / 0.7699 GB, free: 19.65 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1422, allocations: 74 MB / 0.8421 GB, free: 9.789 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B05A_BloodAndRelatedProducts.B05AA07_Hydroxyethylstarch.Hydroxyethylstarch): time 0.003261/0.1455, allocations: 2.302 MB / 0.8444 GB, free: 7.488 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009383/0.1464, allocations: 0.5872 MB / 0.845 GB, free: 6.906 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.1465, allocations: 4.562 kB / 0.845 GB, free: 6.902 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.1467, allocations: 27.72 kB / 0.845 GB, free: 6.875 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.1468, allocations: 76.48 kB / 0.8451 GB, free: 6.801 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.1471, allocations: 56.48 kB / 0.8451 GB, free: 6.746 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004893/0.1475, allocations: 251.2 kB / 0.8454 GB, free: 6.5 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001874/0.1477, allocations: 37.2 kB / 0.8454 GB, free: 6.465 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.1479, allocations: 103.6 kB / 0.8455 GB, free: 6.363 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.1481, allocations: 96.06 kB / 0.8456 GB, free: 6.27 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.1482, allocations: 20.56 kB / 0.8456 GB, free: 6.25 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.166e-05/0.1482, allocations: 16.5 kB / 0.8456 GB, free: 6.234 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.548e-05/0.1482, allocations: 31.86 kB / 0.8456 GB, free: 6.203 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.858e-05/0.1483, allocations: 92.22 kB / 0.8457 GB, free: 6.113 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002602/0.1486, allocations: 203.6 kB / 0.8459 GB, free: 5.914 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1486, allocations: 0 / 0.8459 GB, free: 5.914 MB / 474.8 MB Notification: Performance of FrontEnd: time 3.627e-06/0.1486, allocations: 0.6875 kB / 0.8459 GB, free: 5.914 MB / 474.8 MB Notification: Performance of Transformations before backend: time 9.769e-06/0.1486, allocations: 0 / 0.8459 GB, free: 5.914 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.0008028/0.1494, allocations: 0.4908 MB / 0.8464 GB, free: 5.379 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.1495, allocations: 8.625 kB / 0.8464 GB, free: 5.371 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.827e-05/0.1495, allocations: 25.3 kB / 0.8464 GB, free: 5.348 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.1498, allocations: 183.1 kB / 0.8466 GB, free: 5.141 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.1498, allocations: 13.2 kB / 0.8466 GB, free: 5.129 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.994e-05/0.1498, allocations: 20.52 kB / 0.8467 GB, free: 5.109 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.1501, allocations: 186.9 kB / 0.8468 GB, free: 4.91 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.1501, allocations: 4 kB / 0.8468 GB, free: 4.906 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.1501, allocations: 8.531 kB / 0.8468 GB, free: 4.898 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1501, allocations: 4.625 kB / 0.8468 GB, free: 4.895 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002151/0.1504, allocations: 146.9 kB / 0.847 GB, free: 4.746 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006385/0.151, allocations: 486.9 kB / 0.8474 GB, free: 4.238 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003607/0.1514, allocations: 173.5 kB / 0.8476 GB, free: 4.055 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.1515, allocations: 99.05 kB / 0.8477 GB, free: 3.949 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.1515, allocations: 0.625 kB / 0.8477 GB, free: 3.949 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002708/0.1517, allocations: 229 kB / 0.8479 GB, free: 3.695 MB / 474.8 MB Notification: Performance of pre-optimization done (n=20): time 2.825e-06/0.1518, allocations: 0.5312 kB / 0.8479 GB, free: 3.695 MB / 474.8 MB Notification: Performance of matching and sorting (n=21): time 0.001/0.1528, allocations: 0.6972 MB / 0.8486 GB, free: 2.938 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.1528, allocations: 133 kB / 0.8487 GB, free: 2.777 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.153, allocations: 222.9 kB / 0.8489 GB, free: 2.551 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.153, allocations: 38.38 kB / 0.849 GB, free: 2.508 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.219e-05/0.1531, allocations: 128.5 kB / 0.8491 GB, free: 2.379 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.909e-05/0.1531, allocations: 68.09 kB / 0.8492 GB, free: 2.312 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-05/0.1532, allocations: 62.28 kB / 0.8492 GB, free: 2.246 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.034e-05/0.1533, allocations: 338.8 kB / 0.8496 GB, free: 1.906 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.1534, allocations: 141.6 kB / 0.8497 GB, free: 1.75 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.1536, allocations: 224.9 kB / 0.8499 GB, free: 1.488 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.1538, allocations: 281.9 kB / 0.8502 GB, free: 1.176 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1538, allocations: 0 / 0.8502 GB, free: 1.176 MB / 474.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003692/0.1542, allocations: 389.6 kB / 0.8505 GB, free: 0.7656 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.565e-05/0.1542, allocations: 72.8 kB / 0.8506 GB, free: 0.6836 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.1542, allocations: 0 / 0.8506 GB, free: 0.6836 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1543, allocations: 7.984 kB / 0.8506 GB, free: 0.6758 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.1544, allocations: 50.53 kB / 0.8507 GB, free: 0.6289 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.1544, allocations: 4 kB / 0.8507 GB, free: 0.625 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.327e-05/0.1545, allocations: 19.98 kB / 0.8507 GB, free: 0.6055 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.1545, allocations: 12 kB / 0.8507 GB, free: 0.5938 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.0001829/0.1547, allocations: 181.4 kB / 0.8509 GB, free: 412 kB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.1547, allocations: 27.8 kB / 0.8509 GB, free: 384 kB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.967e-05/0.1548, allocations: 26.92 kB / 0.8509 GB, free: 352 kB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1548, allocations: 4 kB / 0.8509 GB, free: 348 kB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1548, allocations: 0.5625 kB / 0.8509 GB, free: 348 kB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1548, allocations: 0 / 0.8509 GB, free: 348 kB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005447/0.1553, allocations: 0.5369 MB / 0.8515 GB, free: 15.76 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1553, allocations: 4 kB / 0.8515 GB, free: 15.75 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.1554, allocations: 37.84 kB / 0.8515 GB, free: 15.72 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.1554, allocations: 0 / 0.8515 GB, free: 15.72 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.1555, allocations: 8 kB / 0.8515 GB, free: 15.71 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1555, allocations: 7.875 kB / 0.8515 GB, free: 15.7 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1555, allocations: 2.906 kB / 0.8515 GB, free: 15.7 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004768/0.1559, allocations: 496.8 kB / 0.852 GB, free: 15.18 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.115e-05/0.156, allocations: 23.89 kB / 0.852 GB, free: 15.16 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.156, allocations: 8 kB / 0.852 GB, free: 15.15 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.106e-05/0.1561, allocations: 11.98 kB / 0.852 GB, free: 15.14 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.845e-05/0.1562, allocations: 21.09 kB / 0.8521 GB, free: 15.12 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001681/0.1563, allocations: 11.98 kB / 0.8521 GB, free: 15.11 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.746e-05/0.1564, allocations: 156.4 kB / 0.8522 GB, free: 14.96 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1564, allocations: 5.969 kB / 0.8522 GB, free: 14.95 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001895/0.1566, allocations: 52 kB / 0.8523 GB, free: 14.9 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.0001118/0.1567, allocations: 121.1 kB / 0.8524 GB, free: 14.78 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003806/0.1571, allocations: 382.3 kB / 0.8527 GB, free: 14.36 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1571, allocations: 0 / 0.8527 GB, free: 14.36 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.1572, allocations: 170.2 kB / 0.8529 GB, free: 14.18 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.1576, allocations: 69.61 kB / 0.853 GB, free: 14.12 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.1586, allocations: 0.6999 MB / 0.8537 GB, free: 13.45 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.185e-05/0.1587, allocations: 129.6 kB / 0.8538 GB, free: 13.31 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.44e-05/0.1587, allocations: 31.36 kB / 0.8538 GB, free: 13.28 MB / 490.8 MB Notification: Performance of SimCode: time 7.92e-07/0.1587, allocations: 0 / 0.8538 GB, free: 13.28 MB / 490.8 MB Notification: Performance of Templates: time 0.2784/0.4371, allocations: 2.925 MB / 0.8567 GB, free: 28.89 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B05A_BloodAndRelatedProducts.B05AA07_Hydroxyethylstarch.Hydroxyethylstarch.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B05A_BloodAndRelatedProducts.B05AA07_Hydroxyethylstarch.Hydroxyethylstarch.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B05A_BloodAndRelatedProducts.B05AA07_Hydroxyethylstarch.Hydroxyethylstarch.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B05A_BloodAndRelatedProducts.B05AA07_Hydroxyethylstarch.Hydroxyethylstarch.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B05A_BloodAndRelatedProducts.B05AA07_Hydroxyethylstarch.Hydroxyethylstarch.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B05A_BloodAndRelatedProducts.B05AA07_Hydroxyethylstarch.Hydroxyethylstarch > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B05A_BloodAndRelatedProducts.B05AA07_Hydroxyethylstarch.Hydroxyethylstarch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.31355400569737]