Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DI02_CeftarolineFosamil.CeftarolineFosamil.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.001213/0.001213, allocations: 92.52 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.004414/0.004414, allocations: 165.9 kB / 23.21 MB, free: 1.328 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.028/1.028, allocations: 177.1 MB / 203.5 MB, free: 5.715 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.783/0.783, allocations: 291.2 MB / 0.5382 GB, free: 51.78 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.J01DI02_CeftarolineFosamil.CeftarolineFosamil,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DI02_CeftarolineFosamil.CeftarolineFosamil") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DI02_CeftarolineFosamil.CeftarolineFosamil,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DI02_CeftarolineFosamil.CeftarolineFosamil") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.776e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.33 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DI02_CeftarolineFosamil.CeftarolineFosamil): time 0.002416/0.002444, allocations: 2.702 MB / 0.7 GB, free: 7.609 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004308/0.006751, allocations: 6.619 MB / 0.7065 GB, free: 0.9805 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/0.006932, allocations: 4 kB / 0.7065 GB, free: 0.9766 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.007071, allocations: 35.58 kB / 0.7065 GB, free: 0.9414 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.007304, allocations: 127 kB / 0.7067 GB, free: 0.8164 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.007532, allocations: 75.83 kB / 0.7067 GB, free: 0.7422 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.007769, allocations: 393.9 kB / 0.7071 GB, free: 364 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.007918, allocations: 60.81 kB / 0.7072 GB, free: 308 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.008069, allocations: 203.5 kB / 0.7074 GB, free: 104 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.008273, allocations: 119.7 kB / 0.7075 GB, free: 15.98 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.662e-05/0.00831, allocations: 24 kB / 0.7075 GB, free: 15.96 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.121e-05/0.008341, allocations: 24 kB / 0.7075 GB, free: 15.93 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.219e-05/0.008383, allocations: 55.7 kB / 0.7076 GB, free: 15.88 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 9.462e-05/0.008478, allocations: 119.8 kB / 0.7077 GB, free: 15.76 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.008737, allocations: 291.1 kB / 0.708 GB, free: 15.48 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.008741, allocations: 0 / 0.708 GB, free: 15.48 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.054e-06/0.008743, allocations: 0 / 0.708 GB, free: 15.48 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.008749, allocations: 0 / 0.708 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.000776/0.009525, allocations: 0.5925 MB / 0.7085 GB, free: 14.83 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.009565, allocations: 12.03 kB / 0.7086 GB, free: 14.82 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.855e-05/0.009624, allocations: 36.75 kB / 0.7086 GB, free: 14.79 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.009858, allocations: 216.6 kB / 0.7088 GB, free: 14.55 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.009878, allocations: 16.75 kB / 0.7088 GB, free: 14.54 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003529/0.01023, allocations: 20.38 kB / 0.7088 GB, free: 14.52 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004371/0.01067, allocations: 296.5 kB / 0.7091 GB, free: 14.21 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.01068, allocations: 3.953 kB / 0.7091 GB, free: 14.2 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.0107, allocations: 12 kB / 0.7091 GB, free: 14.19 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.01071, allocations: 4 kB / 0.7091 GB, free: 14.19 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004188/0.01113, allocations: 236.4 kB / 0.7094 GB, free: 13.94 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008104/0.01194, allocations: 0.6679 MB / 0.71 GB, free: 13.23 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004329/0.01237, allocations: 250 kB / 0.7102 GB, free: 12.96 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.01251, allocations: 148.5 kB / 0.7104 GB, free: 12.8 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.01252, allocations: 3.938 kB / 0.7104 GB, free: 12.8 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003035/0.01283, allocations: 366.1 kB / 0.7107 GB, free: 12.39 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.823e-06/0.01283, allocations: 0 / 0.7107 GB, free: 12.39 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001349/0.01418, allocations: 1.085 MB / 0.7118 GB, free: 11.22 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/0.01425, allocations: 217.6 kB / 0.712 GB, free: 10.96 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.01442, allocations: 245.9 kB / 0.7122 GB, free: 10.71 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.01444, allocations: 37.7 kB / 0.7123 GB, free: 10.67 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.504e-05/0.01452, allocations: 156.8 kB / 0.7124 GB, free: 10.51 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.579e-05/0.01457, allocations: 115 kB / 0.7125 GB, free: 10.4 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.397e-05/0.01465, allocations: 74.2 kB / 0.7126 GB, free: 10.32 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.197e-05/0.01473, allocations: 342.7 kB / 0.7129 GB, free: 9.973 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.01491, allocations: 211.9 kB / 0.7131 GB, free: 9.746 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.01512, allocations: 315.1 kB / 0.7134 GB, free: 9.375 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.01545, allocations: 431.1 kB / 0.7138 GB, free: 8.887 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01545, allocations: 0 / 0.7138 GB, free: 8.887 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004852/0.01594, allocations: 0.5538 MB / 0.7144 GB, free: 8.289 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.658e-05/0.01598, allocations: 91.28 kB / 0.7145 GB, free: 8.184 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.01599, allocations: 4 kB / 0.7145 GB, free: 8.18 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.01601, allocations: 4 kB / 0.7145 GB, free: 8.176 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.01619, allocations: 79.83 kB / 0.7146 GB, free: 8.098 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.0162, allocations: 8 kB / 0.7146 GB, free: 8.09 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.01631, allocations: 19.98 kB / 0.7146 GB, free: 8.07 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.01633, allocations: 20 kB / 0.7146 GB, free: 8.051 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.0001944/0.01653, allocations: 223.2 kB / 0.7148 GB, free: 7.812 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.01656, allocations: 35.8 kB / 0.7149 GB, free: 7.777 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.858e-05/0.01659, allocations: 30.91 kB / 0.7149 GB, free: 7.746 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.0166, allocations: 4 kB / 0.7149 GB, free: 7.742 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.0166, allocations: 0 / 0.7149 GB, free: 7.742 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.01661, allocations: 3.984 kB / 0.7149 GB, free: 7.738 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009409/0.01755, allocations: 0.7639 MB / 0.7156 GB, free: 6.914 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.01755, allocations: 4 kB / 0.7156 GB, free: 6.91 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.0177, allocations: 55.89 kB / 0.7157 GB, free: 6.855 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.0177, allocations: 0 / 0.7157 GB, free: 6.855 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.01772, allocations: 12 kB / 0.7157 GB, free: 6.844 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.01772, allocations: 4 kB / 0.7157 GB, free: 6.84 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.01773, allocations: 7.938 kB / 0.7157 GB, free: 6.832 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005967/0.01832, allocations: 0.7152 MB / 0.7164 GB, free: 6.059 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.01836, allocations: 35.86 kB / 0.7164 GB, free: 6.023 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.01839, allocations: 8 kB / 0.7165 GB, free: 6.016 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.573e-05/0.01849, allocations: 19.98 kB / 0.7165 GB, free: 5.996 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.495e-05/0.01856, allocations: 31.88 kB / 0.7165 GB, free: 5.965 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.01858, allocations: 12 kB / 0.7165 GB, free: 5.953 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001158/0.0187, allocations: 181.2 kB / 0.7167 GB, free: 5.777 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.0187, allocations: 0 / 0.7167 GB, free: 5.777 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002397/0.01894, allocations: 84 kB / 0.7168 GB, free: 5.695 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.0001339/0.01907, allocations: 135.9 kB / 0.7169 GB, free: 5.559 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004716/0.01954, allocations: 0.5605 MB / 0.7174 GB, free: 4.934 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01954, allocations: 3.938 kB / 0.7175 GB, free: 4.93 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.01975, allocations: 298.1 kB / 0.7177 GB, free: 4.602 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.0201, allocations: 85.23 kB / 0.7178 GB, free: 4.52 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.02113, allocations: 0.8242 MB / 0.7186 GB, free: 3.652 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.421e-05/0.02123, allocations: 156.3 kB / 0.7188 GB, free: 3.477 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.349e-05/0.0213, allocations: 36.48 kB / 0.7188 GB, free: 3.441 MB / 426.8 MB Notification: Performance of SimCode: time 6.61e-07/0.0213, allocations: 0 / 0.7188 GB, free: 3.441 MB / 426.8 MB Notification: Performance of Templates: time 0.1862/0.2075, allocations: 4.017 MB / 0.7227 GB, free: 36.86 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DI02_CeftarolineFosamil.CeftarolineFosamil.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DI02_CeftarolineFosamil.CeftarolineFosamil.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DI02_CeftarolineFosamil.CeftarolineFosamil.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DI02_CeftarolineFosamil.CeftarolineFosamil.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DI02_CeftarolineFosamil.CeftarolineFosamil.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DI02_CeftarolineFosamil.CeftarolineFosamil > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DI02_CeftarolineFosamil.CeftarolineFosamil.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.938971816562116]