Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Roberts2015_reference.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.0009435/0.0009435, allocations: 104.4 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.0009915/0.0009915, allocations: 215.5 kB / 23.01 MB, free: 2.934 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.9555/0.9555, 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.7752/0.7752, allocations: 312.3 MB / 0.6108 GB, free: 97.49 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.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Roberts2015_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Roberts2015_reference") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Roberts2015_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Roberts2015_reference") [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.002525/0.002525, allocations: 79.31 kB / 0.7699 GB, free: 20.15 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1526, allocations: 73.98 MB / 0.8421 GB, free: 10.31 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Roberts2015_reference): time 0.00309/0.1557, allocations: 2.29 MB / 0.8443 GB, free: 8.02 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.1569, allocations: 0.5914 MB / 0.8449 GB, free: 7.434 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.157, allocations: 4 kB / 0.8449 GB, free: 7.43 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.1572, allocations: 24.22 kB / 0.8449 GB, free: 7.406 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.1574, allocations: 88.56 kB / 0.845 GB, free: 7.32 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.1576, allocations: 48.59 kB / 0.8451 GB, free: 7.273 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002582/0.1579, allocations: 251.4 kB / 0.8453 GB, free: 7.027 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.158, allocations: 36.56 kB / 0.8453 GB, free: 6.992 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.1582, allocations: 96.3 kB / 0.8454 GB, free: 6.898 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.1584, allocations: 104.1 kB / 0.8455 GB, free: 6.797 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.072e-05/0.1584, allocations: 16 kB / 0.8456 GB, free: 6.781 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.214e-05/0.1585, allocations: 20.75 kB / 0.8456 GB, free: 6.762 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.539e-05/0.1585, allocations: 31.86 kB / 0.8456 GB, free: 6.73 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.636e-05/0.1586, allocations: 88.25 kB / 0.8457 GB, free: 6.645 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.1588, allocations: 199.2 kB / 0.8459 GB, free: 6.449 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1588, allocations: 4.438 kB / 0.8459 GB, free: 6.445 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.895e-06/0.1588, allocations: 0.625 kB / 0.8459 GB, free: 6.445 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1588, allocations: 0 / 0.8459 GB, free: 6.445 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.0007719/0.1596, allocations: 0.4965 MB / 0.8464 GB, free: 5.906 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.1597, allocations: 8.562 kB / 0.8464 GB, free: 5.898 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.564e-05/0.1597, allocations: 25.48 kB / 0.8464 GB, free: 5.875 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.16, allocations: 179.1 kB / 0.8466 GB, free: 5.672 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.16, allocations: 9.234 kB / 0.8466 GB, free: 5.664 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.16, allocations: 23.89 kB / 0.8466 GB, free: 5.641 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.1603, allocations: 191.7 kB / 0.8468 GB, free: 5.438 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1603, allocations: 0 / 0.8468 GB, free: 5.438 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.1603, allocations: 8.625 kB / 0.8468 GB, free: 5.43 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.1603, allocations: 0 / 0.8468 GB, free: 5.43 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002101/0.1605, allocations: 155.4 kB / 0.8469 GB, free: 5.273 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008421/0.1614, allocations: 486.4 kB / 0.8474 GB, free: 4.766 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003571/0.1617, allocations: 177.3 kB / 0.8476 GB, free: 4.578 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.1618, allocations: 95.14 kB / 0.8477 GB, free: 4.477 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.1619, allocations: 8.5 kB / 0.8477 GB, free: 4.469 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002634/0.1621, allocations: 221.7 kB / 0.8479 GB, free: 4.223 MB / 474.8 MB Notification: Performance of pre-optimization done (n=20): time 2.575e-06/0.1621, allocations: 0 / 0.8479 GB, free: 4.223 MB / 474.8 MB Notification: Performance of matching and sorting (n=21): time 0.001017/0.1631, allocations: 0.6963 MB / 0.8486 GB, free: 3.465 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.133e-05/0.1632, allocations: 137.1 kB / 0.8487 GB, free: 3.301 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.1634, allocations: 215.5 kB / 0.8489 GB, free: 3.082 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.1634, allocations: 33.69 kB / 0.8489 GB, free: 3.043 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.139e-05/0.1635, allocations: 133.2 kB / 0.8491 GB, free: 2.91 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.954e-05/0.1635, allocations: 75.41 kB / 0.8491 GB, free: 2.836 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.525e-05/0.1636, allocations: 58.38 kB / 0.8492 GB, free: 2.773 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 9.267e-05/0.1637, allocations: 338.8 kB / 0.8495 GB, free: 2.434 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.1638, allocations: 142.2 kB / 0.8496 GB, free: 2.277 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.164, allocations: 225.8 kB / 0.8499 GB, free: 2.012 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.1643, allocations: 280.9 kB / 0.8501 GB, free: 1.699 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1643, allocations: 0.625 kB / 0.8501 GB, free: 1.699 MB / 474.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003928/0.1647, allocations: 386.3 kB / 0.8505 GB, free: 1.293 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.948e-05/0.1647, allocations: 67.33 kB / 0.8506 GB, free: 1.215 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.1647, allocations: 4.75 kB / 0.8506 GB, free: 1.211 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.1648, allocations: 4 kB / 0.8506 GB, free: 1.207 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.1649, allocations: 52.5 kB / 0.8506 GB, free: 1.156 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.1649, allocations: 4.5 kB / 0.8506 GB, free: 1.152 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.634e-05/0.165, allocations: 20.58 kB / 0.8506 GB, free: 1.133 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.165, allocations: 12.69 kB / 0.8507 GB, free: 1.121 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.0001925/0.1652, allocations: 181.9 kB / 0.8508 GB, free: 0.9297 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.1652, allocations: 28.3 kB / 0.8509 GB, free: 0.9023 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.222e-05/0.1653, allocations: 21.95 kB / 0.8509 GB, free: 0.875 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1653, allocations: 4.594 kB / 0.8509 GB, free: 0.8711 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1653, allocations: 4.688 kB / 0.8509 GB, free: 0.8672 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1653, allocations: 0 / 0.8509 GB, free: 0.8672 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005326/0.1658, allocations: 0.5327 MB / 0.8514 GB, free: 296 kB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1658, allocations: 0 / 0.8514 GB, free: 296 kB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.1659, allocations: 44.62 kB / 0.8514 GB, free: 252 kB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1659, allocations: 0.625 kB / 0.8514 GB, free: 252 kB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.166, allocations: 4 kB / 0.8515 GB, free: 248 kB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.802e-05/0.166, allocations: 4.531 kB / 0.8515 GB, free: 244 kB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.166, allocations: 0.625 kB / 0.8515 GB, free: 244 kB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000506/0.1665, allocations: 498.1 kB / 0.8519 GB, free: 15.72 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.424e-05/0.1665, allocations: 23.89 kB / 0.852 GB, free: 15.7 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.1666, allocations: 8.562 kB / 0.852 GB, free: 15.69 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.559e-05/0.1666, allocations: 16.58 kB / 0.852 GB, free: 15.67 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.21e-05/0.1667, allocations: 16.72 kB / 0.852 GB, free: 15.66 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.1667, allocations: 11.98 kB / 0.852 GB, free: 15.64 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001134/0.1668, allocations: 160.9 kB / 0.8522 GB, free: 15.49 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.1668, allocations: 0 / 0.8522 GB, free: 15.49 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002206/0.1671, allocations: 56.69 kB / 0.8522 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.0001212/0.1672, allocations: 120 kB / 0.8523 GB, free: 15.3 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003944/0.1676, allocations: 383 kB / 0.8527 GB, free: 14.89 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1676, allocations: 0 / 0.8527 GB, free: 14.89 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.1677, allocations: 173.6 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.0003425/0.1681, allocations: 80.19 kB / 0.8529 GB, free: 14.63 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.1691, allocations: 0.697 MB / 0.8536 GB, free: 13.98 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.597e-05/0.1692, allocations: 129.5 kB / 0.8537 GB, free: 13.84 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.497e-05/0.1692, allocations: 19.44 kB / 0.8538 GB, free: 13.82 MB / 490.8 MB Notification: Performance of SimCode: time 8.41e-07/0.1692, allocations: 0 / 0.8538 GB, free: 13.82 MB / 490.8 MB Notification: Performance of Templates: time 0.3001/0.4694, allocations: 2.935 MB / 0.8566 GB, free: 29.77 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Roberts2015_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Roberts2015_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Roberts2015_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Roberts2015_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Roberts2015_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Roberts2015_reference > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Roberts2015_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.241830722428858]