Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB01_Cefalexin.Cefalexin_Prados2014_base.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.0007748/0.0007748, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008995/0.001674, allocations: 443.9 kB / 10.36 MB, free: 332 kB / 10.45 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.0007129/0.0007129, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008664/0.001579, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.015/1.015, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09665/1.111, allocations: 53.67 MB / 243.3 MB, free: 15.58 MB / 250.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.7279/0.7279, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0258/0.7538, allocations: 21.04 MB / 0.5432 GB, free: 31.95 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.J01DB01_Cefalexin.Cefalexin_Prados2014_base,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB01_Cefalexin.Cefalexin_Prados2014_base") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB01_Cefalexin.Cefalexin_Prados2014_base,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB01_Cefalexin.Cefalexin_Prados2014_base") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033e-05/1.172e-05, allocations: 6.312 kB / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB01_Cefalexin.Cefalexin_Prados2014_base): time 0.002352/0.002364, allocations: 3.297 MB / 0.5478 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003794/0.006158, allocations: 6.793 MB / 0.5544 GB, free: 20.42 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.006282, allocations: 7.938 kB / 0.5544 GB, free: 20.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.156e-05/0.006354, allocations: 39.62 kB / 0.5545 GB, free: 20.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.00653, allocations: 134.9 kB / 0.5546 GB, free: 20.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.006678, allocations: 79.91 kB / 0.5547 GB, free: 20.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.006908, allocations: 433.8 kB / 0.5551 GB, free: 19.74 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.007038, allocations: 77.27 kB / 0.5552 GB, free: 19.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.007243, allocations: 270.5 kB / 0.5554 GB, free: 19.4 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.007402, allocations: 127.6 kB / 0.5555 GB, free: 19.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.007433, allocations: 32 kB / 0.5556 GB, free: 19.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.804e-05/0.007462, allocations: 32 kB / 0.5556 GB, free: 19.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.136e-05/0.007493, allocations: 47.81 kB / 0.5557 GB, free: 19.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.83e-05/0.007571, allocations: 107.8 kB / 0.5558 GB, free: 19.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.007761, allocations: 219.2 kB / 0.556 GB, free: 18.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/0.007771, allocations: 0 / 0.556 GB, free: 18.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.007772, allocations: 4 kB / 0.556 GB, free: 18.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.007786, allocations: 0 / 0.556 GB, free: 18.84 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006323/0.008418, allocations: 0.6473 MB / 0.5566 GB, free: 18.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.008448, allocations: 15.89 kB / 0.5566 GB, free: 18.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.261e-05/0.008501, allocations: 36.91 kB / 0.5566 GB, free: 18.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.008664, allocations: 193.5 kB / 0.5568 GB, free: 17.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.008684, allocations: 20.88 kB / 0.5569 GB, free: 17.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.008714, allocations: 32.31 kB / 0.5569 GB, free: 17.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.008902, allocations: 246.1 kB / 0.5571 GB, free: 17.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.008914, allocations: 0 / 0.5571 GB, free: 17.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.008927, allocations: 12 kB / 0.5571 GB, free: 17.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.008934, allocations: 4 kB / 0.5571 GB, free: 17.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.009038, allocations: 138.6 kB / 0.5573 GB, free: 17.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/0.009515, allocations: 481.2 kB / 0.5577 GB, free: 16.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.009706, allocations: 174.1 kB / 0.5579 GB, free: 16.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.28e-05/0.009759, allocations: 111.1 kB / 0.558 GB, free: 16.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.009769, allocations: 11.94 kB / 0.558 GB, free: 16.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.009943, allocations: 323.4 kB / 0.5583 GB, free: 16.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.402e-06/0.009945, allocations: 0 / 0.5583 GB, free: 16.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007082/0.01065, allocations: 0.8307 MB / 0.5591 GB, free: 15.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.0107, allocations: 277 kB / 0.5594 GB, free: 14.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2491/0.2598, allocations: 227.7 kB / 0.5596 GB, free: 79.92 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.237e-05/0.2599, allocations: 36.14 kB / 0.5596 GB, free: 79.89 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.2599, allocations: 142.7 kB / 0.5598 GB, free: 79.81 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.985e-05/0.26, allocations: 119.5 kB / 0.5599 GB, free: 79.77 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.91e-05/0.2601, allocations: 73.75 kB / 0.56 GB, free: 79.75 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.971e-05/0.2601, allocations: 346.1 kB / 0.5603 GB, free: 79.44 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.2603, allocations: 149.7 kB / 0.5604 GB, free: 79.34 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.2604, allocations: 250.9 kB / 0.5607 GB, free: 79.11 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.2606, allocations: 336.9 kB / 0.561 GB, free: 78.86 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2606, allocations: 1.094 kB / 0.561 GB, free: 78.86 MB / 410.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003289/0.2609, allocations: 393.2 kB / 0.5614 GB, free: 78.64 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/0.261, allocations: 92.23 kB / 0.5615 GB, free: 78.54 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.261, allocations: 4.781 kB / 0.5615 GB, free: 78.54 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.261, allocations: 4.062 kB / 0.5615 GB, free: 78.54 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/0.2613, allocations: 109.9 kB / 0.5616 GB, free: 78.54 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.2613, allocations: 7.938 kB / 0.5616 GB, free: 78.54 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.2615, allocations: 22.84 kB / 0.5616 GB, free: 78.54 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.2615, allocations: 15.98 kB / 0.5616 GB, free: 78.54 MB / 410.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * 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.0001432/0.2617, allocations: 210.2 kB / 0.5618 GB, free: 78.37 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/0.2617, allocations: 39.45 kB / 0.5619 GB, free: 78.36 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.158e-05/0.2617, allocations: 36.28 kB / 0.5619 GB, free: 78.36 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2617, allocations: 2.781 kB / 0.5619 GB, free: 78.36 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2617, allocations: 1.062 kB / 0.5619 GB, free: 78.36 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.047e-05/0.2618, allocations: 31.75 kB / 0.5619 GB, free: 78.34 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.2618, allocations: 11.75 kB / 0.5619 GB, free: 78.34 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/0.2619, allocations: 15.02 kB / 0.562 GB, free: 78.34 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.553e-05/0.262, allocations: 17.67 kB / 0.562 GB, free: 78.34 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/0.2621, allocations: 25.62 kB / 0.562 GB, free: 78.34 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003758/0.2624, allocations: 399.6 kB / 0.5624 GB, free: 78.11 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003919/0.2628, allocations: 0.6031 MB / 0.563 GB, free: 77.71 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001176/0.2629, allocations: 150.5 kB / 0.5631 GB, free: 77.64 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.827e-05/0.263, allocations: 80.69 kB / 0.5632 GB, free: 77.62 MB / 410.8 MB Notification: Performance of Backend: time 2.91e-07/0.263, allocations: 0.9688 kB / 0.5632 GB, free: 77.62 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004325/0.2635, allocations: 490 kB / 0.5637 GB, free: 77.29 MB / 410.8 MB Notification: Performance of SimCode: time 0.01259/0.2761, allocations: 1.359 MB / 0.565 GB, free: 76.33 MB / 410.8 MB Notification: Performance of Templates: time 0.008797/0.2849, allocations: 5.567 MB / 0.5704 GB, free: 75.14 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB01_Cefalexin.Cefalexin_Prados2014_base.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB01_Cefalexin.Cefalexin_Prados2014_base.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB01_Cefalexin.Cefalexin_Prados2014_base.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB01_Cefalexin.Cefalexin_Prados2014_base.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB01_Cefalexin.Cefalexin_Prados2014_base.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB01_Cefalexin.Cefalexin_Prados2014_base -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB01_Cefalexin.Cefalexin_Prados2014_base.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6655131513252854]