Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB12_Arbekacin.Arbekacin.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.001203/0.001203, allocations: 104.4 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.001089/0.001089, allocations: 215 kB / 23 MB, free: 2.977 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.119/1.119, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.7547/0.7547, allocations: 312.3 MB / 0.6108 GB, free: 97 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.J01G_AminoglycosideAntibacterials.J01GB12_Arbekacin.Arbekacin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=777600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB12_Arbekacin.Arbekacin") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB12_Arbekacin.Arbekacin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=777600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB12_Arbekacin.Arbekacin") [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.001469/0.001469, allocations: 74.92 kB / 0.7699 GB, free: 19.66 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1322, allocations: 73.99 MB / 0.8421 GB, free: 9.789 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB12_Arbekacin.Arbekacin): time 0.002654/0.1348, allocations: 2.29 MB / 0.8444 GB, free: 7.5 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005489/0.1403, allocations: 6.544 MB / 0.8508 GB, free: 0.9531 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.1404, allocations: 0.625 kB / 0.8508 GB, free: 0.9531 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.1405, allocations: 24.22 kB / 0.8508 GB, free: 0.9297 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.1407, allocations: 80.5 kB / 0.8509 GB, free: 0.8516 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.1409, allocations: 48.59 kB / 0.8509 GB, free: 0.8047 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.1412, allocations: 258.7 kB / 0.8512 GB, free: 0.5508 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.1413, allocations: 41.16 kB / 0.8512 GB, free: 0.5117 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.1414, allocations: 95.64 kB / 0.8513 GB, free: 428 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.1416, allocations: 96.02 kB / 0.8514 GB, free: 332 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.1416, allocations: 20.69 kB / 0.8514 GB, free: 312 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.458e-05/0.1416, allocations: 16 kB / 0.8514 GB, free: 296 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.468e-05/0.1417, allocations: 40.44 kB / 0.8515 GB, free: 256 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.761e-05/0.1417, allocations: 96.08 kB / 0.8516 GB, free: 160 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.142, allocations: 199.2 kB / 0.8517 GB, free: 15.96 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.142, allocations: 0.5938 kB / 0.8517 GB, free: 15.96 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.913e-06/0.142, allocations: 4.531 kB / 0.8518 GB, free: 15.96 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.142, allocations: 3.938 kB / 0.8518 GB, free: 15.95 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006474/0.1426, allocations: 492.8 kB / 0.8522 GB, free: 15.43 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1427, allocations: 12.73 kB / 0.8522 GB, free: 15.42 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.1427, allocations: 24.8 kB / 0.8523 GB, free: 15.39 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.1429, allocations: 183.7 kB / 0.8524 GB, free: 15.19 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.1429, allocations: 16.59 kB / 0.8525 GB, free: 15.17 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.1429, allocations: 20.52 kB / 0.8525 GB, free: 15.15 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/0.1432, allocations: 183 kB / 0.8526 GB, free: 14.96 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1432, allocations: 8.469 kB / 0.8527 GB, free: 14.95 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.1432, allocations: 7.984 kB / 0.8527 GB, free: 14.94 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.1432, allocations: 4.594 kB / 0.8527 GB, free: 14.94 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.1434, allocations: 139.5 kB / 0.8528 GB, free: 14.8 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000536/0.1439, allocations: 486.6 kB / 0.8533 GB, free: 14.29 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/0.1443, allocations: 173.4 kB / 0.8534 GB, free: 14.11 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.1444, allocations: 91.05 kB / 0.8535 GB, free: 14.01 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.1444, allocations: 4.719 kB / 0.8535 GB, free: 14 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000237/0.1446, allocations: 229.1 kB / 0.8537 GB, free: 13.75 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.775e-06/0.1446, allocations: 0.6875 kB / 0.8537 GB, free: 13.75 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009334/0.1455, allocations: 0.7006 MB / 0.8544 GB, free: 12.99 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.1456, allocations: 137.1 kB / 0.8546 GB, free: 12.82 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.1458, allocations: 218.9 kB / 0.8548 GB, free: 12.6 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.1458, allocations: 34.45 kB / 0.8548 GB, free: 12.56 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003553/0.1461, allocations: 136.4 kB / 0.8549 GB, free: 12.43 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.1462, allocations: 64.19 kB / 0.855 GB, free: 12.36 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.622e-05/0.1462, allocations: 66.2 kB / 0.855 GB, free: 12.29 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.294/0.4403, allocations: 334.6 kB / 0.8554 GB, free: 30.27 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/0.4405, allocations: 146.7 kB / 0.8555 GB, free: 30.19 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.4407, allocations: 218.8 kB / 0.8557 GB, free: 30.03 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.4409, allocations: 281.6 kB / 0.856 GB, free: 29.87 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4409, allocations: 0 / 0.856 GB, free: 29.87 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004632/0.4414, allocations: 390.5 kB / 0.8564 GB, free: 29.71 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.935e-05/0.4414, allocations: 68.97 kB / 0.8564 GB, free: 29.65 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.4415, allocations: 9.438 kB / 0.8564 GB, free: 29.65 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.4415, allocations: 5.844 kB / 0.8564 GB, free: 29.65 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.4416, allocations: 42.92 kB / 0.8565 GB, free: 29.65 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.4416, allocations: 7.984 kB / 0.8565 GB, free: 29.65 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.4417, allocations: 18.36 kB / 0.8565 GB, free: 29.65 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.4418, allocations: 12.58 kB / 0.8565 GB, free: 29.65 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: 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.0001768/0.4419, allocations: 184.3 kB / 0.8567 GB, free: 29.5 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.442, allocations: 20.05 kB / 0.8567 GB, free: 29.5 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.21e-05/0.442, allocations: 25.47 kB / 0.8567 GB, free: 29.49 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.442, allocations: 1.938 kB / 0.8567 GB, free: 29.49 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.442, allocations: 2.938 kB / 0.8567 GB, free: 29.49 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.442, allocations: 3.281 kB / 0.8567 GB, free: 29.49 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000512/0.4425, allocations: 0.5382 MB / 0.8573 GB, free: 29.2 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.4425, allocations: 0 / 0.8573 GB, free: 29.2 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.4426, allocations: 38.23 kB / 0.8573 GB, free: 29.19 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.4426, allocations: 2.188 kB / 0.8573 GB, free: 29.19 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.4427, allocations: 7.859 kB / 0.8573 GB, free: 29.19 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.4427, allocations: 0 / 0.8573 GB, free: 29.19 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4427, allocations: 0 / 0.8573 GB, free: 29.19 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004481/0.4431, allocations: 500 kB / 0.8578 GB, free: 28.96 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.742e-05/0.4431, allocations: 23.22 kB / 0.8578 GB, free: 28.96 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.4432, allocations: 8.859 kB / 0.8578 GB, free: 28.96 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.438e-05/0.4433, allocations: 19.89 kB / 0.8578 GB, free: 28.96 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.344e-05/0.4433, allocations: 25.55 kB / 0.8579 GB, free: 28.96 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.4433, allocations: 6.406 kB / 0.8579 GB, free: 28.96 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.096e-05/0.4434, allocations: 160.3 kB / 0.858 GB, free: 28.88 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.4434, allocations: 3.938 kB / 0.858 GB, free: 28.88 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001869/0.4436, allocations: 53.69 kB / 0.8581 GB, free: 28.88 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 8.531e-05/0.4437, allocations: 114.6 kB / 0.8582 GB, free: 28.79 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003167/0.444, allocations: 380.5 kB / 0.8586 GB, free: 28.57 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.444, allocations: 1.406 kB / 0.8586 GB, free: 28.57 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.4441, allocations: 173 kB / 0.8587 GB, free: 28.47 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.4444, allocations: 65.17 kB / 0.8588 GB, free: 28.46 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008797/0.4453, allocations: 0.7029 MB / 0.8595 GB, free: 28.16 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.338e-05/0.4454, allocations: 126.3 kB / 0.8596 GB, free: 28.08 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/0.4454, allocations: 24.47 kB / 0.8596 GB, free: 28.07 MB / 490.8 MB Notification: Performance of SimCode: time 1.011e-06/0.4454, allocations: 0.5312 kB / 0.8596 GB, free: 28.07 MB / 490.8 MB Notification: Performance of Templates: time 0.003992/0.4494, allocations: 2.95 MB / 0.8625 GB, free: 27.88 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB12_Arbekacin.Arbekacin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB12_Arbekacin.Arbekacin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB12_Arbekacin.Arbekacin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB12_Arbekacin.Arbekacin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB12_Arbekacin.Arbekacin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB12_Arbekacin.Arbekacin > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB12_Arbekacin.Arbekacin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.141813164576888]