Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam.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.00162/0.00162, allocations: 92.5 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001292/0.001292, allocations: 169.8 kB / 23.21 MB, free: 1.332 MB / 18.57 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.05/1.05, allocations: 177.1 MB / 203.5 MB, free: 5.699 MB / 186.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.7219/0.7219, allocations: 291.1 MB / 0.5382 GB, free: 51.82 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.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 3.938 kB / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.507e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam): time 0.002404/0.002429, allocations: 2.705 MB / 0.7 GB, free: 7.613 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.003613/0.006042, allocations: 6.615 MB / 0.7065 GB, free: 0.9883 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.054e-05/0.006132, allocations: 4 kB / 0.7065 GB, free: 0.9844 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.006243, allocations: 39.58 kB / 0.7065 GB, free: 0.9453 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001733/0.006417, allocations: 127 kB / 0.7066 GB, free: 0.8203 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.006595, allocations: 67.89 kB / 0.7067 GB, free: 0.7539 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.006806, allocations: 393.9 kB / 0.7071 GB, free: 376 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.006931, allocations: 64.81 kB / 0.7071 GB, free: 316 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.007063, allocations: 207.5 kB / 0.7073 GB, free: 108 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.007249, allocations: 119.6 kB / 0.7074 GB, free: 15.99 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.007282, allocations: 24 kB / 0.7075 GB, free: 15.96 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.869e-05/0.007311, allocations: 24 kB / 0.7075 GB, free: 15.94 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 3.81e-05/0.007349, allocations: 51.77 kB / 0.7075 GB, free: 15.89 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 9.016e-05/0.007439, allocations: 127.7 kB / 0.7077 GB, free: 15.77 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.007677, allocations: 287.1 kB / 0.7079 GB, free: 15.48 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.007679, allocations: 0 / 0.7079 GB, free: 15.48 MB / 426.8 MB Notification: Performance of FrontEnd: time 9.42e-07/0.00768, allocations: 0 / 0.7079 GB, free: 15.48 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.007685, allocations: 0 / 0.7079 GB, free: 15.48 MB / 426.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.0007004/0.008385, allocations: 0.5924 MB / 0.7085 GB, free: 14.84 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.008419, allocations: 8.031 kB / 0.7085 GB, free: 14.83 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.68e-05/0.008476, allocations: 36.75 kB / 0.7086 GB, free: 14.8 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.008683, allocations: 216.7 kB / 0.7088 GB, free: 14.56 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.0087, allocations: 16.69 kB / 0.7088 GB, free: 14.54 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.008734, allocations: 24.38 kB / 0.7088 GB, free: 14.52 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003069/0.009041, allocations: 292.7 kB / 0.7091 GB, free: 14.21 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.009057, allocations: 3.953 kB / 0.7091 GB, free: 14.21 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.009074, allocations: 8 kB / 0.7091 GB, free: 14.2 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.00908, allocations: 4 kB / 0.7091 GB, free: 14.2 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002685/0.009348, allocations: 236.5 kB / 0.7093 GB, free: 13.95 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007449/0.01009, allocations: 0.6718 MB / 0.71 GB, free: 13.24 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.01045, allocations: 238 kB / 0.7102 GB, free: 12.98 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.01059, allocations: 156.4 kB / 0.7104 GB, free: 12.82 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.0106, allocations: 4 kB / 0.7104 GB, free: 12.81 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002815/0.01088, allocations: 361.1 kB / 0.7107 GB, free: 12.41 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.553e-06/0.01088, allocations: 0 / 0.7107 GB, free: 12.41 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001203/0.01208, allocations: 1.085 MB / 0.7118 GB, free: 11.24 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.589e-05/0.01216, allocations: 221.6 kB / 0.712 GB, free: 10.97 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.01232, allocations: 241.9 kB / 0.7122 GB, free: 10.73 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.01234, allocations: 37.7 kB / 0.7122 GB, free: 10.69 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.606e-05/0.01242, allocations: 156.8 kB / 0.7124 GB, free: 10.53 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.424e-05/0.01247, allocations: 115.1 kB / 0.7125 GB, free: 10.41 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.01258, allocations: 70.19 kB / 0.7126 GB, free: 10.34 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 7.565e-05/0.01266, allocations: 350.7 kB / 0.7129 GB, free: 9.984 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.01284, allocations: 211.9 kB / 0.7131 GB, free: 9.758 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.01304, allocations: 311.2 kB / 0.7134 GB, free: 9.391 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003242/0.01336, allocations: 435 kB / 0.7138 GB, free: 8.898 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01336, allocations: 0 / 0.7138 GB, free: 8.898 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005444/0.01391, allocations: 0.5538 MB / 0.7144 GB, free: 8.301 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.998e-05/0.01395, allocations: 85.11 kB / 0.7144 GB, free: 8.199 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01395, allocations: 3.984 kB / 0.7144 GB, free: 8.195 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.01397, allocations: 8 kB / 0.7144 GB, free: 8.188 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.01413, allocations: 75.89 kB / 0.7145 GB, free: 8.113 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.01413, allocations: 7.938 kB / 0.7145 GB, free: 8.105 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.01424, allocations: 23.98 kB / 0.7146 GB, free: 8.082 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.01426, allocations: 12 kB / 0.7146 GB, free: 8.07 MB / 426.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.0001714/0.01443, allocations: 235.2 kB / 0.7148 GB, free: 7.82 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.01446, allocations: 31.81 kB / 0.7148 GB, free: 7.789 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/0.01449, allocations: 34.95 kB / 0.7149 GB, free: 7.754 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.0145, allocations: 4 kB / 0.7149 GB, free: 7.75 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.0145, allocations: 0 / 0.7149 GB, free: 7.75 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.0145, allocations: 3.984 kB / 0.7149 GB, free: 7.746 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006409/0.01515, allocations: 0.76 MB / 0.7156 GB, free: 6.926 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01515, allocations: 0 / 0.7156 GB, free: 6.926 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.01528, allocations: 51.91 kB / 0.7157 GB, free: 6.875 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.01529, allocations: 7.984 kB / 0.7157 GB, free: 6.867 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.0153, allocations: 8 kB / 0.7157 GB, free: 6.859 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.0153, allocations: 3.938 kB / 0.7157 GB, free: 6.855 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.01531, allocations: 3.938 kB / 0.7157 GB, free: 6.852 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005931/0.0159, allocations: 0.723 MB / 0.7164 GB, free: 6.07 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.215e-05/0.01593, allocations: 31.8 kB / 0.7164 GB, free: 6.039 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.01597, allocations: 12.06 kB / 0.7164 GB, free: 6.027 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.575e-05/0.01606, allocations: 19.98 kB / 0.7164 GB, free: 6.008 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.362e-05/0.01615, allocations: 31.88 kB / 0.7165 GB, free: 5.977 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.01616, allocations: 15.94 kB / 0.7165 GB, free: 5.961 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001164/0.01628, allocations: 177.2 kB / 0.7167 GB, free: 5.789 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01628, allocations: 0 / 0.7167 GB, free: 5.789 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.00022/0.0165, allocations: 84 kB / 0.7167 GB, free: 5.707 MB / 426.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.0001229/0.01662, allocations: 134.9 kB / 0.7169 GB, free: 5.57 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004772/0.0171, allocations: 0.557 MB / 0.7174 GB, free: 4.945 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.0171, allocations: 0 / 0.7174 GB, free: 4.945 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003464/0.01745, allocations: 305.5 kB / 0.7177 GB, free: 4.613 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.01776, allocations: 85.23 kB / 0.7178 GB, free: 4.531 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008925/0.01865, allocations: 0.8252 MB / 0.7186 GB, free: 3.664 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.326e-05/0.01875, allocations: 160.3 kB / 0.7187 GB, free: 3.484 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.156e-05/0.01882, allocations: 36.48 kB / 0.7188 GB, free: 3.449 MB / 426.8 MB Notification: Performance of SimCode: time 4.81e-07/0.01882, allocations: 0 / 0.7188 GB, free: 3.449 MB / 426.8 MB Notification: Performance of Templates: time 0.1801/0.1989, allocations: 4.018 MB / 0.7227 GB, free: 36.77 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.849180994555354]