Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline.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.001013/0.001013, allocations: 112.3 kB / 19.71 MB, free: 432 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.0009908/0.0009908, allocations: 213.3 kB / 23 MB, free: 2.969 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.059/1.059, allocations: 230.6 MB / 256.8 MB, free: 9.609 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.7953/0.7953, allocations: 312.3 MB / 0.6108 GB, free: 97.6 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.J01AA15_Omadacycline.Omadacycline,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline") [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.00214/0.00214, allocations: 74.64 kB / 0.7699 GB, free: 20.14 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1766, allocations: 73.99 MB / 0.8422 GB, free: 10.28 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline): time 0.003799/0.1804, allocations: 2.705 MB / 0.8448 GB, free: 7.578 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006998/0.1874, allocations: 6.606 MB / 0.8513 GB, free: 0.9727 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001982/0.1876, allocations: 0 / 0.8513 GB, free: 0.9727 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.1878, allocations: 44.14 kB / 0.8513 GB, free: 0.9297 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000316/0.1881, allocations: 116 kB / 0.8514 GB, free: 0.8164 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.1884, allocations: 76.91 kB / 0.8515 GB, free: 0.7422 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005101/0.189, allocations: 374.8 kB / 0.8519 GB, free: 384 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.1892, allocations: 52.89 kB / 0.8519 GB, free: 332 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.1893, allocations: 144.1 kB / 0.852 GB, free: 188 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002746/0.1896, allocations: 136.1 kB / 0.8522 GB, free: 52 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.878e-05/0.1897, allocations: 24 kB / 0.8522 GB, free: 28 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.053e-05/0.1897, allocations: 24.59 kB / 0.8522 GB, free: 4 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.657e-05/0.1898, allocations: 60.39 kB / 0.8523 GB, free: 15.95 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.1899, allocations: 135.5 kB / 0.8524 GB, free: 15.81 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.1902, allocations: 287.5 kB / 0.8527 GB, free: 15.53 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.1902, allocations: 4 kB / 0.8527 GB, free: 15.53 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1902, allocations: 0.625 kB / 0.8527 GB, free: 15.53 MB / 490.8 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.1902, allocations: 0 / 0.8527 GB, free: 15.53 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.0009499/0.1912, allocations: 0.6009 MB / 0.8533 GB, free: 14.88 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.1912, allocations: 15.97 kB / 0.8533 GB, free: 14.86 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.959e-05/0.1913, allocations: 37.42 kB / 0.8533 GB, free: 14.83 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.1916, allocations: 209.1 kB / 0.8535 GB, free: 14.6 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.1916, allocations: 17.31 kB / 0.8535 GB, free: 14.58 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.044e-05/0.1916, allocations: 28.62 kB / 0.8536 GB, free: 14.55 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003861/0.192, allocations: 284.6 kB / 0.8538 GB, free: 14.25 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.192, allocations: 3.953 kB / 0.8538 GB, free: 14.25 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.1921, allocations: 8.562 kB / 0.8538 GB, free: 14.24 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.1921, allocations: 8.5 kB / 0.8539 GB, free: 14.23 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003086/0.1924, allocations: 229 kB / 0.8541 GB, free: 14 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009345/0.1933, allocations: 0.6776 MB / 0.8547 GB, free: 13.28 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004525/0.1938, allocations: 241.5 kB / 0.855 GB, free: 13.02 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.1939, allocations: 149 kB / 0.8551 GB, free: 12.86 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.194, allocations: 0.5 kB / 0.8551 GB, free: 12.86 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003866/0.1943, allocations: 360 kB / 0.8555 GB, free: 12.46 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 3.076e-06/0.1943, allocations: 0 / 0.8555 GB, free: 12.46 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.3758/0.5702, allocations: 1.079 MB / 0.8565 GB, free: 21.3 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/0.5702, allocations: 214.6 kB / 0.8567 GB, free: 21.05 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.5705, allocations: 250.7 kB / 0.8569 GB, free: 20.95 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.5705, allocations: 35.02 kB / 0.857 GB, free: 20.91 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.686e-05/0.5706, allocations: 163.4 kB / 0.8571 GB, free: 20.82 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.915e-05/0.5706, allocations: 109.4 kB / 0.8572 GB, free: 20.76 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-05/0.5707, allocations: 73.78 kB / 0.8573 GB, free: 20.74 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.065e-05/0.5708, allocations: 345.8 kB / 0.8576 GB, free: 20.43 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.571, allocations: 215.2 kB / 0.8578 GB, free: 20.32 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.5712, allocations: 312.9 kB / 0.8581 GB, free: 20.09 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003935/0.5716, allocations: 433.4 kB / 0.8586 GB, free: 19.84 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.5716, allocations: 0.7812 kB / 0.8586 GB, free: 19.84 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005766/0.5722, allocations: 0.5513 MB / 0.8591 GB, free: 19.59 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.42e-05/0.5722, allocations: 91.19 kB / 0.8592 GB, free: 19.5 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.5722, allocations: 8.844 kB / 0.8592 GB, free: 19.5 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.5723, allocations: 1.844 kB / 0.8592 GB, free: 19.5 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.5725, allocations: 80.22 kB / 0.8593 GB, free: 19.5 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.5725, allocations: 7.047 kB / 0.8593 GB, free: 19.5 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.5726, allocations: 21.38 kB / 0.8593 GB, free: 19.5 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.5726, allocations: 21.02 kB / 0.8593 GB, free: 19.5 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.0002455/0.5729, allocations: 229.8 kB / 0.8595 GB, free: 19.32 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/0.5729, allocations: 33.12 kB / 0.8596 GB, free: 19.3 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.072e-05/0.573, allocations: 33.44 kB / 0.8596 GB, free: 19.29 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.573, allocations: 2.844 kB / 0.8596 GB, free: 19.29 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.573, allocations: 0 / 0.8596 GB, free: 19.29 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.573, allocations: 4.219 kB / 0.8596 GB, free: 19.29 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008852/0.5739, allocations: 0.7685 MB / 0.8604 GB, free: 18.93 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.5739, allocations: 0.5625 kB / 0.8604 GB, free: 18.93 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.5741, allocations: 52.86 kB / 0.8604 GB, free: 18.93 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.5741, allocations: 0 / 0.8604 GB, free: 18.93 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.5741, allocations: 13.23 kB / 0.8604 GB, free: 18.93 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.5741, allocations: 0 / 0.8604 GB, free: 18.93 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.5741, allocations: 7.062 kB / 0.8604 GB, free: 18.93 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007172/0.5748, allocations: 0.7258 MB / 0.8611 GB, free: 18.58 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.5748, allocations: 25.56 kB / 0.8612 GB, free: 18.57 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/0.5749, allocations: 10.27 kB / 0.8612 GB, free: 18.57 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.949e-05/0.575, allocations: 19.8 kB / 0.8612 GB, free: 18.57 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.5751, allocations: 35.48 kB / 0.8612 GB, free: 18.57 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.5751, allocations: 12.52 kB / 0.8612 GB, free: 18.57 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001478/0.5753, allocations: 176.4 kB / 0.8614 GB, free: 18.48 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.5753, allocations: 3.938 kB / 0.8614 GB, free: 18.48 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002749/0.5755, allocations: 79.97 kB / 0.8615 GB, free: 18.48 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.0001511/0.5757, allocations: 127 kB / 0.8616 GB, free: 18.4 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005783/0.5763, allocations: 0.5653 MB / 0.8622 GB, free: 18.05 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5763, allocations: 4.438 kB / 0.8622 GB, free: 18.05 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002309/0.5765, allocations: 298.3 kB / 0.8624 GB, free: 17.86 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.5769, allocations: 91.09 kB / 0.8625 GB, free: 17.86 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.5783, allocations: 0.9675 MB / 0.8635 GB, free: 17.39 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.5784, allocations: 159.8 kB / 0.8636 GB, free: 17.3 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.563e-05/0.5785, allocations: 28.61 kB / 0.8637 GB, free: 17.3 MB / 490.8 MB Notification: Performance of SimCode: time 7.92e-07/0.5785, allocations: 3.375 kB / 0.8637 GB, free: 17.3 MB / 490.8 MB Notification: Performance of Templates: time 0.00773/0.5862, allocations: 4.02 MB / 0.8676 GB, free: 16.93 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.621891748160124]