Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA13_Eravacycline.Eravacycline.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.00101/0.00101, allocations: 104.3 kB / 19.71 MB, free: 440 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.001096/0.001096, allocations: 217.8 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.086/1.086, 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.8605/0.8605, allocations: 312.3 MB / 0.6108 GB, free: 97.15 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.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA13_Eravacycline.Eravacycline,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA13_Eravacycline.Eravacycline") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA13_Eravacycline.Eravacycline,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA13_Eravacycline.Eravacycline") [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.001485/0.001485, allocations: 73.61 kB / 0.7699 GB, free: 19.61 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1508, allocations: 74 MB / 0.8422 GB, free: 9.754 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA13_Eravacycline.Eravacycline): time 0.003421/0.1542, allocations: 2.717 MB / 0.8449 GB, free: 7.039 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006075/0.1603, allocations: 6.606 MB / 0.8513 GB, free: 444 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.1604, allocations: 8.594 kB / 0.8513 GB, free: 436 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.1606, allocations: 31.64 kB / 0.8514 GB, free: 404 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.1609, allocations: 120.3 kB / 0.8515 GB, free: 284 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.1611, allocations: 77.09 kB / 0.8515 GB, free: 208 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003471/0.1615, allocations: 374.2 kB / 0.8519 GB, free: 15.84 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.1617, allocations: 49.62 kB / 0.8519 GB, free: 15.79 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.1618, allocations: 147.4 kB / 0.8521 GB, free: 15.64 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000254/0.1621, allocations: 139.9 kB / 0.8522 GB, free: 15.51 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.638e-05/0.1621, allocations: 28.69 kB / 0.8522 GB, free: 15.48 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.819e-05/0.1622, allocations: 24 kB / 0.8523 GB, free: 15.46 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.739e-05/0.1622, allocations: 56.38 kB / 0.8523 GB, free: 15.4 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.1623, allocations: 140.1 kB / 0.8525 GB, free: 15.27 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.1626, allocations: 286.8 kB / 0.8527 GB, free: 14.98 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.1626, allocations: 0.5 kB / 0.8527 GB, free: 14.98 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.825e-06/0.1626, allocations: 0 / 0.8527 GB, free: 14.98 MB / 490.8 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.1626, allocations: 0.5938 kB / 0.8527 GB, free: 14.98 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0009175/0.1636, allocations: 0.5979 MB / 0.8533 GB, free: 14.34 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.1636, allocations: 8.75 kB / 0.8533 GB, free: 14.33 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.375e-05/0.1637, allocations: 33.31 kB / 0.8534 GB, free: 14.3 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.1639, allocations: 213.1 kB / 0.8536 GB, free: 14.06 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.164, allocations: 13.38 kB / 0.8536 GB, free: 14.05 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.484e-05/0.164, allocations: 31.92 kB / 0.8536 GB, free: 14.02 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.1644, allocations: 288.6 kB / 0.8539 GB, free: 13.71 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.1644, allocations: 4.453 kB / 0.8539 GB, free: 13.71 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.1644, allocations: 12.62 kB / 0.8539 GB, free: 13.7 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.1644, allocations: 4 kB / 0.8539 GB, free: 13.7 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002952/0.1647, allocations: 229.5 kB / 0.8541 GB, free: 13.46 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008755/0.1656, allocations: 0.6777 MB / 0.8548 GB, free: 12.74 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003989/0.166, allocations: 239.3 kB / 0.855 GB, free: 12.48 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.1661, allocations: 149.2 kB / 0.8551 GB, free: 12.32 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.1661, allocations: 4 kB / 0.8552 GB, free: 12.32 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3252/0.4913, allocations: 354.2 kB / 0.8555 GB, free: 30.51 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 3.947e-06/0.4913, allocations: 0.875 kB / 0.8555 GB, free: 30.51 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001571/0.4929, allocations: 1.075 MB / 0.8565 GB, free: 30.03 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.4929, allocations: 222.8 kB / 0.8568 GB, free: 29.78 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.4931, allocations: 255.5 kB / 0.857 GB, free: 29.67 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.4932, allocations: 35.45 kB / 0.857 GB, free: 29.64 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.942e-05/0.4932, allocations: 157.5 kB / 0.8572 GB, free: 29.54 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.767e-05/0.4933, allocations: 113.4 kB / 0.8573 GB, free: 29.48 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.725e-05/0.4934, allocations: 77.33 kB / 0.8574 GB, free: 29.46 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.444e-05/0.4934, allocations: 342.8 kB / 0.8577 GB, free: 29.14 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.4936, allocations: 209.5 kB / 0.8579 GB, free: 29.04 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.4939, allocations: 317 kB / 0.8582 GB, free: 28.81 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003481/0.4942, allocations: 440.2 kB / 0.8586 GB, free: 28.55 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4942, allocations: 0 / 0.8586 GB, free: 28.55 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004818/0.4947, allocations: 0.5478 MB / 0.8591 GB, free: 28.3 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.699e-05/0.4947, allocations: 96.02 kB / 0.8592 GB, free: 28.21 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.4947, allocations: 3.562 kB / 0.8592 GB, free: 28.21 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.4948, allocations: 6.656 kB / 0.8592 GB, free: 28.21 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.495, allocations: 83.67 kB / 0.8593 GB, free: 28.2 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.495, allocations: 3.906 kB / 0.8593 GB, free: 28.2 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.4951, allocations: 21.7 kB / 0.8594 GB, free: 28.2 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.4951, allocations: 17.31 kB / 0.8594 GB, free: 28.2 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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 3 * 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.0001907/0.4953, allocations: 226.5 kB / 0.8596 GB, free: 28.01 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.4953, allocations: 29.28 kB / 0.8596 GB, free: 28 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.255e-05/0.4954, allocations: 33.44 kB / 0.8596 GB, free: 27.98 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.4954, allocations: 4.766 kB / 0.8596 GB, free: 27.98 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.4954, allocations: 0 / 0.8596 GB, free: 27.98 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.4954, allocations: 5.203 kB / 0.8597 GB, free: 27.98 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007051/0.4961, allocations: 0.7618 MB / 0.8604 GB, free: 27.62 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.4961, allocations: 0.7188 kB / 0.8604 GB, free: 27.62 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.4962, allocations: 60.44 kB / 0.8605 GB, free: 27.62 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.4962, allocations: 3.625 kB / 0.8605 GB, free: 27.62 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.4963, allocations: 9.719 kB / 0.8605 GB, free: 27.62 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4963, allocations: 3.562 kB / 0.8605 GB, free: 27.62 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4963, allocations: 4.5 kB / 0.8605 GB, free: 27.61 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006207/0.4969, allocations: 0.7286 MB / 0.8612 GB, free: 27.26 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.409e-05/0.4969, allocations: 21.75 kB / 0.8612 GB, free: 27.25 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.497, allocations: 15.75 kB / 0.8612 GB, free: 27.25 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.781e-05/0.4971, allocations: 17.97 kB / 0.8612 GB, free: 27.25 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.065e-05/0.4971, allocations: 29.31 kB / 0.8613 GB, free: 27.24 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.885e-05/0.4972, allocations: 15.8 kB / 0.8613 GB, free: 27.24 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001174/0.4973, allocations: 178.5 kB / 0.8615 GB, free: 27.16 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.4973, allocations: 0.5 kB / 0.8615 GB, free: 27.16 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002274/0.4975, allocations: 87.53 kB / 0.8615 GB, free: 27.16 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0001001/0.4976, allocations: 126.5 kB / 0.8617 GB, free: 27.07 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000466/0.4981, allocations: 0.5583 MB / 0.8622 GB, free: 26.71 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4981, allocations: 0.5625 kB / 0.8622 GB, free: 26.71 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.4983, allocations: 302.5 kB / 0.8625 GB, free: 26.52 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.4987, allocations: 85.08 kB / 0.8626 GB, free: 26.52 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.4998, allocations: 0.9682 MB / 0.8635 GB, free: 26.03 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.5, allocations: 159.1 kB / 0.8637 GB, free: 25.95 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.925e-05/0.5, allocations: 34.45 kB / 0.8637 GB, free: 25.94 MB / 490.8 MB Notification: Performance of SimCode: time 8.01e-07/0.5, allocations: 0.9844 kB / 0.8637 GB, free: 25.94 MB / 490.8 MB Notification: Performance of Templates: time 0.006948/0.507, allocations: 4.01 MB / 0.8676 GB, free: 25.58 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA13_Eravacycline.Eravacycline.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA13_Eravacycline.Eravacycline.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA13_Eravacycline.Eravacycline.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA13_Eravacycline.Eravacycline.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA13_Eravacycline.Eravacycline.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA13_Eravacycline.Eravacycline > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA13_Eravacycline.Eravacycline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.739832998253405]