Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB.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: 100.4 kB / 19.7 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.001829/0.001829, allocations: 219.5 kB / 23 MB, free: 2.961 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.9395/0.9395, 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.6694/0.6694, allocations: 312.3 MB / 0.6108 GB, free: 97.07 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.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB,tolerance=1e-09,outputFormat="empty",numberOfIntervals=118800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB,tolerance=1e-09,outputFormat="empty",numberOfIntervals=118800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB") [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.001922/0.001922, allocations: 77.22 kB / 0.7699 GB, free: 19.68 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.121, allocations: 73.98 MB / 0.8421 GB, free: 9.836 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB): time 0.002587/0.1236, allocations: 2.306 MB / 0.8444 GB, free: 7.535 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007922/0.1244, allocations: 0.5913 MB / 0.845 GB, free: 6.949 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.412e-05/0.1244, allocations: 0 / 0.845 GB, free: 6.949 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.1246, allocations: 32.28 kB / 0.845 GB, free: 6.918 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.1247, allocations: 76.53 kB / 0.8451 GB, free: 6.844 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.1249, allocations: 44.5 kB / 0.8451 GB, free: 6.801 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000224/0.1251, allocations: 262.7 kB / 0.8454 GB, free: 6.543 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.1252, allocations: 37.09 kB / 0.8454 GB, free: 6.508 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.1254, allocations: 100.3 kB / 0.8455 GB, free: 6.41 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.1255, allocations: 95.48 kB / 0.8456 GB, free: 6.316 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.1256, allocations: 16.62 kB / 0.8456 GB, free: 6.301 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.379e-05/0.1256, allocations: 16.66 kB / 0.8456 GB, free: 6.285 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.267e-05/0.1256, allocations: 39.84 kB / 0.8457 GB, free: 6.246 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.847e-05/0.1257, allocations: 100.1 kB / 0.8457 GB, free: 6.148 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.1259, allocations: 195.2 kB / 0.8459 GB, free: 5.957 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1259, allocations: 0.6875 kB / 0.8459 GB, free: 5.957 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1259, allocations: 0.5938 kB / 0.8459 GB, free: 5.957 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1259, allocations: 3.938 kB / 0.8459 GB, free: 5.953 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.0009304/0.1268, allocations: 494.9 kB / 0.8464 GB, free: 5.426 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1269, allocations: 8.031 kB / 0.8464 GB, free: 5.418 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.1269, allocations: 33.47 kB / 0.8464 GB, free: 5.387 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.1271, allocations: 175.2 kB / 0.8466 GB, free: 5.188 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.1271, allocations: 13.27 kB / 0.8466 GB, free: 5.176 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.706e-05/0.1271, allocations: 27.81 kB / 0.8467 GB, free: 5.148 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.1274, allocations: 187.5 kB / 0.8468 GB, free: 4.949 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.1274, allocations: 3.938 kB / 0.8468 GB, free: 4.945 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.1274, allocations: 4.5 kB / 0.8468 GB, free: 4.941 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1274, allocations: 4.625 kB / 0.8468 GB, free: 4.938 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.1276, allocations: 143.6 kB / 0.847 GB, free: 4.793 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005588/0.1282, allocations: 486.1 kB / 0.8474 GB, free: 4.285 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/0.1285, allocations: 173.5 kB / 0.8476 GB, free: 4.102 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.1286, allocations: 103 kB / 0.8477 GB, free: 3.992 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.807e-06/0.1286, allocations: 0.625 kB / 0.8477 GB, free: 3.992 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002274/0.1289, allocations: 227.8 kB / 0.8479 GB, free: 3.742 MB / 474.8 MB Notification: Performance of pre-optimization done (n=20): time 2.064e-06/0.1289, allocations: 0 / 0.8479 GB, free: 3.742 MB / 474.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009194/0.1298, allocations: 0.6974 MB / 0.8486 GB, free: 2.984 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.1298, allocations: 144.5 kB / 0.8487 GB, free: 2.812 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.13, allocations: 211.5 kB / 0.8489 GB, free: 2.598 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.13, allocations: 34.2 kB / 0.849 GB, free: 2.559 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.1301, allocations: 136.4 kB / 0.8491 GB, free: 2.422 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.1301, allocations: 72.25 kB / 0.8492 GB, free: 2.352 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/0.1302, allocations: 57.64 kB / 0.8492 GB, free: 2.289 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.553e-05/0.1302, allocations: 335.4 kB / 0.8496 GB, free: 1.953 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.1304, allocations: 145.5 kB / 0.8497 GB, free: 1.793 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.1305, allocations: 226.4 kB / 0.8499 GB, free: 1.527 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002457/0.1308, allocations: 283.1 kB / 0.8502 GB, free: 1.211 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1308, allocations: 0 / 0.8502 GB, free: 1.211 MB / 474.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003544/0.1311, allocations: 389.4 kB / 0.8506 GB, free: 0.8047 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.061e-05/0.1312, allocations: 67.34 kB / 0.8506 GB, free: 0.7266 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1312, allocations: 0.75 kB / 0.8506 GB, free: 0.7266 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1312, allocations: 4 kB / 0.8506 GB, free: 0.7227 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.1313, allocations: 48.56 kB / 0.8507 GB, free: 0.6758 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.1313, allocations: 12.42 kB / 0.8507 GB, free: 0.6641 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.237e-05/0.1314, allocations: 20.55 kB / 0.8507 GB, free: 0.6445 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.1314, allocations: 12.56 kB / 0.8507 GB, free: 0.6328 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.00016/0.1316, allocations: 180.4 kB / 0.8509 GB, free: 456 kB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.1316, allocations: 27.8 kB / 0.8509 GB, free: 428 kB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.607e-05/0.1317, allocations: 26.62 kB / 0.8509 GB, free: 396 kB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.1317, allocations: 0.625 kB / 0.8509 GB, free: 396 kB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1317, allocations: 0 / 0.8509 GB, free: 396 kB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1317, allocations: 4.578 kB / 0.8509 GB, free: 392 kB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00051/0.1322, allocations: 0.536 MB / 0.8515 GB, free: 15.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1322, allocations: 0.5625 kB / 0.8515 GB, free: 15.8 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.1323, allocations: 32.61 kB / 0.8515 GB, free: 15.77 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1323, allocations: 3.984 kB / 0.8515 GB, free: 15.77 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.1323, allocations: 8.5 kB / 0.8515 GB, free: 15.76 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1323, allocations: 4.531 kB / 0.8515 GB, free: 15.75 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1323, allocations: 0.5938 kB / 0.8515 GB, free: 15.75 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004504/0.1327, allocations: 0.4902 MB / 0.852 GB, free: 15.23 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.417e-05/0.1328, allocations: 15.86 kB / 0.852 GB, free: 15.21 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.1328, allocations: 13.16 kB / 0.852 GB, free: 15.2 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.162e-05/0.1329, allocations: 19.92 kB / 0.852 GB, free: 15.18 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.432e-05/0.1329, allocations: 21.78 kB / 0.8521 GB, free: 15.16 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.133, allocations: 4 kB / 0.8521 GB, free: 15.16 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.304e-05/0.133, allocations: 164.4 kB / 0.8522 GB, free: 15 MB / 490.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.133, allocations: 0 / 0.8522 GB, free: 15 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001848/0.1332, allocations: 52 kB / 0.8523 GB, free: 14.95 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 9.77e-05/0.1333, allocations: 118.8 kB / 0.8524 GB, free: 14.82 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003491/0.1337, allocations: 384.9 kB / 0.8527 GB, free: 14.41 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1337, allocations: 0 / 0.8527 GB, free: 14.41 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.1338, allocations: 169.8 kB / 0.8529 GB, free: 14.23 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005792/0.1344, allocations: 70.33 kB / 0.853 GB, free: 14.16 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008956/0.1353, allocations: 0.7114 MB / 0.8537 GB, free: 13.5 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.582e-05/0.1354, allocations: 125.6 kB / 0.8538 GB, free: 13.36 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.071e-05/0.1354, allocations: 23.44 kB / 0.8538 GB, free: 13.33 MB / 490.8 MB Notification: Performance of SimCode: time 7.11e-07/0.1354, allocations: 0 / 0.8538 GB, free: 13.33 MB / 490.8 MB Notification: Performance of Templates: time 0.2427/0.3781, allocations: 2.927 MB / 0.8567 GB, free: 28.82 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.99498803447932]