Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam.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.001548/0.001548, allocations: 108.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.001797/0.001797, allocations: 220.4 kB / 23 MB, free: 2.957 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.118/1.118, allocations: 230.6 MB / 256.8 MB, free: 9.629 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.7934/0.7934, allocations: 312.3 MB / 0.6108 GB, free: 97.64 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.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam") [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.001601/0.001601, allocations: 85.89 kB / 0.7699 GB, free: 20.18 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1397, allocations: 73.99 MB / 0.8421 GB, free: 10.32 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam): time 0.003092/0.1428, allocations: 2.305 MB / 0.8444 GB, free: 8.012 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005591/0.1484, allocations: 6.529 MB / 0.8508 GB, free: 1.48 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.936e-05/0.1485, allocations: 4.688 kB / 0.8508 GB, free: 1.477 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.1486, allocations: 23.72 kB / 0.8508 GB, free: 1.453 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001909/0.1488, allocations: 88.62 kB / 0.8509 GB, free: 1.367 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.149, allocations: 48.66 kB / 0.8509 GB, free: 1.32 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000245/0.1493, allocations: 250.7 kB / 0.8512 GB, free: 1.074 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.1494, allocations: 49.17 kB / 0.8512 GB, free: 1.027 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.1495, allocations: 88.28 kB / 0.8513 GB, free: 0.9414 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.1497, allocations: 103.5 kB / 0.8514 GB, free: 0.8398 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.000331/0.15, allocations: 16.59 kB / 0.8514 GB, free: 0.8242 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.819e-05/0.1501, allocations: 20.62 kB / 0.8514 GB, free: 0.8047 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.644e-05/0.1501, allocations: 35.8 kB / 0.8515 GB, free: 0.7695 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.867e-05/0.1502, allocations: 92.27 kB / 0.8516 GB, free: 0.6797 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.1504, allocations: 195.2 kB / 0.8517 GB, free: 500 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1504, allocations: 0.5 kB / 0.8517 GB, free: 500 kB / 474.8 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1504, allocations: 0.625 kB / 0.8517 GB, free: 500 kB / 474.8 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1504, allocations: 0 / 0.8517 GB, free: 500 kB / 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.0006947/0.1511, allocations: 0.4906 MB / 0.8522 GB, free: 15.95 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.1511, allocations: 8.625 kB / 0.8522 GB, free: 15.95 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.632e-05/0.1512, allocations: 29.48 kB / 0.8523 GB, free: 15.92 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.1514, allocations: 183.1 kB / 0.8524 GB, free: 15.71 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.1514, allocations: 9.234 kB / 0.8524 GB, free: 15.7 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.1514, allocations: 27.88 kB / 0.8525 GB, free: 15.68 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.1517, allocations: 191 kB / 0.8527 GB, free: 15.47 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1517, allocations: 4.562 kB / 0.8527 GB, free: 15.47 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.1517, allocations: 8.594 kB / 0.8527 GB, free: 15.46 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.1517, allocations: 4 kB / 0.8527 GB, free: 15.46 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.1519, allocations: 144 kB / 0.8528 GB, free: 15.31 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005881/0.1525, allocations: 482 kB / 0.8533 GB, free: 14.81 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003454/0.1529, allocations: 177.3 kB / 0.8534 GB, free: 14.62 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.153, allocations: 99.08 kB / 0.8535 GB, free: 14.52 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.153, allocations: 4.594 kB / 0.8535 GB, free: 14.51 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002467/0.1532, allocations: 221.2 kB / 0.8537 GB, free: 14.27 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.363e-06/0.1532, allocations: 0.5625 kB / 0.8537 GB, free: 14.27 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009636/0.1542, allocations: 0.701 MB / 0.8544 GB, free: 13.5 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.1543, allocations: 132.5 kB / 0.8546 GB, free: 13.34 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.1544, allocations: 223.5 kB / 0.8548 GB, free: 13.12 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.1545, allocations: 34.33 kB / 0.8548 GB, free: 13.08 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.03e-05/0.1545, allocations: 128.5 kB / 0.8549 GB, free: 12.95 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.1546, allocations: 72.03 kB / 0.855 GB, free: 12.88 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.887e-05/0.1546, allocations: 61.59 kB / 0.8551 GB, free: 12.81 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.907e-05/0.1547, allocations: 339.3 kB / 0.8554 GB, free: 12.47 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.1549, allocations: 145.6 kB / 0.8555 GB, free: 12.31 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.155, allocations: 222 kB / 0.8557 GB, free: 12.05 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3115/0.4665, allocations: 281.4 kB / 0.856 GB, free: 30.34 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4665, allocations: 1.594 kB / 0.856 GB, free: 30.34 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004401/0.467, allocations: 389.2 kB / 0.8564 GB, free: 30.18 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.673e-05/0.467, allocations: 64.23 kB / 0.8564 GB, free: 30.12 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.467, allocations: 6.328 kB / 0.8564 GB, free: 30.12 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.467, allocations: 1.375 kB / 0.8564 GB, free: 30.12 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.4672, allocations: 53.86 kB / 0.8565 GB, free: 30.12 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.4672, allocations: 2.844 kB / 0.8565 GB, free: 30.12 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.4673, allocations: 20.11 kB / 0.8565 GB, free: 30.12 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.4673, allocations: 13.19 kB / 0.8565 GB, free: 30.12 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.0001775/0.4675, allocations: 171.9 kB / 0.8567 GB, free: 29.98 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.4675, allocations: 25.95 kB / 0.8567 GB, free: 29.98 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.771e-05/0.4675, allocations: 23.44 kB / 0.8567 GB, free: 29.97 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.4676, allocations: 5.719 kB / 0.8567 GB, free: 29.97 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.4676, allocations: 0 / 0.8567 GB, free: 29.97 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4676, allocations: 4.188 kB / 0.8567 GB, free: 29.97 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005064/0.4681, allocations: 0.538 MB / 0.8573 GB, free: 29.67 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.4681, allocations: 0 / 0.8573 GB, free: 29.67 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.4682, allocations: 34.11 kB / 0.8573 GB, free: 29.67 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4682, allocations: 0 / 0.8573 GB, free: 29.67 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.4682, allocations: 11.47 kB / 0.8573 GB, free: 29.67 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.4682, allocations: 7.531 kB / 0.8573 GB, free: 29.67 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4682, allocations: 0 / 0.8573 GB, free: 29.67 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004067/0.4686, allocations: 0.4975 MB / 0.8578 GB, free: 29.44 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.617e-05/0.4686, allocations: 16.62 kB / 0.8578 GB, free: 29.44 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.4687, allocations: 6.062 kB / 0.8578 GB, free: 29.44 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.417e-05/0.4687, allocations: 12.73 kB / 0.8578 GB, free: 29.44 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.927e-05/0.4688, allocations: 27.14 kB / 0.8579 GB, free: 29.44 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.4688, allocations: 10.64 kB / 0.8579 GB, free: 29.44 MB / 490.8 MB Notification: Performance of sorting global known variables: time 8.501e-05/0.4689, allocations: 158.5 kB / 0.858 GB, free: 29.37 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.4689, allocations: 0 / 0.858 GB, free: 29.37 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001986/0.4691, allocations: 56.78 kB / 0.8581 GB, free: 29.37 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.475e-05/0.4692, allocations: 114.5 kB / 0.8582 GB, free: 29.28 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003233/0.4695, allocations: 380.7 kB / 0.8586 GB, free: 29.06 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4695, allocations: 0.7188 kB / 0.8586 GB, free: 29.06 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.4696, allocations: 171.4 kB / 0.8587 GB, free: 28.96 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.47, allocations: 70.45 kB / 0.8588 GB, free: 28.96 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009069/0.4709, allocations: 0.7066 MB / 0.8595 GB, free: 28.66 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.822e-05/0.4709, allocations: 127.8 kB / 0.8596 GB, free: 28.58 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/0.471, allocations: 21.31 kB / 0.8596 GB, free: 28.57 MB / 490.8 MB Notification: Performance of SimCode: time 1.072e-06/0.471, allocations: 0 / 0.8596 GB, free: 28.57 MB / 490.8 MB Notification: Performance of Templates: time 0.004189/0.4752, allocations: 2.948 MB / 0.8625 GB, free: 28.36 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DC07_Cefotiam.Cefotiam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.535921244882047]