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.001947/0.001947, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 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.002011/0.002011, allocations: 211.6 kB / 22.25 MB, free: 3.57 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.807/1.807, allocations: 230.6 MB / 256 MB, free: 9.633 MB / 202.7 MB " [Timeout remaining time 178] 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 1.497/1.497, allocations: 316.7 MB / 0.6144 GB, free: 92.94 MB / 410.7 MB " [Timeout remaining time 178] 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.005737/0.005737, allocations: 73.3 kB / 0.775 GB, free: 14.77 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.2017, allocations: 73.99 MB / 0.8473 GB, free: 4.906 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline): time 0.004919/0.2066, allocations: 2.714 MB / 0.8499 GB, free: 2.191 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.402/0.6086, allocations: 6.599 MB / 0.8564 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003656/0.6089, allocations: 0 / 0.8564 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.6091, allocations: 42.98 kB / 0.8564 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003503/0.6095, allocations: 126.3 kB / 0.8565 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.6098, allocations: 68.67 kB / 0.8566 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004352/0.6102, allocations: 375 kB / 0.857 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.6104, allocations: 53.27 kB / 0.857 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/0.6106, allocations: 146.4 kB / 0.8571 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003044/0.6109, allocations: 146.7 kB / 0.8573 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 5.248e-05/0.611, allocations: 22.19 kB / 0.8573 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.372e-05/0.611, allocations: 26.16 kB / 0.8573 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.579e-05/0.6111, allocations: 45.45 kB / 0.8574 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.6113, allocations: 141.8 kB / 0.8575 GB, free: 21.77 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004173/0.6117, allocations: 285.9 kB / 0.8578 GB, free: 21.72 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.6117, allocations: 0.6562 kB / 0.8578 GB, free: 21.72 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.904e-06/0.6117, allocations: 0.8125 kB / 0.8578 GB, free: 21.72 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.6117, allocations: 0 / 0.8578 GB, free: 21.72 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.001131/0.6128, allocations: 0.6051 MB / 0.8584 GB, free: 21.25 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.6129, allocations: 11.19 kB / 0.8584 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.782e-05/0.613, allocations: 32.28 kB / 0.8584 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.6133, allocations: 211.8 kB / 0.8586 GB, free: 21.07 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.6133, allocations: 16.41 kB / 0.8586 GB, free: 21.07 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.825e-05/0.6133, allocations: 25.91 kB / 0.8587 GB, free: 21.07 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005036/0.6138, allocations: 290.2 kB / 0.8589 GB, free: 20.95 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.6139, allocations: 7.391 kB / 0.8589 GB, free: 20.95 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.6139, allocations: 6.75 kB / 0.8589 GB, free: 20.95 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.6139, allocations: 2.875 kB / 0.8589 GB, free: 20.95 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004494/0.6143, allocations: 238.7 kB / 0.8592 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.6155, allocations: 0.6771 MB / 0.8598 GB, free: 20.53 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000524/0.616, allocations: 232.8 kB / 0.8601 GB, free: 20.44 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.6163, allocations: 152.9 kB / 0.8602 GB, free: 20.37 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.6163, allocations: 3.281 kB / 0.8602 GB, free: 20.37 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004318/0.6167, allocations: 362.6 kB / 0.8606 GB, free: 20.13 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 2.034e-06/0.6167, allocations: 0 / 0.8606 GB, free: 20.13 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001927/0.6186, allocations: 1.081 MB / 0.8616 GB, free: 19.59 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/0.6187, allocations: 214.6 kB / 0.8618 GB, free: 19.34 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.6189, allocations: 254.1 kB / 0.8621 GB, free: 19.23 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.619, allocations: 36.36 kB / 0.8621 GB, free: 19.2 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.562e-05/0.6191, allocations: 158.1 kB / 0.8622 GB, free: 19.09 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.144e-05/0.6191, allocations: 115.9 kB / 0.8624 GB, free: 19.02 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.6192, allocations: 73.22 kB / 0.8624 GB, free: 19 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.64e-05/0.6193, allocations: 340.7 kB / 0.8627 GB, free: 18.69 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.6196, allocations: 212.7 kB / 0.863 GB, free: 18.59 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002864/0.6199, allocations: 311.3 kB / 0.8632 GB, free: 18.36 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005548/0.6204, allocations: 431.8 kB / 0.8637 GB, free: 18.09 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6204, allocations: 1.812 kB / 0.8637 GB, free: 18.09 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008351/0.6213, allocations: 0.5494 MB / 0.8642 GB, free: 17.83 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.189e-05/0.6214, allocations: 92.42 kB / 0.8643 GB, free: 17.74 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.6214, allocations: 3.656 kB / 0.8643 GB, free: 17.74 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.969e-05/0.6214, allocations: 4.625 kB / 0.8643 GB, free: 17.74 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/0.6218, allocations: 81.72 kB / 0.8644 GB, free: 17.73 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.6218, allocations: 6.219 kB / 0.8644 GB, free: 17.73 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.6221, allocations: 25.91 kB / 0.8644 GB, free: 17.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.6221, allocations: 21.89 kB / 0.8644 GB, free: 17.72 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.0002756/0.6224, allocations: 228 kB / 0.8646 GB, free: 17.54 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.095e-05/0.6224, allocations: 32.72 kB / 0.8647 GB, free: 17.52 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.972e-05/0.6225, allocations: 32.83 kB / 0.8647 GB, free: 17.52 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.6225, allocations: 5.266 kB / 0.8647 GB, free: 17.52 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.6225, allocations: 0 / 0.8647 GB, free: 17.52 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.6225, allocations: 6.125 kB / 0.8647 GB, free: 17.51 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.6237, allocations: 0.7621 MB / 0.8655 GB, free: 17.14 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.6237, allocations: 1.75 kB / 0.8655 GB, free: 17.14 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002811/0.624, allocations: 52.17 kB / 0.8655 GB, free: 17.14 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.624, allocations: 2.688 kB / 0.8655 GB, free: 17.14 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.624, allocations: 13.92 kB / 0.8655 GB, free: 17.14 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.624, allocations: 2.219 kB / 0.8655 GB, free: 17.14 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.624, allocations: 2.203 kB / 0.8655 GB, free: 17.14 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.6251, allocations: 0.7293 MB / 0.8662 GB, free: 16.79 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.6252, allocations: 22.28 kB / 0.8663 GB, free: 16.77 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.117e-05/0.6252, allocations: 20.11 kB / 0.8663 GB, free: 16.77 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.6254, allocations: 15.61 kB / 0.8663 GB, free: 16.77 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.6256, allocations: 31 kB / 0.8663 GB, free: 16.77 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.6256, allocations: 12.94 kB / 0.8663 GB, free: 16.77 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0002003/0.6258, allocations: 176.7 kB / 0.8665 GB, free: 16.69 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.6258, allocations: 0 / 0.8665 GB, free: 16.69 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0004204/0.6262, allocations: 88.98 kB / 0.8666 GB, free: 16.69 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.0001564/0.6264, allocations: 124.4 kB / 0.8667 GB, free: 16.59 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0008093/0.6272, allocations: 0.5682 MB / 0.8673 GB, free: 16.23 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.6272, allocations: 1.375 kB / 0.8673 GB, free: 16.23 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003643/0.6275, allocations: 300 kB / 0.8676 GB, free: 16.04 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005833/0.6281, allocations: 99.16 kB / 0.8676 GB, free: 16.03 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.6298, allocations: 0.9324 MB / 0.8686 GB, free: 15.56 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.63, allocations: 161.2 kB / 0.8687 GB, free: 15.48 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001568/0.6301, allocations: 34.95 kB / 0.8687 GB, free: 15.48 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.685e-05/0.6302, allocations: 29.88 kB / 0.8688 GB, free: 15.47 MB / 490.8 MB Notification: Performance of SimCode: time 5.61e-07/0.6302, allocations: 0 / 0.8688 GB, free: 15.47 MB / 490.8 MB Notification: Performance of Templates: time 0.01258/0.6428, allocations: 4.985 MB / 0.8736 GB, free: 14.98 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.024689215002581]